From 9cf24c64cadf92651146efdc28cd9c4dec1d85de Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Mon, 13 Apr 2026 10:08:05 -0700 Subject: [PATCH 001/114] un-ignore service source tag in snapshot tests --- .gitlab/services.yml | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/services.yml b/.gitlab/services.yml index 4f6a8971129..7583ce350bc 100644 --- a/.gitlab/services.yml +++ b/.gitlab/services.yml @@ -25,7 +25,7 @@ DD_POOL_TRACE_CHECK_FAILURES: true DD_DISABLE_ERROR_RESPONSES: true ENABLED_CHECKS: trace_content_length,trace_stall,meta_tracer_version_header,trace_count_header,trace_peer_service,trace_dd_service - SNAPSHOT_IGNORED_ATTRS: span_id,trace_id,parent_id,duration,start,metrics.system.pid,metrics.system.process_id,metrics.process_id,meta.runtime-id,meta._dd.p.tid,meta.pathway.hash,metrics._dd.tracer_kr,meta._dd.parent_id,meta.kafka.cluster_id,meta._dd.git.repository_url,meta._dd.svc_src + SNAPSHOT_IGNORED_ATTRS: span_id,trace_id,parent_id,duration,start,metrics.system.pid,metrics.system.process_id,metrics.process_id,meta.runtime-id,meta._dd.p.tid,meta.pathway.hash,metrics._dd.tracer_kr,meta._dd.parent_id,meta.kafka.cluster_id,meta._dd.git.repository_url VCR_PROVIDER_MAP: azure_openai=https://llmobs-test-resource.openai.azure.com/ mongo: name: registry.ddbuild.io/images/mirror/mongo:6.0.5 diff --git a/docker-compose.yml b/docker-compose.yml index 960e994e0d6..ff28cd10594 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -136,7 +136,7 @@ services: - DD_POOL_TRACE_CHECK_FAILURES=true - DD_DISABLE_ERROR_RESPONSES=true - ENABLED_CHECKS=trace_content_length,trace_stall,meta_tracer_version_header,trace_count_header,trace_peer_service,trace_dd_service - - SNAPSHOT_IGNORED_ATTRS=span_id,trace_id,parent_id,duration,start,metrics.system.pid,metrics.system.process_id,metrics.process_id,meta.runtime-id,meta._dd.p.tid,meta.pathway.hash,metrics._dd.tracer_kr,meta._dd.parent_id,meta.kafka.cluster_id,meta._dd.git.repository_url,meta._dd.svc_src + - SNAPSHOT_IGNORED_ATTRS=span_id,trace_id,parent_id,duration,start,metrics.system.pid,metrics.system.process_id,metrics.process_id,meta.runtime-id,meta._dd.p.tid,meta.pathway.hash,metrics._dd.tracer_kr,meta._dd.parent_id,meta.kafka.cluster_id,meta._dd.git.repository_url vertica: image: vertica/vertica-ce From cb3b890c171bfa2f2d3f5aac48aff84b3b2e820f Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Mon, 13 Apr 2026 11:11:43 -0700 Subject: [PATCH 002/114] update flask snapshots --- ...atch_403[flask_appsec_good_rules_env].json | 24 +++--- ..._403[flask_appsec_good_rules_env]_220.json | 24 +++--- ...403_json[flask_appsec_good_rules_env].json | 24 +++--- ...json[flask_appsec_good_rules_env]_220.json | 24 +++--- ..._osspawn[flask_appsec_good_rules_env].json | 70 +++++++++------- ...pawn[flask_appsec_good_rules_env]_220.json | 65 ++++++++------- ...ossystem[flask_appsec_good_rules_env].json | 65 ++++++++------- ...stem[flask_appsec_good_rules_env]_220.json | 60 ++++++++------ ...enoshell[flask_appsec_good_rules_env].json | 77 ++++++++++-------- ...hell[flask_appsec_good_rules_env]_220.json | 72 ++++++++++------- ...ateshell[flask_appsec_good_rules_env].json | 77 ++++++++++-------- ...hell[flask_appsec_good_rules_env]_220.json | 72 ++++++++++------- ...200_json[flask_appsec_good_rules_env].json | 60 ++++++++------ ...json[flask_appsec_good_rules_env]_220.json | 55 +++++++------ ...403_json[flask_appsec_good_rules_env].json | 80 +++++++++++-------- ...json[flask_appsec_good_rules_env]_220.json | 75 +++++++++-------- ...hot.test_flask_200[flask_default_env].json | 71 ++++++++-------- ...test_flask_200[flask_default_env]_220.json | 67 ++++++++-------- ...est_flask_get_user[flask_default_env].json | 73 ++++++++--------- ...flask_get_user[flask_default_env]_220.json | 69 ++++++++-------- ....test_flask_stream[flask_default_env].json | 71 ++++++++-------- ...t_flask_stream[flask_default_env]_220.json | 67 ++++++++-------- 22 files changed, 746 insertions(+), 596 deletions(-) diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403[flask_appsec_good_rules_env].json index 3b6c419e950..9e4f81793e6 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403[flask_appsec_good_rules_env].json @@ -14,10 +14,11 @@ "_dd.base_service": "", "_dd.origin": "appsec", "_dd.p.dm": "-5", - "_dd.p.tid": "69a5f88100000000", + "_dd.p.tid": "69dd2d5b00000000", "_dd.p.ts": "02", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "actor.ip": "8.8.4.4", "appsec.blocked": "true", "appsec.event": "true", @@ -34,20 +35,20 @@ "http.url": "http://0.0.0.0:8000/", "http.useragent": "python-requests/2.32.3", "language": "python", - "runtime-id": "b2536e52c2f3480e9160c3a5a420dc16" + "runtime-id": "be1bd364c22840beb527acdb812ab827" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 3701.916, - "_dd.appsec.waf.duration_ext": 3935.208000257262, + "_dd.appsec.waf.duration": 23.083, + "_dd.appsec.waf.duration_ext": 81.45799995418201, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 70670.0 + "process_id": 87498.0 }, - "duration": 5404209, + "duration": 723084, "meta_struct": { "appsec": { "triggers": [ @@ -79,13 +80,13 @@ ] } ], - "security_response_id": "41f32496-ed0b-4de9-1b92-fa497fc95a33", - "span_id": 2849114800436575925 + "security_response_id": "225ec6e0-0010-402f-1b91-0f2c61eab1bf", + "span_id": 5674766294084452706 } ] } }, - "start": 1772484737182442555 + "start": 1776102747064911720 }, { "name": "flask.response", @@ -96,8 +97,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 412167, - "start": 1772484737187411472 + "duration": 203750, + "start": 1776102747065418970 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403[flask_appsec_good_rules_env]_220.json index 535510c63a4..5779a06b843 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403[flask_appsec_good_rules_env]_220.json @@ -14,10 +14,11 @@ "_dd.base_service": "", "_dd.origin": "appsec", "_dd.p.dm": "-5", - "_dd.p.tid": "69a5f8a300000000", + "_dd.p.tid": "69dd2bac00000000", "_dd.p.ts": "02", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "actor.ip": "8.8.4.4", "appsec.blocked": "true", "appsec.event": "true", @@ -34,20 +35,20 @@ "http.url": "http://0.0.0.0:8000/", "http.useragent": "python-requests/2.32.5", "language": "python", - "runtime-id": "f0506beeb3dc45cd91f725b8d2cbb706" + "runtime-id": "1f4ac27efcdf4c509d17f5c0d4ae2138" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 3613.209, - "_dd.appsec.waf.duration_ext": 3940.041999157984, + "_dd.appsec.waf.duration": 36.209, + "_dd.appsec.waf.duration_ext": 100.99999997237319, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 70884.0 + "process_id": 46544.0 }, - "duration": 5696417, + "duration": 851250, "meta_struct": { "appsec": { "triggers": [ @@ -79,13 +80,13 @@ ] } ], - "security_response_id": "5abf1189-f81a-48fb-1b22-15bafd125a24", - "span_id": 14910220015910981753 + "security_response_id": "6a7948fa-3a42-4ac0-1b89-c34f985710ae", + "span_id": 14060895466761889668 } ] } }, - "start": 1772484771147098626 + "start": 1776102316353474965 }, { "name": "flask.response", @@ -96,8 +97,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 491125, - "start": 1772484771152279418 + "duration": 257375, + "start": 1776102316354056007 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403_json[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403_json[flask_appsec_good_rules_env].json index aee8609257a..6229923ad21 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403_json[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403_json[flask_appsec_good_rules_env].json @@ -14,10 +14,11 @@ "_dd.base_service": "", "_dd.origin": "appsec", "_dd.p.dm": "-5", - "_dd.p.tid": "69a5f87500000000", + "_dd.p.tid": "69dd2d5700000000", "_dd.p.ts": "02", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "actor.ip": "8.8.4.4", "appsec.blocked": "true", "appsec.event": "true", @@ -34,20 +35,20 @@ "http.url": "http://0.0.0.0:8000/", "http.useragent": "python-requests/2.32.3", "language": "python", - "runtime-id": "b0924bfac68d48e7a404ef4616e3cad6" + "runtime-id": "26d272133db040739c374c8ee0122d04" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 3712.833, - "_dd.appsec.waf.duration_ext": 3941.9999993697274, + "_dd.appsec.waf.duration": 22.0, + "_dd.appsec.waf.duration_ext": 79.79100007560191, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 70531.0 + "process_id": 87402.0 }, - "duration": 5376916, + "duration": 697500, "meta_struct": { "appsec": { "triggers": [ @@ -79,13 +80,13 @@ ] } ], - "security_response_id": "3e74b4dc-7fe2-4f99-1bcc-101b78dfc519", - "span_id": 15220672290089881314 + "security_response_id": "123d44b4-2bde-4b94-1bf1-6e61c3afc16d", + "span_id": 1242775743700918938 } ] } }, - "start": 1772484725487063550 + "start": 1776102743066843635 }, { "name": "flask.response", @@ -96,8 +97,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 404209, - "start": 1772484725492014216 + "duration": 200959, + "start": 1776102743067327968 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403_json[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403_json[flask_appsec_good_rules_env]_220.json index a9a139afefc..d77b2233e5f 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403_json[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_ipblock_match_403_json[flask_appsec_good_rules_env]_220.json @@ -14,10 +14,11 @@ "_dd.base_service": "", "_dd.origin": "appsec", "_dd.p.dm": "-5", - "_dd.p.tid": "69a5f8a600000000", + "_dd.p.tid": "69dd2baa00000000", "_dd.p.ts": "02", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "actor.ip": "8.8.4.4", "appsec.blocked": "true", "appsec.event": "true", @@ -34,20 +35,20 @@ "http.url": "http://0.0.0.0:8000/", "http.useragent": "python-requests/2.32.5", "language": "python", - "runtime-id": "d05808853d8047bf9eca49da84fb1c45" + "runtime-id": "553a56a9d9c143c8ba6f9d7e20614b29" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 9723.125, - "_dd.appsec.waf.duration_ext": 10611.042000164161, + "_dd.appsec.waf.duration": 31.958, + "_dd.appsec.waf.duration_ext": 104.8330000230635, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 70926.0 + "process_id": 46502.0 }, - "duration": 14099834, + "duration": 1075708, "meta_struct": { "appsec": { "triggers": [ @@ -79,13 +80,13 @@ ] } ], - "security_response_id": "bfac9899-9f05-4f45-1b85-a4fe8ae381cf", - "span_id": 4972282641448028976 + "security_response_id": "e553d5ee-e38c-43cf-1b70-876cf42e9981", + "span_id": 10405521169124595113 } ] } }, - "start": 1772484774840522586 + "start": 1776102314122929381 }, { "name": "flask.response", @@ -96,8 +97,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 630208, - "start": 1772484774853965795 + "duration": 300209, + "start": 1776102314123679964 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env].json index 86716ec1f6d..9d6ade3dbf3 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env].json @@ -13,9 +13,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f87900000000", + "_dd.p.tid": "69dd2d5a00000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "run_osspawn", "flask.url_rule": "/executions/osspawn", @@ -34,23 +35,23 @@ "http.useragent": "python-requests/2.32.3", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "1bf18e9e395a453e9eb1544692c62c50", + "runtime-id": "dc96e1e0fc224e7d94a41c4e8abc63c3", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 16.209, - "_dd.appsec.waf.duration_ext": 414.50000026088674, + "_dd.appsec.waf.duration": 8.084, + "_dd.appsec.waf.duration_ext": 247.1259999765607, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70573.0 + "process_id": 87467.0 }, - "duration": 45799958, - "start": 1772484729341433260 + "duration": 17547083, + "start": 1776102746053793470 }, { "name": "flask.application", @@ -61,12 +62,13 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "run_osspawn", "flask.url_rule": "/executions/osspawn" }, - "duration": 43961584, - "start": 1772484729342238343 + "duration": 16509000, + "start": 1776102746054160928 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -77,10 +79,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 28667, - "start": 1772484729342397218 + "duration": 21208, + "start": 1776102746054254762 }, { "name": "flask.preprocess_request", @@ -91,10 +94,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 33541, - "start": 1772484729342511760 + "duration": 22208, + "start": 1776102746054328845 }, { "name": "flask.dispatch_request", @@ -105,10 +109,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 42244084, - "start": 1772484729342596343 + "duration": 15331959, + "start": 1776102746054378678 }, { "name": "tests.contrib.flask.app.run_osspawn", @@ -119,10 +124,11 @@ "parent_id": 6, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 42127084, - "start": 1772484729342659426 + "duration": 15266875, + "start": 1776102746054411095 }, { "name": "command_execution", @@ -134,12 +140,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exec": "['/bin/ls', '-l', '/']", "cmd.exit_code": "0", "component": "os" }, - "duration": 40552875, - "start": 1772484729344186135 + "duration": 14303792, + "start": 1776102746055330928 }, { "name": "command_execution", @@ -151,11 +158,12 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exec": "['os.fork']", "component": "os" }, - "duration": 7331834, - "start": 1772484729344316551 + "duration": 8680084, + "start": 1776102746055392928 }, { "name": "flask.process_response", @@ -166,10 +174,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 181083, - "start": 1772484729385174802 + "duration": 109708, + "start": 1776102746069926470 }, { "name": "flask.do_teardown_request", @@ -180,10 +189,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 44959, - "start": 1772484729386003468 + "duration": 51750, + "start": 1776102746070524678 }, { "name": "flask.do_teardown_appcontext", @@ -194,10 +204,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 29500, - "start": 1772484729386119927 + "duration": 19792, + "start": 1776102746070618178 }, { "name": "flask.response", @@ -208,8 +219,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 999667, - "start": 1772484729386214968 + "duration": 645166, + "start": 1776102746070683387 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env]_220.json index 48e58030eaa..eee01e281d9 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env]_220.json @@ -13,9 +13,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f89f00000000", + "_dd.p.tid": "69dd2bae00000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "run_osspawn", "flask.url_rule": "/executions/osspawn", @@ -34,23 +35,23 @@ "http.useragent": "python-requests/2.32.5", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "13b131407a714bb0a5da53f514bed944", + "runtime-id": "b0bbb09cded049ce98eede8ad92c924b", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 13.958, - "_dd.appsec.waf.duration_ext": 393.7900000892114, + "_dd.appsec.waf.duration": 11.833, + "_dd.appsec.waf.duration_ext": 247.20800001887255, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70830.0 + "process_id": 46587.0 }, - "duration": 42796875, - "start": 1772484767455375222 + "duration": 13889458, + "start": 1776102318640650050 }, { "name": "flask.application", @@ -61,12 +62,13 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "run_osspawn", "flask.url_rule": "/executions/osspawn" }, - "duration": 41142583, - "start": 1772484767456151514 + "duration": 12763500, + "start": 1776102318641058133 }, { "name": "flask.preprocess_request", @@ -77,10 +79,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 39042, - "start": 1772484767456330430 + "duration": 29750, + "start": 1776102318641190383 }, { "name": "flask.dispatch_request", @@ -91,10 +94,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 39690416, - "start": 1772484767456422139 + "duration": 11567500, + "start": 1776102318641250675 }, { "name": "tests.contrib.flask.app.run_osspawn", @@ -105,10 +109,11 @@ "parent_id": 5, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 39572083, - "start": 1772484767456485597 + "duration": 11487875, + "start": 1776102318641296091 }, { "name": "command_execution", @@ -120,12 +125,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exec": "['/bin/ls', '-l', '/']", "cmd.exit_code": "0", "component": "os" }, - "duration": 37973625, - "start": 1772484767458026347 + "duration": 10737458, + "start": 1776102318642000008 }, { "name": "command_execution", @@ -137,11 +143,12 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exec": "['os.fork']", "component": "os" }, - "duration": 7609792, - "start": 1772484767458139597 + "duration": 4519208, + "start": 1776102318642066800 }, { "name": "flask.process_response", @@ -152,10 +159,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 127584, - "start": 1772484767496380180 + "duration": 123875, + "start": 1776102318653039091 }, { "name": "flask.do_teardown_request", @@ -166,10 +174,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 42834, - "start": 1772484767497103430 + "duration": 30042, + "start": 1776102318653680883 }, { "name": "flask.do_teardown_appcontext", @@ -180,10 +189,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 30208, - "start": 1772484767497206597 + "duration": 20959, + "start": 1776102318653750466 }, { "name": "flask.response", @@ -194,8 +204,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 844375, - "start": 1772484767497309472 + "duration": 698125, + "start": 1776102318653831925 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env].json index 451018297f6..42cafc5d470 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env].json @@ -13,9 +13,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f87300000000", + "_dd.p.tid": "69dd2d5800000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "run_ossystem", "flask.url_rule": "/executions/ossystem", @@ -34,23 +35,23 @@ "http.useragent": "python-requests/2.32.3", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "ff5f23c38c1d4e9fa756a5465b11e7da", + "runtime-id": "bc02155dd5874bf8b6ce45d5661a4687", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 14.749, - "_dd.appsec.waf.duration_ext": 375.7069989660522, + "_dd.appsec.waf.duration": 7.708, + "_dd.appsec.waf.duration_ext": 186.70800011477695, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70508.0 + "process_id": 87423.0 }, - "duration": 43105417, - "start": 1772484723425073965 + "duration": 3790625, + "start": 1776102744065404344 }, { "name": "flask.application", @@ -61,12 +62,13 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "run_ossystem", "flask.url_rule": "/executions/ossystem" }, - "duration": 41411500, - "start": 1772484723425880840 + "duration": 3074708, + "start": 1776102744065785094 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -77,10 +79,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 29208, - "start": 1772484723426032382 + "duration": 20709, + "start": 1776102744065882177 }, { "name": "flask.preprocess_request", @@ -91,10 +94,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 32375, - "start": 1772484723426148715 + "duration": 22125, + "start": 1776102744065955052 }, { "name": "flask.dispatch_request", @@ -105,10 +109,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 39929167, - "start": 1772484723426228007 + "duration": 2496125, + "start": 1776102744066004427 }, { "name": "tests.contrib.flask.app.run_ossystem", @@ -119,10 +124,11 @@ "parent_id": 6, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 39832750, - "start": 1772484723426281757 + "duration": 2453500, + "start": 1776102744066037344 }, { "name": "command_execution", @@ -134,12 +140,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "os" }, - "duration": 38192375, - "start": 1772484723427770757 + "duration": 1541208, + "start": 1776102744066927844 }, { "name": "flask.process_response", @@ -150,10 +157,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 129084, - "start": 1772484723466449840 + "duration": 26500, + "start": 1776102744068550427 }, { "name": "flask.do_teardown_request", @@ -164,10 +172,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 40417, - "start": 1772484723467121632 + "duration": 23834, + "start": 1776102744068773177 }, { "name": "flask.do_teardown_appcontext", @@ -178,10 +187,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 26250, - "start": 1772484723467222507 + "duration": 16083, + "start": 1776102744068825636 }, { "name": "flask.response", @@ -192,8 +202,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 851083, - "start": 1772484723467308257 + "duration": 314833, + "start": 1776102744068869094 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env]_220.json index 4594c5e1d62..731fe00cccd 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env]_220.json @@ -13,9 +13,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f8a100000000", + "_dd.p.tid": "69dd2ba600000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "run_ossystem", "flask.url_rule": "/executions/ossystem", @@ -34,23 +35,23 @@ "http.useragent": "python-requests/2.32.5", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "e84e2cfcd7854389b75524f2cf158d6c", + "runtime-id": "c69a014d13c145a5b290b64a05f02b45", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 13.0, - "_dd.appsec.waf.duration_ext": 357.2490004444262, + "_dd.appsec.waf.duration": 8.708, + "_dd.appsec.waf.duration_ext": 157.5409997940369, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70861.0 + "process_id": 46435.0 }, - "duration": 42450250, - "start": 1772484769299857209 + "duration": 3852125, + "start": 1776102310820094713 }, { "name": "flask.application", @@ -61,12 +62,13 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "run_ossystem", "flask.url_rule": "/executions/ossystem" }, - "duration": 40830333, - "start": 1772484769300664334 + "duration": 3161167, + "start": 1776102310820438921 }, { "name": "flask.preprocess_request", @@ -77,10 +79,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 47625, - "start": 1772484769300843125 + "duration": 26584, + "start": 1776102310820547254 }, { "name": "flask.dispatch_request", @@ -91,10 +94,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 39430416, - "start": 1772484769300944459 + "duration": 2652250, + "start": 1776102310820601129 }, { "name": "tests.contrib.flask.app.run_ossystem", @@ -105,10 +109,11 @@ "parent_id": 5, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 39308209, - "start": 1772484769301012125 + "duration": 2584542, + "start": 1776102310820657504 }, { "name": "command_execution", @@ -120,12 +125,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "os" }, - "duration": 37689834, - "start": 1772484769302491375 + "duration": 1878291, + "start": 1776102310821340088 }, { "name": "flask.process_response", @@ -136,10 +142,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 119000, - "start": 1772484769340647500 + "duration": 30500, + "start": 1776102310823318379 }, { "name": "flask.do_teardown_request", @@ -150,10 +157,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 53292, - "start": 1772484769341297500 + "duration": 22166, + "start": 1776102310823521713 }, { "name": "flask.do_teardown_appcontext", @@ -164,10 +172,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 27875, - "start": 1772484769341410875 + "duration": 15042, + "start": 1776102310823567921 }, { "name": "flask.response", @@ -178,8 +187,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 779292, - "start": 1772484769341509750 + "duration": 328208, + "start": 1776102310823609046 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env].json index 6bc4f91ca01..2cb89bfe597 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env].json @@ -13,9 +13,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f87b00000000", + "_dd.p.tid": "69dd2d5d00000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "run_subcommunicatenoshell", "flask.url_rule": "/executions/subcommunicatenoshell", @@ -34,23 +35,23 @@ "http.useragent": "python-requests/2.32.3", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "3012039555a4472cbfa58297f04c6ca1", + "runtime-id": "5ff6e77d42a448cbbc90981e5c770f3b", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 14.917, - "_dd.appsec.waf.duration_ext": 362.9589973570546, + "_dd.appsec.waf.duration": 6.292, + "_dd.appsec.waf.duration_ext": 189.29100008335809, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70604.0 + "process_id": 87540.0 }, - "duration": 29621583, - "start": 1772484731325183636 + "duration": 5247583, + "start": 1776102749081732888 }, { "name": "flask.application", @@ -61,12 +62,13 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "run_subcommunicatenoshell", "flask.url_rule": "/executions/subcommunicatenoshell" }, - "duration": 27838084, - "start": 1772484731325999052 + "duration": 4335833, + "start": 1776102749082009430 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -77,10 +79,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 28458, - "start": 1772484731326141886 + "duration": 16625, + "start": 1776102749082084971 }, { "name": "flask.preprocess_request", @@ -91,10 +94,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 31875, - "start": 1772484731326252677 + "duration": 18583, + "start": 1776102749082144388 }, { "name": "flask.dispatch_request", @@ -105,10 +109,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 26456583, - "start": 1772484731326349094 + "duration": 3454833, + "start": 1776102749082185680 }, { "name": "tests.contrib.flask.app.run_subcommunicatenoshell", @@ -119,10 +124,11 @@ "parent_id": 6, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 26360750, - "start": 1772484731326406177 + "duration": 3401750, + "start": 1776102749082212680 }, { "name": "command_execution", @@ -133,10 +139,11 @@ "parent_id": 10, "type": "system", "meta": { - "_dd.base_service": "" + "_dd.base_service": "", + "_dd.svc_src": "m" }, - "duration": 3160416, - "start": 1772484731327869011 + "duration": 1912375, + "start": 1776102749083026513 }, { "name": "command_execution", @@ -148,12 +155,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exec": "['dir', '-li', '/']", "cmd.exit_code": "0", "component": "subprocess" }, - "duration": 21302750, - "start": 1772484731331295386 + "duration": 376667, + "start": 1776102749085169513 }, { "name": "command_execution", @@ -165,12 +173,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exec": "['dir', '-li', '/']", "cmd.exit_code": "0", "component": "subprocess" }, - "duration": 51917, - "start": 1772484731352688844 + "duration": 19959, + "start": 1776102749085574221 }, { "name": "flask.process_response", @@ -181,10 +190,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 59542, - "start": 1772484731353016177 + "duration": 48875, + "start": 1776102749085788805 }, { "name": "flask.do_teardown_request", @@ -195,10 +205,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 45791, - "start": 1772484731353649136 + "duration": 25000, + "start": 1776102749086236680 }, { "name": "flask.do_teardown_appcontext", @@ -209,10 +220,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 31167, - "start": 1772484731353760802 + "duration": 15333, + "start": 1776102749086302138 }, { "name": "flask.response", @@ -223,8 +235,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 935667, - "start": 1772484731353851844 + "duration": 611084, + "start": 1776102749086356596 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env]_220.json index 2c06cf8c19d..6b756c807c8 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env]_220.json @@ -13,9 +13,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f89b00000000", + "_dd.p.tid": "69dd2bad00000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "run_subcommunicatenoshell", "flask.url_rule": "/executions/subcommunicatenoshell", @@ -34,23 +35,23 @@ "http.useragent": "python-requests/2.32.5", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "d3222ec4e6734fb39e151ab2ffde09f3", + "runtime-id": "ee24e34e0aaf4007beb21c71fb5cf63d", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 14.0, - "_dd.appsec.waf.duration_ext": 397.79299913789146, + "_dd.appsec.waf.duration": 7.667999999999999, + "_dd.appsec.waf.duration_ext": 168.87400011000864, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70785.0 + "process_id": 46565.0 }, - "duration": 29342666, - "start": 1772484763651169054 + "duration": 3361000, + "start": 1776102317432344549 }, { "name": "flask.application", @@ -61,12 +62,13 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "run_subcommunicatenoshell", "flask.url_rule": "/executions/subcommunicatenoshell" }, - "duration": 27698083, - "start": 1772484763651960429 + "duration": 2758417, + "start": 1776102317432579299 }, { "name": "flask.preprocess_request", @@ -77,10 +79,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 40000, - "start": 1772484763652136804 + "duration": 18375, + "start": 1776102317432675174 }, { "name": "flask.dispatch_request", @@ -91,10 +94,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 26392084, - "start": 1772484763652228970 + "duration": 2178250, + "start": 1776102317432711966 }, { "name": "tests.contrib.flask.app.run_subcommunicatenoshell", @@ -105,10 +109,11 @@ "parent_id": 5, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 26292000, - "start": 1772484763652292054 + "duration": 2139083, + "start": 1776102317432742508 }, { "name": "command_execution", @@ -119,10 +124,11 @@ "parent_id": 9, "type": "system", "meta": { - "_dd.base_service": "" + "_dd.base_service": "", + "_dd.svc_src": "m" }, - "duration": 2943042, - "start": 1772484763653743470 + "duration": 710708, + "start": 1776102317433359883 }, { "name": "command_execution", @@ -134,12 +140,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exec": "['dir', '-li', '/']", "cmd.exit_code": "0", "component": "subprocess" }, - "duration": 21469792, - "start": 1772484763656958220 + "duration": 695042, + "start": 1776102317434101466 }, { "name": "command_execution", @@ -151,12 +158,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exec": "['dir', '-li', '/']", "cmd.exit_code": "0", "component": "subprocess" }, - "duration": 50167, - "start": 1772484763678511512 + "duration": 27792, + "start": 1776102317434845466 }, { "name": "flask.process_response", @@ -167,10 +175,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 94334, - "start": 1772484763678838470 + "duration": 22625, + "start": 1776102317434959591 }, { "name": "flask.do_teardown_request", @@ -181,10 +190,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 40458, - "start": 1772484763679479512 + "duration": 54791, + "start": 1776102317435213633 }, { "name": "flask.do_teardown_appcontext", @@ -195,10 +205,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 31791, - "start": 1772484763679579804 + "duration": 24375, + "start": 1776102317435295841 }, { "name": "flask.response", @@ -209,8 +220,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 816833, - "start": 1772484763679674804 + "duration": 351500, + "start": 1776102317435344924 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env].json index ef72b46d86e..0fd8dcb62b0 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env].json @@ -13,9 +13,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f87d00000000", + "_dd.p.tid": "69dd2d5e00000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "run_subcommunicateshell", "flask.url_rule": "/executions/subcommunicateshell", @@ -34,23 +35,23 @@ "http.useragent": "python-requests/2.32.3", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "6aea2ea0d5d4457fb847fe6b41155314", + "runtime-id": "1e1ec113cb884bbe81ded8d586073a12", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 14.625, - "_dd.appsec.waf.duration_ext": 383.376000172575, + "_dd.appsec.waf.duration": 6.584999999999999, + "_dd.appsec.waf.duration_ext": 244.87499979386484, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70626.0 + "process_id": 87562.0 }, - "duration": 38474750, - "start": 1772484733272587095 + "duration": 7834001, + "start": 1776102750088956513 }, { "name": "flask.application", @@ -61,12 +62,13 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "run_subcommunicateshell", "flask.url_rule": "/executions/subcommunicateshell" }, - "duration": 36613875, - "start": 1772484733273414387 + "duration": 6739584, + "start": 1776102750089254680 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -77,10 +79,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 28625, - "start": 1772484733273561220 + "duration": 19709, + "start": 1776102750089338888 }, { "name": "flask.preprocess_request", @@ -91,10 +94,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 33000, - "start": 1772484733273678678 + "duration": 21959, + "start": 1776102750089407638 }, { "name": "flask.dispatch_request", @@ -105,10 +109,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 35142458, - "start": 1772484733273759012 + "duration": 5643583, + "start": 1776102750089455222 }, { "name": "tests.contrib.flask.app.run_subcommunicateshell", @@ -119,10 +124,11 @@ "parent_id": 6, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 35045292, - "start": 1772484733273813928 + "duration": 5582751, + "start": 1776102750089486513 }, { "name": "command_execution", @@ -133,10 +139,11 @@ "parent_id": 10, "type": "system", "meta": { - "_dd.base_service": "" + "_dd.base_service": "", + "_dd.svc_src": "m" }, - "duration": 2742875, - "start": 1772484733275280637 + "duration": 2753542, + "start": 1776102750090427055 }, { "name": "command_execution", @@ -148,12 +155,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "subprocess" }, - "duration": 30399917, - "start": 1772484733278300345 + "duration": 1480084, + "start": 1776102750093490555 }, { "name": "command_execution", @@ -165,12 +173,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "subprocess" }, - "duration": 43417, - "start": 1772484733308786970 + "duration": 25750, + "start": 1776102750095022180 }, { "name": "flask.process_response", @@ -181,10 +190,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 88084, - "start": 1772484733309123303 + "duration": 69916, + "start": 1776102750095289139 }, { "name": "flask.do_teardown_request", @@ -195,10 +205,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 44250, - "start": 1772484733309839637 + "duration": 28917, + "start": 1776102750095865555 }, { "name": "flask.do_teardown_appcontext", @@ -209,10 +220,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 27291, - "start": 1772484733309948262 + "duration": 19167, + "start": 1776102750095936222 }, { "name": "flask.response", @@ -223,8 +235,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 999667, - "start": 1772484733310042678 + "duration": 769292, + "start": 1776102750096007055 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env]_220.json index e106f1cb820..8934c08751f 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env]_220.json @@ -13,9 +13,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f89d00000000", + "_dd.p.tid": "69dd2ba900000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "run_subcommunicateshell", "flask.url_rule": "/executions/subcommunicateshell", @@ -34,23 +35,23 @@ "http.useragent": "python-requests/2.32.5", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "17f64330b9db45839eb3bb0c4adbf3ce", + "runtime-id": "d5f156f4e26d42d78f689749e15b7ef2", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 14.501, - "_dd.appsec.waf.duration_ext": 351.74899858247954, + "_dd.appsec.waf.duration": 10.125, + "_dd.appsec.waf.duration_ext": 185.9999999851425, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70807.0 + "process_id": 46479.0 }, - "duration": 38913166, - "start": 1772484765598797388 + "duration": 4288375, + "start": 1776102313015139089 }, { "name": "flask.application", @@ -61,12 +62,13 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "run_subcommunicateshell", "flask.url_rule": "/executions/subcommunicateshell" }, - "duration": 37243167, - "start": 1772484765599581304 + "duration": 3559750, + "start": 1776102313015526547 }, { "name": "flask.preprocess_request", @@ -77,10 +79,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 38458, - "start": 1772484765599751138 + "duration": 25417, + "start": 1776102313015655005 }, { "name": "flask.dispatch_request", @@ -91,10 +94,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 35952208, - "start": 1772484765599840971 + "duration": 3034167, + "start": 1776102313015706880 }, { "name": "tests.contrib.flask.app.run_subcommunicateshell", @@ -105,10 +109,11 @@ "parent_id": 5, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 35829083, - "start": 1772484765599921096 + "duration": 2980417, + "start": 1776102313015751005 }, { "name": "command_execution", @@ -119,10 +124,11 @@ "parent_id": 9, "type": "system", "meta": { - "_dd.base_service": "" + "_dd.base_service": "", + "_dd.svc_src": "m" }, - "duration": 3443750, - "start": 1772484765601419513 + "duration": 333042, + "start": 1776102313016420297 }, { "name": "command_execution", @@ -134,12 +140,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "subprocess" }, - "duration": 30409500, - "start": 1772484765605174221 + "duration": 1876209, + "start": 1776102313016791255 }, { "name": "command_execution", @@ -151,12 +158,13 @@ "type": "system", "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "subprocess" }, - "duration": 46959, - "start": 1772484765635677929 + "duration": 21416, + "start": 1776102313018698464 }, { "name": "flask.process_response", @@ -167,10 +175,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 79000, - "start": 1772484765636032971 + "duration": 24250, + "start": 1776102313018799964 }, { "name": "flask.do_teardown_request", @@ -181,10 +190,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 43292, - "start": 1772484765636645929 + "duration": 23292, + "start": 1776102313019004005 }, { "name": "flask.do_teardown_appcontext", @@ -195,10 +205,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 30500, - "start": 1772484765636747846 + "duration": 15125, + "start": 1776102313019053255 }, { "name": "flask.response", @@ -209,8 +220,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 852750, - "start": 1772484765636839929 + "duration": 323375, + "start": 1776102313019094380 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env].json index 67cba3aa6d9..9c810e74cf8 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env].json @@ -14,9 +14,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f87f00000000", + "_dd.p.tid": "69dd2d5900000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "checkuser", "flask.url_rule": "/checkuser/", @@ -36,7 +37,7 @@ "http.useragent": "python-requests/2.32.3", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "0baf2120909c48b0a14242d8920081ea", + "runtime-id": "240b5f0f2fbb468eb0c239fb40d575f8", "span.kind": "server", "usr.id": "111111" }, @@ -44,16 +45,16 @@ "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 1247.833, - "_dd.appsec.waf.duration_ext": 1570.2089986007195, + "_dd.appsec.waf.duration": 39.12700000000001, + "_dd.appsec.waf.duration_ext": 210.0010001413466, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70649.0 + "process_id": 87446.0 }, - "duration": 3829625, - "start": 1772484735243729429 + "duration": 1482625, + "start": 1776102745058621803 }, { "name": "flask.application", @@ -64,6 +65,7 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "checkuser", "flask.url_rule": "/checkuser/", @@ -71,8 +73,8 @@ "http.client_ip": "127.0.0.1", "network.client.ip": "127.0.0.1" }, - "duration": 2494750, - "start": 1772484735244541263 + "duration": 765375, + "start": 1776102745058976386 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -83,10 +85,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 29125, - "start": 1772484735244719013 + "duration": 24459, + "start": 1776102745059075344 }, { "name": "flask.preprocess_request", @@ -97,10 +100,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 30708, - "start": 1772484735244840596 + "duration": 22292, + "start": 1776102745059156094 }, { "name": "flask.dispatch_request", @@ -111,10 +115,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 1616750, - "start": 1772484735244924804 + "duration": 232292, + "start": 1776102745059210261 }, { "name": "tests.contrib.flask.app.checkuser", @@ -125,10 +130,11 @@ "parent_id": 6, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 1542083, - "start": 1772484735244977596 + "duration": 190708, + "start": 1776102745059241011 }, { "name": "flask.process_response", @@ -139,10 +145,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 31416, - "start": 1772484735246614763 + "duration": 19167, + "start": 1776102745059480594 }, { "name": "flask.do_teardown_request", @@ -153,10 +160,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 33667, - "start": 1772484735246902679 + "duration": 19541, + "start": 1776102745059663428 }, { "name": "flask.do_teardown_appcontext", @@ -167,10 +175,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 24791, - "start": 1772484735246983138 + "duration": 15625, + "start": 1776102745059708136 }, { "name": "flask.response", @@ -181,8 +190,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 492083, - "start": 1772484735247050263 + "duration": 327333, + "start": 1776102745059766178 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env]_220.json index 7fb2751000f..3280f4968f4 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env]_220.json @@ -14,9 +14,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f89900000000", + "_dd.p.tid": "69dd2ba700000000", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "checkuser", "flask.url_rule": "/checkuser/", @@ -36,7 +37,7 @@ "http.useragent": "python-requests/2.32.5", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "964849f6634545d795b285553c07efec", + "runtime-id": "0314e225690a4876bb74adeed610743c", "span.kind": "server", "usr.id": "111111" }, @@ -44,16 +45,16 @@ "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 1219.834, - "_dd.appsec.waf.duration_ext": 1543.0839994223788, + "_dd.appsec.waf.duration": 48.91499999999999, + "_dd.appsec.waf.duration_ext": 206.74900008543773, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70764.0 + "process_id": 46458.0 }, - "duration": 3800417, - "start": 1772484761836160094 + "duration": 1581667, + "start": 1776102311916191713 }, { "name": "flask.application", @@ -64,6 +65,7 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "checkuser", "flask.url_rule": "/checkuser/", @@ -71,8 +73,8 @@ "http.client_ip": "127.0.0.1", "network.client.ip": "127.0.0.1" }, - "duration": 2503750, - "start": 1772484761836955719 + "duration": 831250, + "start": 1776102311916572505 }, { "name": "flask.preprocess_request", @@ -83,10 +85,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 41709, - "start": 1772484761837288094 + "duration": 25708, + "start": 1776102311916811672 }, { "name": "flask.dispatch_request", @@ -97,10 +100,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 1586000, - "start": 1772484761837392511 + "duration": 241750, + "start": 1776102311916871422 }, { "name": "tests.contrib.flask.app.checkuser", @@ -111,10 +115,11 @@ "parent_id": 5, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 1497625, - "start": 1772484761837459011 + "duration": 189083, + "start": 1776102311916912880 }, { "name": "flask.process_response", @@ -125,10 +130,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 33375, - "start": 1772484761839055094 + "duration": 18792, + "start": 1776102311917165713 }, { "name": "flask.do_teardown_request", @@ -139,10 +145,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 32459, - "start": 1772484761839331094 + "duration": 18125, + "start": 1776102311917330588 }, { "name": "flask.do_teardown_appcontext", @@ -153,10 +160,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 24500, - "start": 1772484761839407469 + "duration": 12959, + "start": 1776102311917373713 }, { "name": "flask.response", @@ -167,8 +175,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 469042, - "start": 1772484761839474011 + "duration": 352125, + "start": 1776102311917412005 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env].json index 330040bb5b2..f433df467cf 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env].json @@ -15,10 +15,11 @@ "_dd.base_service": "", "_dd.origin": "appsec", "_dd.p.dm": "-5", - "_dd.p.tid": "69a5f87700000000", + "_dd.p.tid": "69dd2d5c00000000", "_dd.p.ts": "02", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "actor.ip": "127.0.0.1", "appsec.blocked": "true", "appsec.event": "true", @@ -33,7 +34,7 @@ "http.request.headers.accept-encoding": "gzip, deflate", "http.request.headers.host": "0.0.0.0:8000", "http.request.headers.user-agent": "python-requests/2.32.3", - "http.response.headers.content-length": "196", + "http.response.headers.content-length": "225", "http.response.headers.content-type": "application/json", "http.route": "/checkuser/", "http.status_code": "403", @@ -41,7 +42,7 @@ "http.useragent": "python-requests/2.32.3", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "cf1eccd49a8d46cba3eafae80078ea7b", + "runtime-id": "a5273848dce64ad1b6a9295a3c38cae1", "span.kind": "server", "usr.id": "123456" }, @@ -49,15 +50,15 @@ "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 5110.291, - "_dd.appsec.waf.duration_ext": 5659.45800190093, + "_dd.appsec.waf.duration": 59.21000000000001, + "_dd.appsec.waf.duration_ext": 255.54199999078264, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 70552.0 + "process_id": 87519.0 }, - "duration": 12498709, + "duration": 4220917, "meta_struct": { "appsec": { "triggers": [ @@ -89,13 +90,13 @@ ] } ], - "security_response_id": "2288dc38-d5e4-45e9-1beb-140b28823c82", - "span_id": 9683115153267566286 + "security_response_id": "85008e87-7fa2-4f8b-1be1-39f1a6b7395e", + "span_id": 15778890105754583126 } ] } }, - "start": 1772484727425580342 + "start": 1776102748068913596 }, { "name": "flask.application", @@ -106,6 +107,7 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "checkuser", "flask.url_rule": "/checkuser/", @@ -113,8 +115,8 @@ "http.client_ip": "127.0.0.1", "network.client.ip": "127.0.0.1" }, - "duration": 10926417, - "start": 1772484727426485384 + "duration": 3566167, + "start": 1776102748069211304 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -125,10 +127,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 32166, - "start": 1772484727426686801 + "duration": 20541, + "start": 1776102748069306888 }, { "name": "flask.preprocess_request", @@ -139,10 +142,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 34083, - "start": 1772484727426821134 + "duration": 22042, + "start": 1776102748069384846 }, { "name": "flask.dispatch_request", @@ -154,16 +158,17 @@ "error": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask", "error.message": "??? Unknown Error: None", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 574, in _patched_request\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/flask/app.py\", line 1936, in dispatch_request\n return self.view_functions[rule.endpoint](**req.view_args)\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 78, in patch_func\n return _wrap_call(\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 69, in _wrap_call\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 374, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 471, in block_request\n _callable()\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 553, in _block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=403))\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 822, in abort\n return _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 804, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 521, in _patched_request\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/flask/app.py\", line 1936, in dispatch_request\n return self.view_functions[rule.endpoint](**req.view_args)\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 74, in patch_func\n return _wrap_call(\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 66, in _wrap_call\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 378, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 486, in block_request\n env.block_callable()\n File \"/home/bits/project/ddtrace/appsec/_contrib/flask/__init__.py\", line 199, in _flask_block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=status))\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 822, in abort\n return _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 804, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", "error.type": "werkzeug.exceptions.HTTPException", "http.method": "GET", "http.status_code": "403", "http.useragent": "python-requests/2.32.3" }, - "duration": 9758458, - "start": 1772484727426912259 + "duration": 2922333, + "start": 1776102748069440138 }, { "name": "tests.contrib.flask.app.checkuser", @@ -175,13 +180,14 @@ "error": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask", "error.message": "??? Unknown Error: None", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 69, in _wrap_call\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 374, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 471, in block_request\n _callable()\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 553, in _block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=403))\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 822, in abort\n return _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 804, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 66, in _wrap_call\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 378, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 486, in block_request\n env.block_callable()\n File \"/home/bits/project/ddtrace/appsec/_contrib/flask/__init__.py\", line 199, in _flask_block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=status))\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 822, in abort\n return _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 804, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", "error.type": "werkzeug.exceptions.HTTPException" }, - "duration": 9034166, - "start": 1772484727426970801 + "duration": 2135208, + "start": 1776102748069471971 }, { "name": "flask.handle_user_exception", @@ -192,10 +198,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 123875, - "start": 1772484727436758634 + "duration": 65917, + "start": 1776102748072404346 }, { "name": "flask.handle_http_exception", @@ -206,10 +213,11 @@ "parent_id": 7, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 27625, - "start": 1772484727436839426 + "duration": 15917, + "start": 1776102748072445429 }, { "name": "flask.process_response", @@ -220,10 +228,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 32000, - "start": 1772484727436994592 + "duration": 21500, + "start": 1776102748072530971 }, { "name": "flask.do_teardown_request", @@ -234,10 +243,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 36834, - "start": 1772484727437190967 + "duration": 21375, + "start": 1776102748072652846 }, { "name": "flask.do_teardown_appcontext", @@ -248,10 +258,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 27166, - "start": 1772484727437277801 + "duration": 17917, + "start": 1776102748072701346 }, { "name": "flask.response", @@ -262,8 +273,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 627042, - "start": 1772484727437429967 + "duration": 325542, + "start": 1776102748072797096 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env]_220.json index 6b9b4b95eae..9c54c3d9f3f 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env]_220.json @@ -15,10 +15,11 @@ "_dd.base_service": "", "_dd.origin": "appsec", "_dd.p.dm": "-5", - "_dd.p.tid": "69a5f8a400000000", + "_dd.p.tid": "69dd2bab00000000", "_dd.p.ts": "02", "_dd.runtime_family": "python", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "actor.ip": "127.0.0.1", "appsec.blocked": "true", "appsec.event": "true", @@ -33,7 +34,7 @@ "http.request.headers.accept-encoding": "gzip, deflate", "http.request.headers.host": "0.0.0.0:8000", "http.request.headers.user-agent": "python-requests/2.32.5", - "http.response.headers.content-length": "196", + "http.response.headers.content-length": "225", "http.response.headers.content-type": "application/json", "http.route": "/checkuser/", "http.status_code": "403", @@ -41,7 +42,7 @@ "http.useragent": "python-requests/2.32.5", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "370a08d2a0d343639136f6f33111e415", + "runtime-id": "28221cb4b2194a0a92d99665df18406a", "span.kind": "server", "usr.id": "123456" }, @@ -49,15 +50,15 @@ "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 8.0, - "_dd.appsec.waf.duration": 4570.792, - "_dd.appsec.waf.duration_ext": 5073.125001217704, + "_dd.appsec.waf.duration": 90.125, + "_dd.appsec.waf.duration_ext": 268.45799993679975, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 70905.0 + "process_id": 46523.0 }, - "duration": 11937125, + "duration": 5577208, "meta_struct": { "appsec": { "triggers": [ @@ -89,13 +90,13 @@ ] } ], - "security_response_id": "5488c251-5538-45d8-1bbc-0c2634839646", - "span_id": 9813143962215307432 + "security_response_id": "38a87362-71ca-412a-1b3f-13f2d1ce320c", + "span_id": 7919968716528587961 } ] } }, - "start": 1772484772986043627 + "start": 1776102315234016340 }, { "name": "flask.application", @@ -106,6 +107,7 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "checkuser", "flask.url_rule": "/checkuser/", @@ -113,8 +115,8 @@ "http.client_ip": "127.0.0.1", "network.client.ip": "127.0.0.1" }, - "duration": 10536584, - "start": 1772484772986849460 + "duration": 4795625, + "start": 1776102315234419215 }, { "name": "flask.preprocess_request", @@ -125,10 +127,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 46083, - "start": 1772484772987215877 + "duration": 26625, + "start": 1776102315234683381 }, { "name": "flask.dispatch_request", @@ -140,16 +143,17 @@ "error": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask", "error.message": "??? Unknown Error: None", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 574, in _patched_request\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.9/site-packages/flask/app.py\", line 1469, in dispatch_request\n return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 78, in patch_func\n return _wrap_call(\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 69, in _wrap_call\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 374, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 471, in block_request\n _callable()\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 553, in _block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=403))\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 891, in abort\n _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 871, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 521, in _patched_request\n return wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/flask/app.py\", line 1469, in dispatch_request\n return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 74, in patch_func\n return _wrap_call(\n ^^^^^^^^^^^\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 66, in _wrap_call\n return wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 378, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 486, in block_request\n env.block_callable()\n File \"/home/bits/project/ddtrace/appsec/_contrib/flask/__init__.py\", line 199, in _flask_block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=status))\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/werkzeug/exceptions.py\", line 891, in abort\n _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/werkzeug/exceptions.py\", line 871, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", "error.type": "werkzeug.exceptions.HTTPException", "http.method": "GET", "http.status_code": "403", "http.useragent": "python-requests/2.32.5" }, - "duration": 9264167, - "start": 1772484772987328752 + "duration": 4062666, + "start": 1776102315234745965 }, { "name": "tests.contrib.flask.app.checkuser", @@ -161,13 +165,14 @@ "error": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask", "error.message": "??? Unknown Error: None", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 69, in _wrap_call\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 374, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 471, in block_request\n _callable()\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 553, in _block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=403))\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 891, in abort\n _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 871, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 66, in _wrap_call\n return wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 378, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 486, in block_request\n env.block_callable()\n File \"/home/bits/project/ddtrace/appsec/_contrib/flask/__init__.py\", line 199, in _flask_block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=status))\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/werkzeug/exceptions.py\", line 891, in abort\n _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/werkzeug/exceptions.py\", line 871, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", "error.type": "werkzeug.exceptions.HTTPException" }, - "duration": 8531875, - "start": 1772484772987399544 + "duration": 2846291, + "start": 1776102315234788840 }, { "name": "flask.handle_user_exception", @@ -178,10 +183,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 121917, - "start": 1772484772996686460 + "duration": 60000, + "start": 1776102315238853048 }, { "name": "flask.handle_http_exception", @@ -192,10 +198,11 @@ "parent_id": 6, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 26791, - "start": 1772484772996766294 + "duration": 13333, + "start": 1776102315238892173 }, { "name": "flask.process_response", @@ -206,10 +213,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 38083, - "start": 1772484772997004919 + "duration": 22792, + "start": 1776102315239014756 }, { "name": "flask.do_teardown_request", @@ -220,10 +228,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 37375, - "start": 1772484772997200044 + "duration": 17625, + "start": 1776102315239123215 }, { "name": "flask.do_teardown_appcontext", @@ -234,10 +243,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 27625, - "start": 1772484772997284169 + "duration": 13375, + "start": 1776102315239160423 }, { "name": "flask.response", @@ -248,8 +258,9 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 559000, - "start": 1772484772997403085 + "duration": 360500, + "start": 1776102315239223965 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env].json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env].json index 08adf38f95b..68a26fc4bb4 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env].json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env].json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd2d3e00000000", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "index", "flask.url_rule": "/", @@ -23,18 +24,18 @@ "http.url": "http://0.0.0.0:8000/", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "c96ab26af26949898a27aa791f5d51c5", + "runtime-id": "3bc8d3854e8843309968200ef3ee90b6", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 45520 + "_sampling_priority_v1": 1.0, + "process_id": 86914.0 }, - "duration": 989542, - "start": 1692710190848001963 + "duration": 924667, + "start": 1776102718198108804 }, { "name": "flask.application", @@ -47,13 +48,13 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "index", "flask.url_rule": "/" }, - "duration": 494208, - "start": 1692710190848256838 + "duration": 498750, + "start": 1776102718198281679 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -66,11 +67,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 16292, - "start": 1692710190848346546 + "duration": 33584, + "start": 1776102718198377429 }, { "name": "flask.preprocess_request", @@ -83,11 +84,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 18875, - "start": 1692710190848430046 + "duration": 18583, + "start": 1776102718198468221 }, { "name": "flask.dispatch_request", @@ -100,11 +101,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 46750, - "start": 1692710190848490130 + "duration": 54833, + "start": 1776102718198515013 }, { "name": "tests.contrib.flask.app.index", @@ -117,11 +118,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 12875, - "start": 1692710190848515171 + "duration": 15833, + "start": 1776102718198546221 }, { "name": "flask.process_response", @@ -134,11 +135,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 13791, - "start": 1692710190848573505 + "duration": 16542, + "start": 1776102718198611679 }, { "name": "flask.do_teardown_request", @@ -151,11 +152,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 42083, - "start": 1692710190848657713 + "duration": 18292, + "start": 1776102718198704929 }, { "name": "flask.do_teardown_appcontext", @@ -168,11 +169,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 12042, - "start": 1692710190848722921 + "duration": 15292, + "start": 1776102718198749929 }, { "name": "flask.response", @@ -185,9 +186,9 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 215583, - "start": 1692710190848763838 + "duration": 227833, + "start": 1776102718198790596 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env]_220.json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env]_220.json index 9b9350b72a0..713a52dcc8c 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env]_220.json @@ -11,30 +11,31 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd2b8a00000000", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "index", "flask.url_rule": "/", - "flask.version": "2.3.1", + "flask.version": "2.3.3", "http.method": "GET", "http.route": "/", "http.status_code": "200", "http.url": "http://0.0.0.0:8000/", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "69789a7711bc4c29b0640f6231a7563e", + "runtime-id": "6a381238975a4a178434d08d00a2311e", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15373 + "_sampling_priority_v1": 1.0, + "process_id": 45909.0 }, - "duration": 806667, - "start": 1692722852268928084 + "duration": 650208, + "start": 1776102282934242589 }, { "name": "flask.application", @@ -47,13 +48,13 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "index", "flask.url_rule": "/" }, - "duration": 458500, - "start": 1692722852269071876 + "duration": 332542, + "start": 1776102282934361922 }, { "name": "flask.preprocess_request", @@ -66,11 +67,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 27333, - "start": 1692722852269234543 + "duration": 18584, + "start": 1776102282934449505 }, { "name": "flask.dispatch_request", @@ -83,11 +84,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 48833, - "start": 1692722852269303043 + "duration": 49791, + "start": 1776102282934490089 }, { "name": "tests.contrib.flask.app.index", @@ -100,11 +101,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 11708, - "start": 1692722852269332168 + "duration": 11209, + "start": 1776102282934522505 }, { "name": "flask.process_response", @@ -117,11 +118,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 13833, - "start": 1692722852269389001 + "duration": 12250, + "start": 1776102282934574672 }, { "name": "flask.do_teardown_request", @@ -134,11 +135,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 16750, - "start": 1692722852269468668 + "duration": 12708, + "start": 1776102282934642714 }, { "name": "flask.do_teardown_appcontext", @@ -151,11 +152,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 12250, - "start": 1692722852269502918 + "duration": 10208, + "start": 1776102282934672922 }, { "name": "flask.response", @@ -168,9 +169,9 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 182834, - "start": 1692722852269541334 + "duration": 174333, + "start": 1776102282934701422 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env].json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env].json index c854adcfa61..b99bd337323 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env].json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env].json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd2d3d00000000", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "identify", "flask.url_rule": "/identify", @@ -21,9 +22,9 @@ "http.route": "/identify", "http.status_code": "200", "http.url": "http://0.0.0.0:8000/identify", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.32.3", "language": "python", - "runtime-id": "5ecb6250ffe247fb9269182b042d1abc", + "runtime-id": "49637f5e00124824928c0812e4bb0c56", "span.kind": "server", "usr.email": "usr.email", "usr.id": "usr.id", @@ -33,14 +34,14 @@ "usr.session_id": "usr.session_id" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 45534 + "_sampling_priority_v1": 1.0, + "process_id": 86894.0 }, - "duration": 887250, - "start": 1692710200402971843 + "duration": 840333, + "start": 1776102717195471762 }, { "name": "flask.application", @@ -53,13 +54,13 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "identify", "flask.url_rule": "/identify" }, - "duration": 435208, - "start": 1692710200403203468 + "duration": 444250, + "start": 1776102717195628470 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -72,11 +73,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 14667, - "start": 1692710200403281259 + "duration": 20625, + "start": 1776102717195714970 }, { "name": "flask.preprocess_request", @@ -89,11 +90,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 18125, - "start": 1692710200403358468 + "duration": 16416, + "start": 1776102717195785804 }, { "name": "flask.dispatch_request", @@ -106,11 +107,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 50042, - "start": 1692710200403415384 + "duration": 57209, + "start": 1776102717195828595 }, { "name": "tests.contrib.flask.app.identify", @@ -123,11 +124,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 18834, - "start": 1692710200403438759 + "duration": 21250, + "start": 1776102717195857095 }, { "name": "flask.process_response", @@ -140,11 +141,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 12750, - "start": 1692710200403500509 + "duration": 14375, + "start": 1776102717195918970 }, { "name": "flask.do_teardown_request", @@ -157,11 +158,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 14000, - "start": 1692710200403576718 + "duration": 16458, + "start": 1776102717196004637 }, { "name": "flask.do_teardown_appcontext", @@ -174,11 +175,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 10709, - "start": 1692710200403610759 + "duration": 13833, + "start": 1776102717196045137 }, { "name": "flask.response", @@ -191,9 +192,9 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 197500, - "start": 1692710200403650509 + "duration": 216375, + "start": 1776102717196082012 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env]_220.json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env]_220.json index e0ebdc5319b..beb4a2da3a7 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env]_220.json @@ -11,19 +11,20 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd2b8b00000000", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "identify", "flask.url_rule": "/identify", - "flask.version": "2.3.1", + "flask.version": "2.3.3", "http.method": "GET", "http.route": "/identify", "http.status_code": "200", "http.url": "http://0.0.0.0:8000/identify", - "http.useragent": "python-requests/2.29.0", + "http.useragent": "python-requests/2.32.5", "language": "python", - "runtime-id": "ad3620fb26f74313b542dd622a565808", + "runtime-id": "19fa0257d8b94c858026fdee687166b7", "span.kind": "server", "usr.email": "usr.email", "usr.id": "usr.id", @@ -33,14 +34,14 @@ "usr.session_id": "usr.session_id" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15387 + "_sampling_priority_v1": 1.0, + "process_id": 45929.0 }, - "duration": 1648709, - "start": 1692722862158937422 + "duration": 608166, + "start": 1776102283901522298 }, { "name": "flask.application", @@ -53,13 +54,13 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "identify", "flask.url_rule": "/identify" }, - "duration": 846500, - "start": 1692722862159259339 + "duration": 333708, + "start": 1776102283901646798 }, { "name": "flask.preprocess_request", @@ -72,11 +73,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 70625, - "start": 1692722862159486464 + "duration": 16334, + "start": 1776102283901731214 }, { "name": "flask.dispatch_request", @@ -89,11 +90,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 106334, - "start": 1692722862159631547 + "duration": 53208, + "start": 1776102283901767923 }, { "name": "tests.contrib.flask.app.identify", @@ -106,11 +107,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 36000, - "start": 1692722862159686381 + "duration": 19250, + "start": 1776102283901796381 }, { "name": "flask.process_response", @@ -123,11 +124,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 28708, - "start": 1692722862159831881 + "duration": 11000, + "start": 1776102283901852256 }, { "name": "flask.do_teardown_request", @@ -140,11 +141,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 31000, - "start": 1692722862159986256 + "duration": 13125, + "start": 1776102283901930298 }, { "name": "flask.do_teardown_appcontext", @@ -157,11 +158,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 23500, - "start": 1692722862160052714 + "duration": 9625, + "start": 1776102283901960464 }, { "name": "flask.response", @@ -174,9 +175,9 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 431625, - "start": 1692722862160128297 + "duration": 138000, + "start": 1776102283901986756 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env].json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env].json index d11b2484f3b..2bdbaa3ccda 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env].json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env].json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd2d3c00000000", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "hello", "flask.url_rule": "/stream", @@ -23,18 +24,18 @@ "http.url": "http://0.0.0.0:8000/stream", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "e1f5a061e9284d4a9c86c5db94f1d840", + "runtime-id": "8c7e6c4e4f8e4f0e848c18d27c614752", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 45527 + "_sampling_priority_v1": 1.0, + "process_id": 86874.0 }, - "duration": 1709375, - "start": 1692710198126690550 + "duration": 971042, + "start": 1776102716190111053 }, { "name": "flask.application", @@ -47,13 +48,13 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "hello", "flask.url_rule": "/stream" }, - "duration": 804750, - "start": 1692710198127124217 + "duration": 522125, + "start": 1776102716190281095 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -66,11 +67,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 29833, - "start": 1692710198127304550 + "duration": 39875, + "start": 1776102716190377262 }, { "name": "flask.preprocess_request", @@ -83,11 +84,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 30416, - "start": 1692710198127452842 + "duration": 20917, + "start": 1776102716190478428 }, { "name": "flask.dispatch_request", @@ -100,11 +101,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 92958, - "start": 1692710198127543217 + "duration": 84000, + "start": 1776102716190528512 }, { "name": "tests.contrib.flask.app.hello", @@ -117,11 +118,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 39417, - "start": 1692710198127580675 + "duration": 29750, + "start": 1776102716190574637 }, { "name": "flask.process_response", @@ -134,11 +135,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 20958, - "start": 1692710198127688217 + "duration": 15000, + "start": 1776102716190634387 }, { "name": "flask.do_teardown_request", @@ -151,11 +152,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 23500, - "start": 1692710198127826508 + "duration": 18791, + "start": 1776102716190727512 }, { "name": "flask.do_teardown_appcontext", @@ -168,11 +169,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 18875, - "start": 1692710198127886508 + "duration": 14959, + "start": 1776102716190773178 }, { "name": "flask.response", @@ -185,9 +186,9 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 436916, - "start": 1692710198127947217 + "duration": 258625, + "start": 1776102716190812595 }]] diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env]_220.json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env]_220.json index f162b7020e8..ffaf07d37f4 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env]_220.json @@ -11,30 +11,31 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd2b8c00000000", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "hello", "flask.url_rule": "/stream", - "flask.version": "2.3.1", + "flask.version": "2.3.3", "http.method": "GET", "http.route": "/stream", "http.status_code": "200", "http.url": "http://0.0.0.0:8000/stream", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "83edba109bea46948e0bbc1e44757654", + "runtime-id": "c878be1002c042ec9760775af5bd60c7", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15380 + "_sampling_priority_v1": 1.0, + "process_id": 45949.0 }, - "duration": 758084, - "start": 1692722854690509627 + "duration": 684416, + "start": 1776102284861755465 }, { "name": "flask.application", @@ -47,13 +48,13 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "hello", "flask.url_rule": "/stream" }, - "duration": 341958, - "start": 1692722854690652336 + "duration": 313833, + "start": 1776102284861874173 }, { "name": "flask.preprocess_request", @@ -66,11 +67,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 17166, - "start": 1692722854690749961 + "duration": 15958, + "start": 1776102284861971548 }, { "name": "flask.dispatch_request", @@ -83,11 +84,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 51834, - "start": 1692722854690809877 + "duration": 55792, + "start": 1776102284862007298 }, { "name": "tests.contrib.flask.app.hello", @@ -100,11 +101,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 22041, - "start": 1692722854690832961 + "duration": 21916, + "start": 1776102284862035090 }, { "name": "flask.process_response", @@ -117,11 +118,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 11458, - "start": 1692722854690878919 + "duration": 10084, + "start": 1776102284862078381 }, { "name": "flask.do_teardown_request", @@ -134,11 +135,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 12750, - "start": 1692722854690944211 + "duration": 12042, + "start": 1776102284862139631 }, { "name": "flask.do_teardown_appcontext", @@ -151,11 +152,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 10167, - "start": 1692722854690971252 + "duration": 10542, + "start": 1776102284862167381 }, { "name": "flask.response", @@ -168,9 +169,9 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 255417, - "start": 1692722854691003127 + "duration": 232458, + "start": 1776102284862193798 }]] From 2993e2ccd0d465baf67cc0d4767ab17d0b8ff922 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Mon, 13 Apr 2026 12:39:27 -0700 Subject: [PATCH 003/114] update botocore snapshots --- ....test_aws_payload_tagging_eventbridge.json | 158 +++++----- ...Test.test_aws_payload_tagging_kinesis.json | 86 +++--- ...ocoreTest.test_aws_payload_tagging_s3.json | 154 +++++++--- ...aws_payload_tagging_s3_invalid_config.json | 196 ------------- ...t_aws_payload_tagging_s3_valid_config.json | 196 ------------- ...coreTest.test_aws_payload_tagging_sns.json | 276 +++++++++--------- ..._aws_payload_tagging_sns_valid_config.json | 262 +++++++++-------- ...coreTest.test_aws_payload_tagging_sqs.json | 188 ++++++------ ...ws_payload_tagging_sqs_invalid_config.json | 137 ++++++--- ...oreTest.test_dynamodb_payload_tagging.json | 145 ++++----- ...otocore.test_bedrock.test_ai21_invoke.json | 16 +- ...re.test_bedrock.test_amazon_embedding.json | 16 +- ...ocore.test_bedrock.test_amazon_invoke.json | 16 +- ...est_bedrock.test_amazon_invoke_stream.json | 16 +- ...re.test_bedrock.test_anthropic_invoke.json | 16 +- ..._bedrock.test_anthropic_invoke_stream.json | 16 +- ...bedrock.test_anthropic_message_invoke.json | 16 +- ....test_anthropic_message_invoke_stream.json | 16 +- ...botocore.test_bedrock.test_auth_error.json | 18 +- ...re.test_bedrock.test_cohere_embedding.json | 16 +- ...drock.test_cohere_invoke_multi_output.json | 16 +- ...rock.test_cohere_invoke_single_output.json | 16 +- ...est_cohere_invoke_stream_multi_output.json | 16 +- ...st_cohere_invoke_stream_single_output.json | 16 +- ...b.botocore.test_bedrock.test_converse.json | 28 -- ...ore.test_bedrock.test_converse_stream.json | 28 -- ...t_invoke_model_using_aws_arn_model_id.json | 16 +- ...otocore.test_bedrock.test_meta_invoke.json | 16 +- ....test_bedrock.test_meta_invoke_stream.json | 16 +- ...botocore.test_bedrock.test_read_error.json | 18 +- ...ore.test_bedrock.test_readlines_error.json | 18 +- ...test_bedrock_agents.test_agent_invoke.json | 18 +- ...sm.test_data_streams_botocore_enabled.json | 56 ++-- 33 files changed, 1024 insertions(+), 1214 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3_invalid_config.json delete mode 100644 tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3_valid_config.json delete mode 100644 tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse.json delete mode 100644 tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse_stream.json diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_eventbridge.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_eventbridge.json index c22e4238435..0a7605ff047 100644 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_eventbridge.json +++ b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_eventbridge.json @@ -11,31 +11,33 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725219200000000", + "_dd.p.tid": "69dd45ec00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "CreateEventBus", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "MONTVZ2OE8MKTVRDP324AGW89ZT77EJWP8B9LYMCOU3463N9RYAL", + "aws.requestid": "67UEGGUWVB2Y054EIIXI3WJ4Z6AGVI82CYX7KXPDETDZGTONH9PS", "aws_service": "events", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", "rulename": "a-test-bus", - "runtime-id": "45abaca6e35b47d4bbcab4d19d47895a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5659, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 1347317707, - "start": 1730486674014275278 + "duration": 4455541, + "start": 1776109036220649886 }], [ { @@ -50,31 +52,33 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725219300000000", + "_dd.p.tid": "69dd45ec00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "PutRule", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "EVXSBTVJ91PNTZP5MRXLAMCQTJ8AM6OD93HW9Y71W0QTQQ8FKBY1", + "aws.requestid": "EFFLWHPETIXXHL9MFC414T8H2KGA19JW8GMWJB66CYFDU156NO8B", "aws_service": "events", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", "rulename": "a-test-bus-rule", - "runtime-id": "45abaca6e35b47d4bbcab4d19d47895a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5659, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 9324846, - "start": 1730486675361990473 + "duration": 3990417, + "start": 1776109036225551677 }], [ { @@ -89,30 +93,32 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725219100000000", + "_dd.p.tid": "69dd45ec00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListRules", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "60SMT4RD398SJX3QGMNKLNJWVJ2QO0PR21XZPXIUFDOLFU026ZIF", + "aws.requestid": "CM8MCFRJLK6FKISBW9QSWRQZQ3FOVMWSCAAC21JI973ETW3ISBPN", "aws_service": "events", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "45abaca6e35b47d4bbcab4d19d47895a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5659, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 148280179, - "start": 1730486673839166140 + "duration": 3885083, + "start": 1776109036229771511 }], [ { @@ -127,31 +133,33 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725219100000000", + "_dd.p.tid": "69dd45ec00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "PutTargets", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "3JM3A50OTY7PFQ6JJJ1O1YJWZ3D17LS1ZDL4NML7J8FKUEOTTYSI", + "aws.requestid": "XYY7SUNATZ6BP8RYD5RARN87RIJH8PD40YP8FQXJL0S4A3IXRVS6", "aws_service": "events", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", "rulename": "", - "runtime-id": "45abaca6e35b47d4bbcab4d19d47895a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5659, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 698383864, - "start": 1730486673115255701 + "duration": 7714083, + "start": 1776109036233880844 }], [ { @@ -166,31 +174,33 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725219100000000", + "_dd.p.tid": "69dd45ec00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "PutEvents", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "KNF5UFDRA15DP2B69OWT2144PWDEEGTL1TPD5JCY0VJR82J4T0O0", + "aws.requestid": "FQV1F7T9RTLIG8H4C28GZ7W7BCCEMFJGCUN966F8WB82YNN5WT9C", "aws_service": "events", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", "rulename": "", - "runtime-id": "45abaca6e35b47d4bbcab4d19d47895a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5659, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 7914310, - "start": 1730486673814005493 + "duration": 26564000, + "start": 1776109036241860344 }], [ { @@ -205,7 +215,9 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725219100000000", + "_dd.p.tid": "69dd45ec00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ReceiveMessage", "aws.partition": "aws", @@ -213,7 +225,7 @@ "aws.request.body.MessageAttributeNames.0": "_datadog", "aws.request.body.QueueUrl": "http://localhost:4566/000000000000/Test", "aws.request.body.WaitTimeSeconds": "2", - "aws.requestid": "31YPMD8JZYWLL31AK9ONLNHSERKFDEPVILN736TXMRHRPGEFJF7G", + "aws.requestid": "5MZCKWI2BGC93IAJHNHAT81FSZC035YEYH8EI8AMYCXANBJANE4Z", "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request", "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH", "aws.response.body.HTTPHeaders.access-control-allow-origin": "*", @@ -221,10 +233,10 @@ "aws.response.body.HTTPHeaders.connection": "close", "aws.response.body.HTTPHeaders.content-length": "1579", "aws.response.body.HTTPHeaders.content-type": "text/xml", - "aws.response.body.HTTPHeaders.date": "Wed, 31 Dec 2025 02:59:01 GMT", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:16 GMT", "aws.response.body.HTTPHeaders.server": "hypercorn-h11", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "31YPMD8JZYWLL31AK9ONLNHSERKFDEPVILN736TXMRHRPGEFJF7G", + "aws.response.body.RequestId": "5MZCKWI2BGC93IAJHNHAT81FSZC035YEYH8EI8AMYCXANBJANE4Z", "aws.response.body.RetryAttempts": "0", "aws.sqs.queue_name": "Test", "aws_account": "000000000000", @@ -234,19 +246,19 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "45abaca6e35b47d4bbcab4d19d47895a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5659, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 8146264, - "start": 1730486673822260931 + "duration": 517826500, + "start": 1776109036274005969 }], [ { @@ -261,29 +273,31 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725219100000000", + "_dd.p.tid": "69dd45ec00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "DeleteEventBus", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "B9WMS96T4C4CO40IRKN8NE6RKATC8FU7W5I9EQNE71WQZE7S3ZD2", + "aws.requestid": "SLPTROG41U0VIQ5KP1SGYBWNPP967M8OH2MO6DP67W4UKNPW4SHH", "aws_service": "events", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", "rulename": "a-test-bus", - "runtime-id": "45abaca6e35b47d4bbcab4d19d47895a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5659, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 7987546, - "start": 1730486673830745107 + "duration": 4845458, + "start": 1776109036792212928 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_kinesis.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_kinesis.json index c73ae8f836e..96fb587b2d9 100644 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_kinesis.json +++ b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_kinesis.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6725212f00000000", + "_dd.p.tid": "69dd45f100000000", + "_dd.svc_src": "tests.contrib.botocore", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "language": "python", - "runtime-id": "2139211528f64010b06b4e04ea9d4202" + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4315 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0 }, - "duration": 2128653547, - "start": 1730486575665558320 + "duration": 1044179278, + "start": 1776109041790748180 }, { "name": "kinesis.command", @@ -34,6 +36,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.botocore", + "_dd.svc_src": "m", "aws.agent": "botocore", "aws.kinesis.stream_name": "test", "aws.operation": "CreateStream", @@ -41,7 +44,7 @@ "aws.region": "us-east-1", "aws.request.body.ShardCount": "1", "aws.request.body.StreamName": "test", - "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:42:56 GMT", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:22 GMT", "aws.response.body.HTTPHeaders.server": "amazon.com", "aws.response.body.HTTPStatusCode": "200", "aws.response.body.RetryAttempts": "0", @@ -53,12 +56,12 @@ "streamname": "test" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "retry_attempts": 0 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "retry_attempts": 0.0 }, - "duration": 1222098056, - "start": 1730486575665790837 + "duration": 509894167, + "start": 1776109041791024222 }, { "name": "kinesis.command", @@ -71,6 +74,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.botocore", + "_dd.svc_src": "m", "aws.agent": "botocore", "aws.kinesis.stream_name": "test", "aws.operation": "PutRecords", @@ -81,7 +85,7 @@ "aws.request.body.Records.1.Data.foo": "bar", "aws.request.body.Records.1.PartitionKey": "1234", "aws.request.body.StreamName": "test", - "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:42:57 GMT", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:22 GMT", "aws.response.body.HTTPHeaders.server": "amazon.com", "aws.response.body.HTTPStatusCode": "200", "aws.response.body.RetryAttempts": "0", @@ -93,12 +97,12 @@ "streamname": "test" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "retry_attempts": 0 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "retry_attempts": 0.0 }, - "duration": 905954737, - "start": 1730486576888145627 + "duration": 533770236, + "start": 1776109042301078472 }], [ { @@ -113,30 +117,32 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725212f00000000", + "_dd.p.tid": "69dd45f100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListQueues", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "S0Y391B6GM02XQHP7AAXP8BV0IZ0PTOUQY82NR7SHN651ERF2H8W", + "aws.requestid": "2D5QABTE6UZWQTYGBUOXRENFBI6XY7PBSLJUYQ3RGX2R5C5HV7W7", "aws_service": "sqs", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "2139211528f64010b06b4e04ea9d4202", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4315, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 9310053, - "start": 1730486575625781470 + "duration": 4876875, + "start": 1776109041685332805 }], [ { @@ -151,12 +157,14 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725212f00000000", + "_dd.p.tid": "69dd45f100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "CreateQueue", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "HZLL7XGXSPWJD740TO4PBM4MN8CCVOL1UJRHUSV05ANLZCC0OEHN", + "aws.requestid": "M6P87SM92SZX19ECH3YDHET1MKU7X38WOQXINES1LNT26II5864K", "aws.sqs.queue_name": "Test", "aws_service": "sqs", "component": "botocore", @@ -164,17 +172,17 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "2139211528f64010b06b4e04ea9d4202", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4315, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 6980220, - "start": 1730486575636068298 + "duration": 4018875, + "start": 1776109041690576013 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3.json index 9b657d4e8c5..61e71c3e2f0 100644 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3.json +++ b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3.json @@ -11,34 +11,36 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "67251ffe00000000", + "_dd.p.tid": "69dd45e600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListBuckets", "aws.partition": "aws", "aws.region": "us-west-2", - "aws.requestid": "YoVIhMGpBHGzxRtSBm3pXrhufApjcHGsVMTaMAfJ55gYoerwKddi", - "aws.response.body.HTTPHeaders.x-amzn-requestid": "YoVIhMGpBHGzxRtSBm3pXrhufApjcHGsVMTaMAfJ55gYoerwKddi", + "aws.requestid": "hvnNefQdYb1KJXOfbW2AhlXrCF4C4k4LT0FgCjHYwyC5j8ISb9fX", + "aws.response.body.HTTPHeaders.x-amzn-requestid": "hvnNefQdYb1KJXOfbW2AhlXrCF4C4k4LT0FgCjHYwyC5j8ISb9fX", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "YoVIhMGpBHGzxRtSBm3pXrhufApjcHGsVMTaMAfJ55gYoerwKddi", + "aws.response.body.RequestId": "hvnNefQdYb1KJXOfbW2AhlXrCF4C4k4LT0FgCjHYwyC5j8ISb9fX", "aws.response.body.RetryAttempts": "0", "aws_service": "s3", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-west-2", - "runtime-id": "010e1ba41dc54c378179fd51445afc77", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 94950.0, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 274611000, - "start": 1767144754512339000 + "duration": 385089541, + "start": 1776109030241329925 }], [ { @@ -53,34 +55,36 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "67251ffc00000000", + "_dd.p.tid": "69dd45e600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListBuckets", "aws.partition": "aws", "aws.region": "us-west-2", - "aws.requestid": "niWe5HO1MgcT2vq21MtdLzhY2xGs3kiyEzq7yR8ShXhvU6qQLAKa", - "aws.response.body.HTTPHeaders.x-amzn-requestid": "niWe5HO1MgcT2vq21MtdLzhY2xGs3kiyEzq7yR8ShXhvU6qQLAKa", + "aws.requestid": "UoiFR6pqqwfR1hgcBZe5ZWSJe2HWDmTts1oIwqnKkkiRIrLqQBLf", + "aws.response.body.HTTPHeaders.x-amzn-requestid": "UoiFR6pqqwfR1hgcBZe5ZWSJe2HWDmTts1oIwqnKkkiRIrLqQBLf", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "niWe5HO1MgcT2vq21MtdLzhY2xGs3kiyEzq7yR8ShXhvU6qQLAKa", + "aws.response.body.RequestId": "UoiFR6pqqwfR1hgcBZe5ZWSJe2HWDmTts1oIwqnKkkiRIrLqQBLf", "aws.response.body.RetryAttempts": "0", "aws_service": "s3", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-west-2", - "runtime-id": "010e1ba41dc54c378179fd51445afc77", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3979, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 943066360, - "start": 1730486268691244191 + "duration": 309970000, + "start": 1776109030627052633 }], [ { @@ -95,7 +99,9 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "67251ffd00000000", + "_dd.p.tid": "69dd45e600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListObjects", "aws.partition": "aws", @@ -104,20 +110,102 @@ "aws_service": "s3", "component": "botocore", "error.message": "Parameter validation failed:\nMissing required parameter in input: \"Bucket\"\nUnknown parameter in input: \"bucket\", must be one of: Bucket, Delimiter, EncodingType, Marker, MaxKeys, Prefix, RequestPayer, ExpectedBucketOwner, OptionalObjectAttributes", - "error.stack": "Traceback (most recent call last):\n File \"/Users/munir.abdinur/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/botocore/patch.py\", line 287, in patched_api_call_fallback\n result = original_func(*args, **kwargs)\n File \"/Users/munir.abdinur/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py3139_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.13/site-packages/botocore/client.py\", line 962, in _make_api_call\n request_dict = self._convert_to_request_dict(\n api_params=api_params,\n ...<3 lines>...\n headers=additional_headers,\n )\n File \"/Users/munir.abdinur/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py3139_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.13/site-packages/botocore/client.py\", line 1036, in _convert_to_request_dict\n request_dict = self._serializer.serialize_to_request(\n api_params, operation_model\n )\n File \"/Users/munir.abdinur/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py3139_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.13/site-packages/botocore/validate.py\", line 381, in serialize_to_request\n raise ParamValidationError(report=report.generate_report())\nbotocore.exceptions.ParamValidationError: Parameter validation failed:\nMissing required parameter in input: \"Bucket\"\nUnknown parameter in input: \"bucket\", must be one of: Bucket, Delimiter, EncodingType, Marker, MaxKeys, Prefix, RequestPayer, ExpectedBucketOwner, OptionalObjectAttributes\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/botocore/patch.py\", line 282, in patched_api_call_fallback\n result = original_func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/botocore/client.py\", line 962, in _make_api_call\n request_dict = self._convert_to_request_dict(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/botocore/client.py\", line 1036, in _convert_to_request_dict\n request_dict = self._serializer.serialize_to_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/botocore/validate.py\", line 381, in serialize_to_request\n raise ParamValidationError(report=report.generate_report())\nbotocore.exceptions.ParamValidationError: Parameter validation failed:\nMissing required parameter in input: \"Bucket\"\nUnknown parameter in input: \"bucket\", must be one of: Bucket, Delimiter, EncodingType, Marker, MaxKeys, Prefix, RequestPayer, ExpectedBucketOwner, OptionalObjectAttributes\n", "error.type": "botocore.exceptions.ParamValidationError", "language": "python", "region": "us-west-2", - "runtime-id": "010e1ba41dc54c378179fd51445afc77", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3979 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0 }, - "duration": 25330622, - "start": 1730486268578039557 + "duration": 256052916, + "start": 1776109030937484842 + }], +[ + { + "name": "sqs.command", + "service": "aws.sqs", + "resource": "sqs.listqueues", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "http", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.botocore", + "_dd.p.dm": "-0", + "_dd.p.tid": "69dd45e600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", + "aws.agent": "botocore", + "aws.operation": "ListQueues", + "aws.partition": "aws", + "aws.region": "us-east-1", + "aws.requestid": "JXTC8M6PIS1V0K088CB1HGS7HE7DTLXM69QS841LBWCDANLPXQBJ", + "aws_service": "sqs", + "component": "botocore", + "http.status_code": "200", + "language": "python", + "region": "us-east-1", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 + }, + "duration": 9687750, + "start": 1776109030149466508 + }], +[ + { + "name": "sqs.command", + "service": "aws.sqs", + "resource": "sqs.createqueue", + "trace_id": 4, + "span_id": 1, + "parent_id": 0, + "type": "http", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.botocore", + "_dd.p.dm": "-0", + "_dd.p.tid": "69dd45e600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", + "aws.agent": "botocore", + "aws.operation": "CreateQueue", + "aws.partition": "aws", + "aws.region": "us-east-1", + "aws.requestid": "74XK40ECDCL1RWVW7RLEQ0X11WO7UZJZSWC3Y26O6P0U1ZJR8HJ3", + "aws.sqs.queue_name": "Test", + "aws_service": "sqs", + "component": "botocore", + "http.status_code": "200", + "language": "python", + "queuename": "Test", + "region": "us-east-1", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 + }, + "duration": 3947584, + "start": 1776109030159840216 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3_invalid_config.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3_invalid_config.json deleted file mode 100644 index 52fdc74b917..00000000000 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3_invalid_config.json +++ /dev/null @@ -1,196 +0,0 @@ -[[ - { - "name": "s3.command", - "service": "aws.s3", - "resource": "s3.listobjects", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 1, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce68500000000", - "aws.agent": "botocore", - "aws.operation": "ListObjects", - "aws.region": "us-west-2", - "aws.request.body.bucket": "mybucket", - "aws_service": "s3", - "component": "botocore", - "error.message": "Parameter validation failed:\nMissing required parameter in input: \"Bucket\"\nUnknown parameter in input: \"bucket\", must be one of: Bucket, Delimiter, EncodingType, Marker, MaxKeys, Prefix, RequestPayer, ExpectedBucketOwner, OptionalObjectAttributes", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/internal/botocore/patch.py\", line 260, in patched_api_call_fallback\n result = original_func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/project/.riot/venv_py3119_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.11/site-packages/botocore/client.py\", line 962, in _make_api_call\n request_dict = self._convert_to_request_dict(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/project/.riot/venv_py3119_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.11/site-packages/botocore/client.py\", line 1036, in _convert_to_request_dict\n request_dict = self._serializer.serialize_to_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/project/.riot/venv_py3119_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.11/site-packages/botocore/validate.py\", line 381, in serialize_to_request\n raise ParamValidationError(report=report.generate_report())\nbotocore.exceptions.ParamValidationError: Parameter validation failed:\nMissing required parameter in input: \"Bucket\"\nUnknown parameter in input: \"bucket\", must be one of: Bucket, Delimiter, EncodingType, Marker, MaxKeys, Prefix, RequestPayer, ExpectedBucketOwner, OptionalObjectAttributes\n", - "error.type": "botocore.exceptions.ParamValidationError", - "language": "python", - "region": "us-west-2", - "runtime-id": "04e00e3356e2405a80487efdd62ed083", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15909 - }, - "duration": 258360186, - "start": 1730995845585860675 - }], -[ - { - "name": "sqs.command", - "service": "aws.sqs", - "resource": "sqs.listqueues", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce68400000000", - "aws.agent": "botocore", - "aws.operation": "ListQueues", - "aws.region": "us-east-1", - "aws.requestid": "WH66MOGDZOAHLB9IDH1YENVWQWHNIFBCEYY6WXS90XPY62O5G9VQ", - "aws_service": "sqs", - "component": "botocore", - "http.status_code": "200", - "language": "python", - "region": "us-east-1", - "runtime-id": "04e00e3356e2405a80487efdd62ed083", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15909, - "retry_attempts": 0 - }, - "duration": 10536457, - "start": 1730995844726668252 - }], -[ - { - "name": "sqs.command", - "service": "aws.sqs", - "resource": "sqs.createqueue", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce68400000000", - "aws.agent": "botocore", - "aws.operation": "CreateQueue", - "aws.region": "us-east-1", - "aws.requestid": "Y3NGMJ72PNIQFJYS5Q7ZBP1WOQOS66HXSC9EVWZV6S0FT38QGYK4", - "aws.sqs.queue_name": "Test", - "aws_service": "sqs", - "component": "botocore", - "http.status_code": "200", - "language": "python", - "queuename": "Test", - "region": "us-east-1", - "runtime-id": "04e00e3356e2405a80487efdd62ed083", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15909, - "retry_attempts": 0 - }, - "duration": 8369723, - "start": 1730995844738366514 - }], -[ - { - "name": "s3.command", - "service": "aws.s3", - "resource": "s3.listbuckets", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce68400000000", - "aws.agent": "botocore", - "aws.operation": "ListBuckets", - "aws.region": "us-west-2", - "aws.requestid": "QKK7SrxEnTcIlaipjYlzX0PtU7L57aCZZDk0FeqDwc1n5o2kTHch", - "aws.response.body.HTTPHeaders.x-amzn-requestid": "QKK7SrxEnTcIlaipjYlzX0PtU7L57aCZZDk0FeqDwc1n5o2kTHch", - "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "QKK7SrxEnTcIlaipjYlzX0PtU7L57aCZZDk0FeqDwc1n5o2kTHch", - "aws.response.body.RetryAttempts": "0", - "aws_service": "s3", - "component": "botocore", - "http.status_code": "200", - "language": "python", - "region": "us-west-2", - "runtime-id": "04e00e3356e2405a80487efdd62ed083", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15909, - "retry_attempts": 0 - }, - "duration": 511793254, - "start": 1730995844812363498 - }], -[ - { - "name": "s3.command", - "service": "aws.s3", - "resource": "s3.listbuckets", - "trace_id": 4, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce68500000000", - "aws.agent": "botocore", - "aws.operation": "ListBuckets", - "aws.region": "us-west-2", - "aws.requestid": "6K6tOztZCjgQlL0jLXtNBRrRYUlYdzY28c5oBJ68sPm8V2puTSf1", - "aws.response.body.HTTPHeaders.x-amzn-requestid": "6K6tOztZCjgQlL0jLXtNBRrRYUlYdzY28c5oBJ68sPm8V2puTSf1", - "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "6K6tOztZCjgQlL0jLXtNBRrRYUlYdzY28c5oBJ68sPm8V2puTSf1", - "aws.response.body.RetryAttempts": "0", - "aws_service": "s3", - "component": "botocore", - "http.status_code": "200", - "language": "python", - "region": "us-west-2", - "runtime-id": "04e00e3356e2405a80487efdd62ed083", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15909, - "retry_attempts": 0 - }, - "duration": 258140931, - "start": 1730995845324937218 - }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3_valid_config.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3_valid_config.json deleted file mode 100644 index 84ecfd0c3cd..00000000000 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_s3_valid_config.json +++ /dev/null @@ -1,196 +0,0 @@ -[[ - { - "name": "s3.command", - "service": "aws.s3", - "resource": "s3.listobjects", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 1, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce67a00000000", - "aws.agent": "botocore", - "aws.operation": "ListObjects", - "aws.region": "us-west-2", - "aws.request.body.bucket": "redacted", - "aws_service": "s3", - "component": "botocore", - "error.message": "Parameter validation failed:\nMissing required parameter in input: \"Bucket\"\nUnknown parameter in input: \"bucket\", must be one of: Bucket, Delimiter, EncodingType, Marker, MaxKeys, Prefix, RequestPayer, ExpectedBucketOwner, OptionalObjectAttributes", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/internal/botocore/patch.py\", line 260, in patched_api_call_fallback\n result = original_func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/project/.riot/venv_py3119_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.11/site-packages/botocore/client.py\", line 962, in _make_api_call\n request_dict = self._convert_to_request_dict(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/project/.riot/venv_py3119_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.11/site-packages/botocore/client.py\", line 1036, in _convert_to_request_dict\n request_dict = self._serializer.serialize_to_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/project/.riot/venv_py3119_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.11/site-packages/botocore/validate.py\", line 381, in serialize_to_request\n raise ParamValidationError(report=report.generate_report())\nbotocore.exceptions.ParamValidationError: Parameter validation failed:\nMissing required parameter in input: \"Bucket\"\nUnknown parameter in input: \"bucket\", must be one of: Bucket, Delimiter, EncodingType, Marker, MaxKeys, Prefix, RequestPayer, ExpectedBucketOwner, OptionalObjectAttributes\n", - "error.type": "botocore.exceptions.ParamValidationError", - "language": "python", - "region": "us-west-2", - "runtime-id": "759db61f971e4e51b3876c2b0771e2b6", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15573 - }, - "duration": 425924882, - "start": 1730995834381654112 - }], -[ - { - "name": "s3.command", - "service": "aws.s3", - "resource": "s3.listbuckets", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce67900000000", - "aws.agent": "botocore", - "aws.operation": "ListBuckets", - "aws.region": "us-west-2", - "aws.requestid": "B7mZ00jPCOhjiOfnfZFCXJR1vlFYkR6uX51Sme72vnNfFzaHVB7D", - "aws.response.body.HTTPHeaders": "redacted", - "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "B7mZ00jPCOhjiOfnfZFCXJR1vlFYkR6uX51Sme72vnNfFzaHVB7D", - "aws.response.body.RetryAttempts": "0", - "aws_service": "s3", - "component": "botocore", - "http.status_code": "200", - "language": "python", - "region": "us-west-2", - "runtime-id": "759db61f971e4e51b3876c2b0771e2b6", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15573, - "retry_attempts": 0 - }, - "duration": 711895059, - "start": 1730995833210793741 - }], -[ - { - "name": "s3.command", - "service": "aws.s3", - "resource": "s3.listbuckets", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce67900000000", - "aws.agent": "botocore", - "aws.operation": "ListBuckets", - "aws.region": "us-west-2", - "aws.requestid": "6rKSkfcYHp8uqW54aYbfS9f5l3nDFA2Xw0dgU65FZF6zAtCQLZa3", - "aws.response.body.HTTPHeaders": "redacted", - "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "6rKSkfcYHp8uqW54aYbfS9f5l3nDFA2Xw0dgU65FZF6zAtCQLZa3", - "aws.response.body.RetryAttempts": "0", - "aws_service": "s3", - "component": "botocore", - "http.status_code": "200", - "language": "python", - "region": "us-west-2", - "runtime-id": "759db61f971e4e51b3876c2b0771e2b6", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15573, - "retry_attempts": 0 - }, - "duration": 454908141, - "start": 1730995833924042857 - }], -[ - { - "name": "sqs.command", - "service": "aws.sqs", - "resource": "sqs.listqueues", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce67900000000", - "aws.agent": "botocore", - "aws.operation": "ListQueues", - "aws.region": "us-east-1", - "aws.requestid": "UZPT9ML68W82KW95PYMN61QF3HRNBY44SH0V1PPSG8W3QH1FL7OX", - "aws_service": "sqs", - "component": "botocore", - "http.status_code": "200", - "language": "python", - "region": "us-east-1", - "runtime-id": "759db61f971e4e51b3876c2b0771e2b6", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15573, - "retry_attempts": 0 - }, - "duration": 12420784, - "start": 1730995833133328246 - }], -[ - { - "name": "sqs.command", - "service": "aws.sqs", - "resource": "sqs.createqueue", - "trace_id": 4, - "span_id": 1, - "parent_id": 0, - "type": "http", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "672ce67900000000", - "aws.agent": "botocore", - "aws.operation": "CreateQueue", - "aws.region": "us-east-1", - "aws.requestid": "PUCYX1ZISWAFZSMWH7WZ5YZXJIM7PGIN2WHWKSSNEZUDYYCX6ZWW", - "aws.sqs.queue_name": "Test", - "aws_service": "sqs", - "component": "botocore", - "http.status_code": "200", - "language": "python", - "queuename": "Test", - "region": "us-east-1", - "runtime-id": "759db61f971e4e51b3876c2b0771e2b6", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15573, - "retry_attempts": 0 - }, - "duration": 8048502, - "start": 1730995833146606461 - }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sns.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sns.json index e468239b4a7..fff29dd86d3 100644 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sns.json +++ b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sns.json @@ -2,7 +2,7 @@ { "name": "sns.command", "service": "aws.sns", - "resource": "sns.deletetopic", + "resource": "sns.publishbatch", "trace_id": 0, "span_id": 1, "parent_id": 0, @@ -11,24 +11,70 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725229500000000", + "_dd.p.tid": "69dd45e800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", - "aws.operation": "DeleteTopic", + "aws.operation": "PublishBatch", "aws.partition": "aws", "aws.region": "us-east-1", + "aws.request.body.PublishBatchRequestEntries.0.Id": "1", + "aws.request.body.PublishBatchRequestEntries.0.Message": "ironmaiden", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.StringValue": "eight", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.StringValue": "five", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.four.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.four.StringValue": "four", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.StringValue": "nine", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.StringValue": "one", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.StringValue": "seven", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.StringValue": "six", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.StringValue": "ten", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.StringValue": "three", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.StringValue": "two", + "aws.request.body.PublishBatchRequestEntries.1.Id": "2", + "aws.request.body.PublishBatchRequestEntries.1.Message": "megadeth", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.StringValue": "eight", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.StringValue": "five", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.four.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.four.StringValue": "four", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.StringValue": "nine", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.StringValue": "one", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.StringValue": "seven", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.StringValue": "six", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.StringValue": "ten", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.StringValue": "three", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.StringValue": "two", "aws.request.body.TopicArn": "arn:aws:sns:us-east-1:000000000000:testTopic", - "aws.requestid": "Q2KSL71R5UZ98W8K82EI1N5K6NU6JQW1A4ELBFTWNT56EQ1YP460", + "aws.requestid": "O5AEDEHHQPKJ4D7EGLP25PEP00WYM69G69A3INUMW76J6SWBXNQ3", "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request", "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH", "aws.response.body.HTTPHeaders.access-control-allow-origin": "*", "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id", "aws.response.body.HTTPHeaders.connection": "close", - "aws.response.body.HTTPHeaders.content-length": "243", + "aws.response.body.HTTPHeaders.content-length": "493", "aws.response.body.HTTPHeaders.content-type": "text/xml", - "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:53 GMT", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:12 GMT", "aws.response.body.HTTPHeaders.server": "hypercorn-h11", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "Q2KSL71R5UZ98W8K82EI1N5K6NU6JQW1A4ELBFTWNT56EQ1YP460", + "aws.response.body.RequestId": "O5AEDEHHQPKJ4D7EGLP25PEP00WYM69G69A3INUMW76J6SWBXNQ3", "aws.response.body.RetryAttempts": "0", "aws.sns.topic_arn": "arn:aws:sns:us-east-1:000000000000:testTopic", "aws_account": "000000000000", @@ -37,20 +83,20 @@ "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "7fd35701caac4cdcaad996ae75408bfc", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client", "topicname": "testTopic" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 0.0, - "_sampling_priority_v1": 1, - "process_id": 8683, - "retry_attempts": 0 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 914034299, - "start": 1730486933261601823 + "duration": 622379417, + "start": 1776109032521894051 }], [ { @@ -65,7 +111,9 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725229400000000", + "_dd.p.tid": "69dd45e900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ReceiveMessage", "aws.partition": "aws", @@ -73,7 +121,7 @@ "aws.request.body.MessageAttributeNames.0": "_datadog", "aws.request.body.QueueUrl": "http://localhost:4566/000000000000/Test", "aws.request.body.WaitTimeSeconds": "2", - "aws.requestid": "NKWPYHQNVPLJRXAAPSDUJJ9NCY5AIQZZE7E9HJZX9NCWDDCWUFZX", + "aws.requestid": "F891R2HU0X7MWR86SINPWB35LG55JILW9QNCYTWIQ1PND02VYNWM", "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request", "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH", "aws.response.body.HTTPHeaders.access-control-allow-origin": "*", @@ -81,10 +129,10 @@ "aws.response.body.HTTPHeaders.connection": "close", "aws.response.body.HTTPHeaders.content-length": "2342", "aws.response.body.HTTPHeaders.content-type": "text/xml", - "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:52 GMT", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:13 GMT", "aws.response.body.HTTPHeaders.server": "hypercorn-h11", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "NKWPYHQNVPLJRXAAPSDUJJ9NCY5AIQZZE7E9HJZX9NCWDDCWUFZX", + "aws.response.body.RequestId": "F891R2HU0X7MWR86SINPWB35LG55JILW9QNCYTWIQ1PND02VYNWM", "aws.response.body.RetryAttempts": "0", "aws.sqs.queue_name": "Test", "aws_account": "000000000000", @@ -94,25 +142,25 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "7fd35701caac4cdcaad996ae75408bfc", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 8683, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 877443506, - "start": 1730486932383733772 + "duration": 513452459, + "start": 1776109033151025009 }], [ { "name": "sns.command", "service": "aws.sns", - "resource": "sns.publishbatch", + "resource": "sns.deletetopic", "trace_id": 2, "span_id": 1, "parent_id": 0, @@ -121,68 +169,26 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725229300000000", + "_dd.p.tid": "69dd45e900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", - "aws.operation": "PublishBatch", + "aws.operation": "DeleteTopic", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.request.body.PublishBatchRequestEntries.0.Id": "1", - "aws.request.body.PublishBatchRequestEntries.0.Message": "ironmaiden", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.StringValue": "eight", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.StringValue": "five", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.four.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.four.StringValue": "four", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.StringValue": "nine", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.StringValue": "one", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.StringValue": "seven", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.StringValue": "six", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.StringValue": "ten", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.StringValue": "three", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.StringValue": "two", - "aws.request.body.PublishBatchRequestEntries.1.Id": "2", - "aws.request.body.PublishBatchRequestEntries.1.Message": "megadeth", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.StringValue": "eight", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.StringValue": "five", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.four.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.four.StringValue": "four", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.StringValue": "nine", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.StringValue": "one", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.StringValue": "seven", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.StringValue": "six", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.StringValue": "ten", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.StringValue": "three", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.StringValue": "two", "aws.request.body.TopicArn": "arn:aws:sns:us-east-1:000000000000:testTopic", - "aws.requestid": "TNF9YUHZNEE2DH09T351ETMYYBHDO7IVF6AHLDHWCTGW8N1NALS9", + "aws.requestid": "J82K9O9N4UC1AEHQKYK24HTVP4YVHJXOBKT4VUHRZNU4VF9Y63B1", "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request", "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH", "aws.response.body.HTTPHeaders.access-control-allow-origin": "*", "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id", "aws.response.body.HTTPHeaders.connection": "close", - "aws.response.body.HTTPHeaders.content-length": "493", + "aws.response.body.HTTPHeaders.content-length": "243", "aws.response.body.HTTPHeaders.content-type": "text/xml", - "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:51 GMT", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:13 GMT", "aws.response.body.HTTPHeaders.server": "hypercorn-h11", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "TNF9YUHZNEE2DH09T351ETMYYBHDO7IVF6AHLDHWCTGW8N1NALS9", + "aws.response.body.RequestId": "J82K9O9N4UC1AEHQKYK24HTVP4YVHJXOBKT4VUHRZNU4VF9Y63B1", "aws.response.body.RetryAttempts": "0", "aws.sns.topic_arn": "arn:aws:sns:us-east-1:000000000000:testTopic", "aws_account": "000000000000", @@ -191,20 +197,20 @@ "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "7fd35701caac4cdcaad996ae75408bfc", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client", "topicname": "testTopic" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 8683, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 930994951, - "start": 1730486931437714538 + "duration": 517173417, + "start": 1776109033664853843 }], [ { @@ -219,13 +225,15 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725229100000000", + "_dd.p.tid": "69dd45e700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "CreateTopic", "aws.partition": "aws", "aws.region": "us-east-1", "aws.request.body.Name": "testTopic", - "aws.requestid": "2SP1AKIYVI5YTSKQBPCT46FFRB3EHSPEF9HI80FKC5BOITPMG21L", + "aws.requestid": "293YB4MIEFPI8EC1S0QNVAPBMCMYVIYI47SZ0JU8MD0809FBHH7H", "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request", "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH", "aws.response.body.HTTPHeaders.access-control-allow-origin": "*", @@ -233,29 +241,29 @@ "aws.response.body.HTTPHeaders.connection": "close", "aws.response.body.HTTPHeaders.content-length": "347", "aws.response.body.HTTPHeaders.content-type": "text/xml", - "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:50 GMT", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:11 GMT", "aws.response.body.HTTPHeaders.server": "hypercorn-h11", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "2SP1AKIYVI5YTSKQBPCT46FFRB3EHSPEF9HI80FKC5BOITPMG21L", + "aws.response.body.RequestId": "293YB4MIEFPI8EC1S0QNVAPBMCMYVIYI47SZ0JU8MD0809FBHH7H", "aws.response.body.RetryAttempts": "0", "aws_service": "sns", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "7fd35701caac4cdcaad996ae75408bfc", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 8683, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 1156027576, - "start": 1730486929411636687 + "duration": 514902209, + "start": 1776109031411825508 }], [ { @@ -270,7 +278,9 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725229200000000", + "_dd.p.tid": "69dd45e700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "Subscribe", "aws.partition": "aws", @@ -278,7 +288,7 @@ "aws.request.body.Endpoint": "redacted", "aws.request.body.Protocol": "sqs", "aws.request.body.TopicArn": "arn:aws:sns:us-east-1:000000000000:testTopic", - "aws.requestid": "DRZH8BAT8J1JR5XVGQ39DH5R0UC7T0SFOAP4EG28LXF9T0B38UIL", + "aws.requestid": "MV6Q2ZCVV0L6QX9ICGLZMXJQ08H75YGCEIDG01BUJ4SHMH76ZZZJ", "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request", "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH", "aws.response.body.HTTPHeaders.access-control-allow-origin": "*", @@ -286,10 +296,10 @@ "aws.response.body.HTTPHeaders.connection": "close", "aws.response.body.HTTPHeaders.content-length": "390", "aws.response.body.HTTPHeaders.content-type": "text/xml", - "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:50 GMT", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:12 GMT", "aws.response.body.HTTPHeaders.server": "hypercorn-h11", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "DRZH8BAT8J1JR5XVGQ39DH5R0UC7T0SFOAP4EG28LXF9T0B38UIL", + "aws.response.body.RequestId": "MV6Q2ZCVV0L6QX9ICGLZMXJQ08H75YGCEIDG01BUJ4SHMH76ZZZJ", "aws.response.body.RetryAttempts": "0", "aws.sns.topic_arn": "arn:aws:sns:us-east-1:000000000000:testTopic", "aws_account": "000000000000", @@ -298,20 +308,20 @@ "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "7fd35701caac4cdcaad996ae75408bfc", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client", "topicname": "testTopic" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 8683, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 869311702, - "start": 1730486930568014008 + "duration": 594187875, + "start": 1776109031927355384 }], [ { @@ -326,30 +336,32 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725229100000000", + "_dd.p.tid": "69dd45e700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListQueues", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "OZZ8QUD0LZ2VTC35GMOFDAOEC1QYXTHUXCOHQDE3FSHVTUIBPOC9", + "aws.requestid": "J3CUBC8DNSQLC9URRCWI8X86W1UFYZAGQXG72173F0BIOR6X6QQK", "aws_service": "sqs", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "7fd35701caac4cdcaad996ae75408bfc", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 8683, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 9532531, - "start": 1730486929363170092 + "duration": 4957541, + "start": 1776109031380124967 }], [ { @@ -364,12 +376,14 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "6725229100000000", + "_dd.p.tid": "69dd45e700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "CreateQueue", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "VICJ8RVZKMBFGEHY06P9E28AOEZKCU5R66AE00RSB229D8Z8Y8TR", + "aws.requestid": "UAUMJC7PZEOJA2IKWZ7725YBJU7EB0NZBROT588Q1IBHN5K3OF52", "aws.sqs.queue_name": "Test", "aws_service": "sqs", "component": "botocore", @@ -377,17 +391,17 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "7fd35701caac4cdcaad996ae75408bfc", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 8683, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 7289635, - "start": 1730486929373616666 + "duration": 3727250, + "start": 1776109031385467925 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sns_valid_config.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sns_valid_config.json index 76203962c64..c19f64604cd 100644 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sns_valid_config.json +++ b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sns_valid_config.json @@ -2,7 +2,7 @@ { "name": "sns.command", "service": "aws.sns", - "resource": "sns.deletetopic", + "resource": "sns.publishbatch", "trace_id": 0, "span_id": 1, "parent_id": 0, @@ -11,13 +11,59 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672ce8ac00000000", + "_dd.p.tid": "69dd45ef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", - "aws.operation": "DeleteTopic", + "aws.operation": "PublishBatch", "aws.partition": "aws", "aws.region": "us-east-1", + "aws.request.body.PublishBatchRequestEntries.0.Id": "redacted", + "aws.request.body.PublishBatchRequestEntries.0.Message": "redacted", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.StringValue": "eight", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.f\\.our.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.f\\.our.StringValue": "four", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.StringValue": "five", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.StringValue": "nine", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.StringValue": "one", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.StringValue": "seven", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.StringValue": "six", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.StringValue": "ten", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.StringValue": "three", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.StringValue": "two", + "aws.request.body.PublishBatchRequestEntries.1.Id": "redacted", + "aws.request.body.PublishBatchRequestEntries.1.Message": "redacted", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.StringValue": "eight", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.f\\.our.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.f\\.our.StringValue": "four", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.StringValue": "five", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.StringValue": "nine", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.StringValue": "one", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.StringValue": "seven", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.StringValue": "six", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.StringValue": "ten", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.StringValue": "three", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.DataType": "String", + "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.StringValue": "two", "aws.request.body.TopicArn": "arn:aws:sns:us-east-1:000000000000:testTopic", - "aws.requestid": "JVBHL3D33EU9ESFUBT6UKMVYQZSIF8BUYJOUNISNJE7722YAZCXZ", + "aws.requestid": "RXIWQJVSSBAWXA388J9P2GGCMHCT75MA2TQWGO0PD4KI7SRHAE7V", "aws.response.body.HTTPHeaders.access-control-allow-headers": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-methods": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-origin": "redacted", @@ -28,7 +74,7 @@ "aws.response.body.HTTPHeaders.date": "redacted", "aws.response.body.HTTPHeaders.server": "redacted", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "JVBHL3D33EU9ESFUBT6UKMVYQZSIF8BUYJOUNISNJE7722YAZCXZ", + "aws.response.body.RequestId": "RXIWQJVSSBAWXA388J9P2GGCMHCT75MA2TQWGO0PD4KI7SRHAE7V", "aws.response.body.RetryAttempts": "0", "aws.sns.topic_arn": "arn:aws:sns:us-east-1:000000000000:testTopic", "aws_account": "000000000000", @@ -37,20 +83,20 @@ "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "cb8f28ac358e4a2a93617272fb46ba0a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client", "topicname": "testTopic" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 0.0, - "_sampling_priority_v1": 1, - "process_id": 17253, - "retry_attempts": 0 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 950339368, - "start": 1730996396594477506 + "duration": 572699959, + "start": 1776109039813593929 }], [ { @@ -65,7 +111,9 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672ce8ab00000000", + "_dd.p.tid": "69dd45f000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ReceiveMessage", "aws.partition": "aws", @@ -73,7 +121,7 @@ "aws.request.body.MessageAttributeNames.0": "_datadog", "aws.request.body.QueueUrl": "http://localhost:4566/000000000000/Test", "aws.request.body.WaitTimeSeconds": "2", - "aws.requestid": "MIWENHGLXX91BMDPEB6MCEP2SKAJ75EERGWKOZIMLK73DBIP2Y2M", + "aws.requestid": "I46OESNZIHWJMGDGLBWZ9JHIRF1E6WLPF6XALTKV89PEDJSG3MKD", "aws.response.body.HTTPHeaders.access-control-allow-headers": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-methods": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-origin": "redacted", @@ -84,7 +132,7 @@ "aws.response.body.HTTPHeaders.date": "redacted", "aws.response.body.HTTPHeaders.server": "redacted", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "MIWENHGLXX91BMDPEB6MCEP2SKAJ75EERGWKOZIMLK73DBIP2Y2M", + "aws.response.body.RequestId": "I46OESNZIHWJMGDGLBWZ9JHIRF1E6WLPF6XALTKV89PEDJSG3MKD", "aws.response.body.RetryAttempts": "0", "aws.sqs.queue_name": "Test", "aws_account": "000000000000", @@ -94,25 +142,25 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "cb8f28ac358e4a2a93617272fb46ba0a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17253, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 936840871, - "start": 1730996395657282340 + "duration": 552257417, + "start": 1776109040393408929 }], [ { "name": "sns.command", "service": "aws.sns", - "resource": "sns.publishbatch", + "resource": "sns.deletetopic", "trace_id": 2, "span_id": 1, "parent_id": 0, @@ -121,57 +169,15 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672ce8aa00000000", + "_dd.p.tid": "69dd45f000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", - "aws.operation": "PublishBatch", + "aws.operation": "DeleteTopic", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.request.body.PublishBatchRequestEntries.0.Id": "redacted", - "aws.request.body.PublishBatchRequestEntries.0.Message": "redacted", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.StringValue": "eight", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.f\\.our.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.f\\.our.StringValue": "four", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.StringValue": "five", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.StringValue": "nine", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.StringValue": "one", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.StringValue": "seven", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.StringValue": "six", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.StringValue": "ten", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.StringValue": "three", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.StringValue": "two", - "aws.request.body.PublishBatchRequestEntries.1.Id": "redacted", - "aws.request.body.PublishBatchRequestEntries.1.Message": "redacted", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.StringValue": "eight", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.f\\.our.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.f\\.our.StringValue": "four", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.StringValue": "five", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.StringValue": "nine", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.StringValue": "one", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.StringValue": "seven", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.StringValue": "six", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.StringValue": "ten", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.StringValue": "three", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.DataType": "String", - "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.StringValue": "two", "aws.request.body.TopicArn": "arn:aws:sns:us-east-1:000000000000:testTopic", - "aws.requestid": "O6X3QA4Q41MYQ6XSGNDZCLA0PSKUKJ045M1LZW3JROSYD5XUFDUT", + "aws.requestid": "3NVYU10RMXVJ1C96T2S9Q4FK9PCZLFOVLYLZLQIKUVQV1300ZK4M", "aws.response.body.HTTPHeaders.access-control-allow-headers": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-methods": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-origin": "redacted", @@ -182,7 +188,7 @@ "aws.response.body.HTTPHeaders.date": "redacted", "aws.response.body.HTTPHeaders.server": "redacted", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "O6X3QA4Q41MYQ6XSGNDZCLA0PSKUKJ045M1LZW3JROSYD5XUFDUT", + "aws.response.body.RequestId": "3NVYU10RMXVJ1C96T2S9Q4FK9PCZLFOVLYLZLQIKUVQV1300ZK4M", "aws.response.body.RetryAttempts": "0", "aws.sns.topic_arn": "arn:aws:sns:us-east-1:000000000000:testTopic", "aws_account": "000000000000", @@ -191,20 +197,20 @@ "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "cb8f28ac358e4a2a93617272fb46ba0a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client", "topicname": "testTopic" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17253, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 947785220, - "start": 1730996394696414263 + "duration": 554964875, + "start": 1776109040946018555 }], [ { @@ -219,13 +225,15 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672ce8a800000000", + "_dd.p.tid": "69dd45ee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "CreateTopic", "aws.partition": "aws", "aws.region": "us-east-1", "aws.request.body.Name": "testTopic", - "aws.requestid": "AMFHK8CWR6R3KC6JT993EINBSHRUAKJ0K8DDMQPFSKVG83GGCZFM", + "aws.requestid": "B4L6LZ3CNC9AG1D5DWT2701NXSQX6TQTOLU08WUJ44OL18KLH4IU", "aws.response.body.HTTPHeaders.access-control-allow-headers": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-methods": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-origin": "redacted", @@ -236,26 +244,26 @@ "aws.response.body.HTTPHeaders.date": "redacted", "aws.response.body.HTTPHeaders.server": "redacted", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "AMFHK8CWR6R3KC6JT993EINBSHRUAKJ0K8DDMQPFSKVG83GGCZFM", + "aws.response.body.RequestId": "B4L6LZ3CNC9AG1D5DWT2701NXSQX6TQTOLU08WUJ44OL18KLH4IU", "aws.response.body.RetryAttempts": "0", "aws_service": "sns", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "cb8f28ac358e4a2a93617272fb46ba0a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17253, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 1002298135, - "start": 1730996392768290024 + "duration": 573268334, + "start": 1776109038616289887 }], [ { @@ -270,7 +278,9 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672ce8a900000000", + "_dd.p.tid": "69dd45ef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "Subscribe", "aws.partition": "aws", @@ -278,7 +288,7 @@ "aws.request.body.Endpoint": "redacted", "aws.request.body.Protocol": "sqs", "aws.request.body.TopicArn": "arn:aws:sns:us-east-1:000000000000:testTopic", - "aws.requestid": "4CICZ8EQUUOACM1IORQNZEDQ33KF9L1RN77E4HL844IK3HR67905", + "aws.requestid": "721BC3QROD23XZ2ZHH63FEJ35KG2ZN5ITHF90WV8W1H71I4O8WFO", "aws.response.body.HTTPHeaders.access-control-allow-headers": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-methods": "redacted", "aws.response.body.HTTPHeaders.access-control-allow-origin": "redacted", @@ -289,7 +299,7 @@ "aws.response.body.HTTPHeaders.date": "redacted", "aws.response.body.HTTPHeaders.server": "redacted", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "4CICZ8EQUUOACM1IORQNZEDQ33KF9L1RN77E4HL844IK3HR67905", + "aws.response.body.RequestId": "721BC3QROD23XZ2ZHH63FEJ35KG2ZN5ITHF90WV8W1H71I4O8WFO", "aws.response.body.RetryAttempts": "0", "aws.sns.topic_arn": "arn:aws:sns:us-east-1:000000000000:testTopic", "aws_account": "000000000000", @@ -298,20 +308,20 @@ "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "cb8f28ac358e4a2a93617272fb46ba0a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client", "topicname": "testTopic" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17253, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 925091785, - "start": 1730996393770937800 + "duration": 623125000, + "start": 1776109039190127512 }], [ { @@ -326,30 +336,32 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672ce8a800000000", + "_dd.p.tid": "69dd45ee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListQueues", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "1R7ANT6AC71E49ONC2STF3NHNM8YGOWXDNYGBPX1QGLXEB6MXAZ3", + "aws.requestid": "NIG5ILH7G6JRUP0OFD1UPV7GG9JV1JFSD5TE1P61YGR149XU1SJ7", "aws_service": "sqs", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "cb8f28ac358e4a2a93617272fb46ba0a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17253, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 9878649, - "start": 1730996392724547367 + "duration": 5108166, + "start": 1776109038590980304 }], [ { @@ -364,12 +376,14 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672ce8a800000000", + "_dd.p.tid": "69dd45ee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "CreateQueue", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "I4Y5CAECJIZRS8C7GVJK7GQG0Y1NDGA95JPTBSWNCXIQGRNIOZS3", + "aws.requestid": "PS6IKOHSDHNPW0ISKVH0FAIJQ6NPWX5ED6FGGLOLAJF9JPRM64MT", "aws.sqs.queue_name": "Test", "aws_service": "sqs", "component": "botocore", @@ -377,17 +391,17 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "cb8f28ac358e4a2a93617272fb46ba0a", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17253, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 7524614, - "start": 1730996392735210004 + "duration": 4956583, + "start": 1776109038596488762 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sqs.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sqs.json index 5bd762ad934..f248b4a22eb 100644 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sqs.json +++ b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sqs.json @@ -2,7 +2,7 @@ { "name": "sqs.command", "service": "aws.sqs", - "resource": "sqs.receivemessage", + "resource": "sqs.sendmessage", "trace_id": 0, "span_id": 1, "parent_id": 0, @@ -11,26 +11,47 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672522b300000000", + "_dd.p.tid": "69dd45ed00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", - "aws.operation": "ReceiveMessage", + "aws.operation": "SendMessage", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.request.body.MessageAttributeNames.0": "_datadog", + "aws.request.body.MessageAttributes.eight.DataType": "String", + "aws.request.body.MessageAttributes.eight.StringValue": "eight", + "aws.request.body.MessageAttributes.five.DataType": "String", + "aws.request.body.MessageAttributes.five.StringValue": "five", + "aws.request.body.MessageAttributes.four.DataType": "String", + "aws.request.body.MessageAttributes.four.StringValue": "four", + "aws.request.body.MessageAttributes.nine.DataType": "String", + "aws.request.body.MessageAttributes.nine.StringValue": "nine", + "aws.request.body.MessageAttributes.one.DataType": "String", + "aws.request.body.MessageAttributes.one.StringValue": "one", + "aws.request.body.MessageAttributes.seven.DataType": "String", + "aws.request.body.MessageAttributes.seven.StringValue": "seven", + "aws.request.body.MessageAttributes.six.DataType": "String", + "aws.request.body.MessageAttributes.six.StringValue": "six", + "aws.request.body.MessageAttributes.ten.DataType": "String", + "aws.request.body.MessageAttributes.ten.StringValue": "ten", + "aws.request.body.MessageAttributes.three.DataType": "String", + "aws.request.body.MessageAttributes.three.StringValue": "three", + "aws.request.body.MessageAttributes.two.DataType": "String", + "aws.request.body.MessageAttributes.two.StringValue": "two", + "aws.request.body.MessageBody": "world", "aws.request.body.QueueUrl": "http://localhost:4566/000000000000/Test", - "aws.request.body.WaitTimeSeconds": "2", - "aws.requestid": "WJ6C1QMRXCMYSO918PTT0Y8488VH2RZHPKHZZXQZ1E3L079PE2PE", + "aws.requestid": "SVX63KWPDRKAWQKZVYM5AXGR7EY0TKIQF00DOI8XD267BQZOCAYK", "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request", "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH", "aws.response.body.HTTPHeaders.access-control-allow-origin": "*", "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id", "aws.response.body.HTTPHeaders.connection": "close", - "aws.response.body.HTTPHeaders.content-length": "654", + "aws.response.body.HTTPHeaders.content-length": "493", "aws.response.body.HTTPHeaders.content-type": "text/xml", - "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:49:24 GMT", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:17 GMT", "aws.response.body.HTTPHeaders.server": "hypercorn-h11", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "WJ6C1QMRXCMYSO918PTT0Y8488VH2RZHPKHZZXQZ1E3L079PE2PE", + "aws.response.body.RequestId": "SVX63KWPDRKAWQKZVYM5AXGR7EY0TKIQF00DOI8XD267BQZOCAYK", "aws.response.body.RetryAttempts": "0", "aws.sqs.queue_name": "Test", "aws_account": "000000000000", @@ -40,25 +61,25 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "e45a6c451bfb47bfbb0f4f36bd0803a3", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9691, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 895390012, - "start": 1730486964009311666 + "duration": 622146834, + "start": 1776109037241173303 }], [ { "name": "sqs.command", "service": "aws.sqs", - "resource": "sqs.listqueues", + "resource": "sqs.receivemessage", "trace_id": 1, "span_id": 1, "parent_id": 0, @@ -67,36 +88,56 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672522b200000000", + "_dd.p.tid": "69dd45ed00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", - "aws.operation": "ListQueues", + "aws.operation": "ReceiveMessage", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "GCXA1QNSIT8ZCO2ER8SPI6U6QPTINWZKK1J0QLJE4FV89SOAG7VY", + "aws.request.body.MessageAttributeNames.0": "_datadog", + "aws.request.body.QueueUrl": "http://localhost:4566/000000000000/Test", + "aws.request.body.WaitTimeSeconds": "2", + "aws.requestid": "H0TZNE289B17KVLH13F69JE1LKXH5SQPIUYPWASYLMGPWU369VDB", + "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request", + "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH", + "aws.response.body.HTTPHeaders.access-control-allow-origin": "*", + "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id", + "aws.response.body.HTTPHeaders.connection": "close", + "aws.response.body.HTTPHeaders.content-length": "654", + "aws.response.body.HTTPHeaders.content-type": "text/xml", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:17 GMT", + "aws.response.body.HTTPHeaders.server": "hypercorn-h11", + "aws.response.body.HTTPStatusCode": "200", + "aws.response.body.RequestId": "H0TZNE289B17KVLH13F69JE1LKXH5SQPIUYPWASYLMGPWU369VDB", + "aws.response.body.RetryAttempts": "0", + "aws.sqs.queue_name": "Test", + "aws_account": "000000000000", "aws_service": "sqs", "component": "botocore", "http.status_code": "200", "language": "python", + "queuename": "Test", "region": "us-east-1", - "runtime-id": "e45a6c451bfb47bfbb0f4f36bd0803a3", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9691, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 9492759, - "start": 1730486963003404555 + "duration": 531880459, + "start": 1776109037870478803 }], [ { "name": "sqs.command", "service": "aws.sqs", - "resource": "sqs.createqueue", + "resource": "sqs.listqueues", "trace_id": 2, "span_id": 1, "parent_id": 0, @@ -105,38 +146,38 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672522b300000000", + "_dd.p.tid": "69dd45ed00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", - "aws.operation": "CreateQueue", + "aws.operation": "ListQueues", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "A3R2CT5ZWO1XH9GEAT7L232IPRFJSCTBRRGO9LCSBEUX0T8KHC1O", - "aws.sqs.queue_name": "Test", + "aws.requestid": "4QLT75Z5OE28UJ551R3P9P3IXRU7Z8DKC1SBF0B5GDE186JNGVOZ", "aws_service": "sqs", "component": "botocore", "http.status_code": "200", "language": "python", - "queuename": "Test", "region": "us-east-1", - "runtime-id": "e45a6c451bfb47bfbb0f4f36bd0803a3", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9691, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 7553649, - "start": 1730486963013740697 + "duration": 4933416, + "start": 1776109037225956845 }], [ { "name": "sqs.command", "service": "aws.sqs", - "resource": "sqs.sendmessage", + "resource": "sqs.createqueue", "trace_id": 3, "span_id": 1, "parent_id": 0, @@ -145,65 +186,32 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "672522b300000000", + "_dd.p.tid": "69dd45ed00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", - "aws.operation": "SendMessage", + "aws.operation": "CreateQueue", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.request.body.MessageAttributes.eight.DataType": "String", - "aws.request.body.MessageAttributes.eight.StringValue": "eight", - "aws.request.body.MessageAttributes.five.DataType": "String", - "aws.request.body.MessageAttributes.five.StringValue": "five", - "aws.request.body.MessageAttributes.four.DataType": "String", - "aws.request.body.MessageAttributes.four.StringValue": "four", - "aws.request.body.MessageAttributes.nine.DataType": "String", - "aws.request.body.MessageAttributes.nine.StringValue": "nine", - "aws.request.body.MessageAttributes.one.DataType": "String", - "aws.request.body.MessageAttributes.one.StringValue": "one", - "aws.request.body.MessageAttributes.seven.DataType": "String", - "aws.request.body.MessageAttributes.seven.StringValue": "seven", - "aws.request.body.MessageAttributes.six.DataType": "String", - "aws.request.body.MessageAttributes.six.StringValue": "six", - "aws.request.body.MessageAttributes.ten.DataType": "String", - "aws.request.body.MessageAttributes.ten.StringValue": "ten", - "aws.request.body.MessageAttributes.three.DataType": "String", - "aws.request.body.MessageAttributes.three.StringValue": "three", - "aws.request.body.MessageAttributes.two.DataType": "String", - "aws.request.body.MessageAttributes.two.StringValue": "two", - "aws.request.body.MessageBody": "world", - "aws.request.body.QueueUrl": "http://localhost:4566/000000000000/Test", - "aws.requestid": "NLK4TDG9YGTYRAMQ6QHN6NWC6QKRSSIZ8IBF0DS4RTY2Y3YWA7XC", - "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request", - "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH", - "aws.response.body.HTTPHeaders.access-control-allow-origin": "*", - "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id", - "aws.response.body.HTTPHeaders.connection": "close", - "aws.response.body.HTTPHeaders.content-length": "493", - "aws.response.body.HTTPHeaders.content-type": "text/xml", - "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:49:23 GMT", - "aws.response.body.HTTPHeaders.server": "hypercorn-h11", - "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "NLK4TDG9YGTYRAMQ6QHN6NWC6QKRSSIZ8IBF0DS4RTY2Y3YWA7XC", - "aws.response.body.RetryAttempts": "0", + "aws.requestid": "56U4VE1K45OMYWIKRL4XNZB3NAHU6TFQM23ELKU08MP5LR2SSOL0", "aws.sqs.queue_name": "Test", - "aws_account": "000000000000", "aws_service": "sqs", "component": "botocore", "http.status_code": "200", "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "e45a6c451bfb47bfbb0f4f36bd0803a3", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9691, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 964509306, - "start": 1730486963031752521 + "duration": 4393459, + "start": 1776109037231309261 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sqs_invalid_config.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sqs_invalid_config.json index ff609ba61e7..f13e0759b5c 100644 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sqs_invalid_config.json +++ b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_sqs_invalid_config.json @@ -11,36 +11,38 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "686be1a100000000", + "_dd.p.tid": "69dd45ec00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListQueues", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "0VVK8P7HYGMWNR72ZOMDKVN5YWBEMTQB06KZ8UIJFXZCTWB8EOE7", + "aws.requestid": "BAUSI3EB90K1TVIQ89BEJTRVBE02AMNP7JE5CVPI1LJD4WHBZ7PQ", "aws_service": "sqs", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "7455813a717c4f2db67e4941325daca2", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 46598, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 13548000, - "start": 1751900577380009000 + "duration": 3288583, + "start": 1776109036993957386 }], [ { "name": "sqs.command", "service": "aws.sqs", - "resource": "sqs.createqueue", + "resource": "sqs.deletequeue", "trace_id": 1, "span_id": 1, "parent_id": 0, @@ -49,12 +51,57 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "686be1a100000000", + "_dd.p.tid": "69dd45ec00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", + "aws.agent": "botocore", + "aws.operation": "DeleteQueue", + "aws.partition": "aws", + "aws.region": "us-east-1", + "aws.requestid": "II9UU6TM4B345IAW41CMUAFT8MAHHQSCD3VZHEYQQLAS8OK3VSN4", + "aws.sqs.queue_name": "Test", + "aws_account": "000000000000", + "aws_service": "sqs", + "component": "botocore", + "http.status_code": "200", + "language": "python", + "queuename": "Test", + "region": "us-east-1", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 + }, + "duration": 3605792, + "start": 1776109036997639344 + }], +[ + { + "name": "sqs.command", + "service": "aws.sqs", + "resource": "sqs.createqueue", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "http", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.botocore", + "_dd.p.dm": "-0", + "_dd.p.tid": "69dd45ed00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "CreateQueue", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "K4YVEQB22VBV7J7O70UXR6OJ2UJIOHP75492EF9JZ2TWGB8B7YRX", + "aws.requestid": "3KH8HX9K2C0WR6U8X79RBLFAQQA5F2D9OVAFSWU8BFQGU1D6NXZD", "aws.sqs.queue_name": "Test", "aws_service": "sqs", "component": "botocore", @@ -62,26 +109,26 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "7455813a717c4f2db67e4941325daca2", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 46598, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 5525000, - "start": 1751900577393879000 + "duration": 3131083, + "start": 1776109037001483178 }], [ { "name": "sqs.command", "service": "aws.sqs", "resource": "sqs.sendmessage", - "trace_id": 2, + "trace_id": 3, "span_id": 1, "parent_id": 0, "type": "http", @@ -89,12 +136,14 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "686be1a100000000", + "_dd.p.tid": "69dd45ed00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "SendMessage", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "IJFLTU6W4ECLHWB7LW92UT17VYSEKQ08GBSJD7N5U6TQ1AD9Q22Y", + "aws.requestid": "JCYC4DNROS7EHAAKHRS4QPK7BKPLJ27BNLQGALRFZTRO7RS70PSF", "aws.sqs.queue_name": "Test", "aws_account": "000000000000", "aws_service": "sqs", @@ -103,26 +152,26 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "7455813a717c4f2db67e4941325daca2", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 46598, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 15291000, - "start": 1751900577404725000 + "duration": 13089333, + "start": 1776109037004865428 }], [ { "name": "sqs.command", "service": "aws.sqs", "resource": "sqs.receivemessage", - "trace_id": 3, + "trace_id": 4, "span_id": 1, "parent_id": 0, "type": "http", @@ -130,12 +179,14 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "686be1a100000000", + "_dd.p.tid": "69dd45ed00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ReceiveMessage", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "KU9VQAAZ4ZJP5SEV02OTOAUX89HMHSP63ND7QTFBG7EMDCA28W0D", + "aws.requestid": "9WRHZEV7CKFCVDTB2RR9D9BEKYE6B76UZ3TQGN9A9HOX45D12YJ3", "aws.sqs.queue_name": "Test", "aws_account": "000000000000", "aws_service": "sqs", @@ -144,17 +195,17 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "7455813a717c4f2db67e4941325daca2", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 46598, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 103000, - "start": 1751900577427944000 + "duration": 146958, + "start": 1776109037027185303 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_dynamodb_payload_tagging.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_dynamodb_payload_tagging.json index 7f3857147c1..f2fcabbac62 100644 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_dynamodb_payload_tagging.json +++ b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_dynamodb_payload_tagging.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "67a6776f00000000", + "_dd.p.tid": "69dd45eb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.dynamodb.table_name": "foobar", "aws.operation": "GetItem", @@ -19,33 +21,33 @@ "aws.region": "us-west-2", "aws.request.body.Key.myattr.S": "baz", "aws.request.body.TableName": "foobar", - "aws.requestid": "1pGBOmkOZ1BdOWIHeWnkX96CO0n93XaZSqtfcgRZJhe6hrREgPCs", - "aws.response.body.HTTPHeaders.date": "Fri, 07 Feb 2025 21:13:20 GMT", + "aws.requestid": "GCuMQnN98YzsDpHXY0NQ8lof6okVHlX0448XtHTc09GxTFNQgDkr", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:15 GMT", "aws.response.body.HTTPHeaders.server": "amazon.com", "aws.response.body.HTTPHeaders.x-amz-crc32": "357125523", - "aws.response.body.HTTPHeaders.x-amzn-requestid": "1pGBOmkOZ1BdOWIHeWnkX96CO0n93XaZSqtfcgRZJhe6hrREgPCs", + "aws.response.body.HTTPHeaders.x-amzn-requestid": "GCuMQnN98YzsDpHXY0NQ8lof6okVHlX0448XtHTc09GxTFNQgDkr", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "1pGBOmkOZ1BdOWIHeWnkX96CO0n93XaZSqtfcgRZJhe6hrREgPCs", + "aws.response.body.RequestId": "GCuMQnN98YzsDpHXY0NQ8lof6okVHlX0448XtHTc09GxTFNQgDkr", "aws.response.body.RetryAttempts": "0", "aws_service": "dynamodb", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-west-2", - "runtime-id": "ef4281e602a34aa3b78873db2aa0da91", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client", "tablename": "foobar" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7842, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 898096696, - "start": 1738962799557241364 + "duration": 519729042, + "start": 1776109035498160219 }, { "name": "botocore.parsers.parse", @@ -58,11 +60,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.botocore", + "_dd.svc_src": "m", "component": "botocore", "span.kind": "client" }, - "duration": 328440, - "start": 1738962800007520310 + "duration": 168708, + "start": 1776109035760252469 }], [ { @@ -77,7 +80,9 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "67a6776d00000000", + "_dd.p.tid": "69dd45ea00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.dynamodb.table_name": "foobar", "aws.operation": "CreateTable", @@ -89,33 +94,33 @@ "aws.request.body.KeySchema.0.AttributeName": "myattr", "aws.request.body.KeySchema.0.KeyType": "HASH", "aws.request.body.TableName": "foobar", - "aws.requestid": "s5qfbhhfkr4Go9yZWDL5eSDNflqO9AY7R1PtdbeHgZSnABZRXWwc", - "aws.response.body.HTTPHeaders.date": "Fri, 07 Feb 2025 21:13:17 GMT", + "aws.requestid": "ILPzuJKb2caRp5xt14VYHtyMG7msa3aFvcfQaj1nTYry8pE6hqzR", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:14 GMT", "aws.response.body.HTTPHeaders.server": "amazon.com", - "aws.response.body.HTTPHeaders.x-amz-crc32": "725802381", - "aws.response.body.HTTPHeaders.x-amzn-requestid": "s5qfbhhfkr4Go9yZWDL5eSDNflqO9AY7R1PtdbeHgZSnABZRXWwc", + "aws.response.body.HTTPHeaders.x-amz-crc32": "1487519321", + "aws.response.body.HTTPHeaders.x-amzn-requestid": "ILPzuJKb2caRp5xt14VYHtyMG7msa3aFvcfQaj1nTYry8pE6hqzR", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "s5qfbhhfkr4Go9yZWDL5eSDNflqO9AY7R1PtdbeHgZSnABZRXWwc", + "aws.response.body.RequestId": "ILPzuJKb2caRp5xt14VYHtyMG7msa3aFvcfQaj1nTYry8pE6hqzR", "aws.response.body.RetryAttempts": "0", "aws_service": "dynamodb", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-west-2", - "runtime-id": "ef4281e602a34aa3b78873db2aa0da91", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client", "tablename": "foobar" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7842, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 1169517214, - "start": 1738962797488686721 + "duration": 514053916, + "start": 1776109034394201052 }, { "name": "botocore.parsers.parse", @@ -128,11 +133,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.botocore", + "_dd.svc_src": "m", "component": "botocore", "span.kind": "client" }, - "duration": 680298, - "start": 1738962798196385705 + "duration": 409625, + "start": 1776109034653362218 }], [ { @@ -147,7 +153,9 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "67a6776e00000000", + "_dd.p.tid": "69dd45ea00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.dynamodb.table_name": "foobar", "aws.operation": "PutItem", @@ -155,33 +163,33 @@ "aws.region": "us-west-2", "aws.request.body.Item.myattr.S": "baz", "aws.request.body.TableName": "foobar", - "aws.requestid": "l8KoXDDLWxK9lyqrrMRmtbdenA29koyXlCZEOlqgXgh46RkAzTiV", - "aws.response.body.HTTPHeaders.date": "Fri, 07 Feb 2025 21:13:19 GMT", + "aws.requestid": "VsGluBaVQ4g4aljVsmNNHdl4dqWWylz7iR4N844DKUTQ87m1wEYb", + "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:15 GMT", "aws.response.body.HTTPHeaders.server": "amazon.com", "aws.response.body.HTTPHeaders.x-amz-crc32": "2745614147", - "aws.response.body.HTTPHeaders.x-amzn-requestid": "l8KoXDDLWxK9lyqrrMRmtbdenA29koyXlCZEOlqgXgh46RkAzTiV", + "aws.response.body.HTTPHeaders.x-amzn-requestid": "VsGluBaVQ4g4aljVsmNNHdl4dqWWylz7iR4N844DKUTQ87m1wEYb", "aws.response.body.HTTPStatusCode": "200", - "aws.response.body.RequestId": "l8KoXDDLWxK9lyqrrMRmtbdenA29koyXlCZEOlqgXgh46RkAzTiV", + "aws.response.body.RequestId": "VsGluBaVQ4g4aljVsmNNHdl4dqWWylz7iR4N844DKUTQ87m1wEYb", "aws.response.body.RetryAttempts": "0", "aws_service": "dynamodb", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-west-2", - "runtime-id": "ef4281e602a34aa3b78873db2aa0da91", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client", "tablename": "foobar" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7842, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 897531031, - "start": 1738962798659199416 + "duration": 589004292, + "start": 1776109034908807302 }, { "name": "botocore.parsers.parse", @@ -194,11 +202,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.botocore", + "_dd.svc_src": "m", "component": "botocore", "span.kind": "client" }, - "duration": 188248, - "start": 1738962799115125322 + "duration": 91792, + "start": 1776109035229576677 }], [ { @@ -213,30 +222,32 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "67a6776d00000000", + "_dd.p.tid": "69dd45ea00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListQueues", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "8BQ748A97HZTB3DQNICVX52K4H4KRCK9BWKBM3QX1FE0F9DJ4481", + "aws.requestid": "AOHRIVB0715NYPD9N4R2P8FCFJZJFW3VIV69YHLFMQSTRQSFND89", "aws_service": "sqs", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "ef4281e602a34aa3b78873db2aa0da91", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7842, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 17043485, - "start": 1738962797437241544 + "duration": 4731333, + "start": 1776109034363206552 }], [ { @@ -251,12 +262,14 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "67a6776d00000000", + "_dd.p.tid": "69dd45ea00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "CreateQueue", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "P5XR375SOHFTGCNG78FP0M00O7J8TR5Y01KWQXDNSAC2MR17BVSN", + "aws.requestid": "PPEYRYQ4TM4UG8LU91TRJMNOYOP2R4GUOKJR1ZNWVQ2AMNI36BQ8", "aws.sqs.queue_name": "Test", "aws_service": "sqs", "component": "botocore", @@ -264,17 +277,17 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "ef4281e602a34aa3b78873db2aa0da91", + "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7842, - "retry_attempts": 0 + "_sampling_priority_v1": 1.0, + "process_id": 11175.0, + "retry_attempts": 0.0 }, - "duration": 9204293, - "start": 1738962797455089485 + "duration": 4319125, + "start": 1776109034368313760 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_ai21_invoke.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_ai21_invoke.json index 14c56243df8..b2501010242 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_ai21_invoke.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_ai21_invoke.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f905d00000000", + "_dd.p.tid": "69dd45ca00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "j2-mid-v1", "bedrock.request.model_provider": "ai21", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2443000, - "start": 1753190493493215000 + "duration": 3018208, + "start": 1776109002162638676 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_embedding.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_embedding.json index 24db04264b6..9c44a9d8a11 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_embedding.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_embedding.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f909300000000", + "_dd.p.tid": "69dd45c900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "titan-embed-text-v1", "bedrock.request.model_provider": "amazon", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2984000, - "start": 1753190547196841000 + "duration": 2950042, + "start": 1776109001244444800 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_invoke.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_invoke.json index 2be827b3d67..050f098cc3a 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_invoke.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_invoke.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f909700000000", + "_dd.p.tid": "69dd45cb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "titan-tg1-large", "bedrock.request.model_provider": "amazon", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 3073000, - "start": 1753190551918378000 + "duration": 2827667, + "start": 1776109003566772051 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_invoke_stream.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_invoke_stream.json index b946b3504bc..04e1f5d6e6f 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_invoke_stream.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_amazon_invoke_stream.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f906d00000000", + "_dd.p.tid": "69dd45c800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "titan-tg1-large", "bedrock.request.model_provider": "amazon", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2425000, - "start": 1753190509996644000 + "duration": 3296958, + "start": 1776109000136645383 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_invoke.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_invoke.json index b5ae783be60..4b7a0f26add 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_invoke.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_invoke.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f906100000000", + "_dd.p.tid": "69dd45c800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "claude-instant-v1", "bedrock.request.model_provider": "anthropic", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2430000, - "start": 1753190497608584000 + "duration": 2793000, + "start": 1776109000878064008 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_invoke_stream.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_invoke_stream.json index f45de87f61e..2f80f01f96d 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_invoke_stream.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_invoke_stream.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f905000000000", + "_dd.p.tid": "69dd45c900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "claude-instant-v1", "bedrock.request.model_provider": "anthropic", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2491000, - "start": 1753190480977001000 + "duration": 2896292, + "start": 1776109001787904050 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_message_invoke.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_message_invoke.json index 954daddfb98..e7e4d6cabdb 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_message_invoke.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_message_invoke.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f907200000000", + "_dd.p.tid": "69dd45c900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "claude-3-sonnet-20240229-v1:0", "bedrock.request.model_provider": "anthropic", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2471000, - "start": 1753190514051234000 + "duration": 2889542, + "start": 1776109001610755675 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_message_invoke_stream.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_message_invoke_stream.json index a504a228fff..40c405f5651 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_message_invoke_stream.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_anthropic_message_invoke_stream.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f904c00000000", + "_dd.p.tid": "69dd45cb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "claude-3-sonnet-20240229-v1:0", "bedrock.request.model_provider": "anthropic", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 3377000, - "start": 1753190476842317000 + "duration": 3716500, + "start": 1776109003215551384 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_auth_error.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_auth_error.json index e015e1bc844..c4d66a42779 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_auth_error.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_auth_error.json @@ -11,21 +11,23 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f907a00000000", + "_dd.p.tid": "69dd45ca00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "llama2-13b-chat-v1", "bedrock.request.model_provider": "meta", "error.message": "An error occurred (ExpiredTokenException) when calling the InvokeModel operation: The security token included in the request is expired", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/botocore/services/bedrock.py\", line 472, in patched_bedrock_api_call\n result = original_func(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.10/site-packages/botocore/client.py\", line 1009, in _make_api_call\n raise error_class(parsed_response, operation_name)\nbotocore.exceptions.ClientError: An error occurred (ExpiredTokenException) when calling the InvokeModel operation: The security token included in the request is expired\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/botocore/services/bedrock.py\", line 482, in patched_bedrock_api_call\n result = original_func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/botocore/client.py\", line 1009, in _make_api_call\n raise error_class(parsed_response, operation_name)\nbotocore.exceptions.ClientError: An error occurred (ExpiredTokenException) when calling the InvokeModel operation: The security token included in the request is expired\n", "error.type": "botocore.exceptions.ClientError", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2663000, - "start": 1753190522357575000 + "duration": 3228875, + "start": 1776109002526276759 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_embedding.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_embedding.json index 33e4df0bd4b..e49963c6b49 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_embedding.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_embedding.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f906500000000", + "_dd.p.tid": "69dd45c800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "embed-english-v3", "bedrock.request.model_provider": "cohere", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2605000, - "start": 1753190501735406000 + "duration": 2991458, + "start": 1776109000329084300 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_multi_output.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_multi_output.json index 58d89427960..bf5f32cffca 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_multi_output.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_multi_output.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f908a00000000", + "_dd.p.tid": "69dd45cb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "command-light-text-v14", "bedrock.request.model_provider": "cohere", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2407000, - "start": 1753190538912282000 + "duration": 2817750, + "start": 1776109003031742009 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_single_output.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_single_output.json index 0a8d973740d..15e6a7dd530 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_single_output.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_single_output.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f908200000000", + "_dd.p.tid": "69dd45c900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "command-light-text-v14", "bedrock.request.model_provider": "cohere", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2471000, - "start": 1753190530651867000 + "duration": 2846583, + "start": 1776109001068546592 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_stream_multi_output.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_stream_multi_output.json index dc4ce7293ac..29a1a970ed4 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_stream_multi_output.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_stream_multi_output.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f905900000000", + "_dd.p.tid": "69dd45c800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "command-light-text-v14", "bedrock.request.model_provider": "cohere", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 3175000, - "start": 1753190489445346000 + "duration": 3610958, + "start": 1776109000698410175 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_stream_single_output.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_stream_single_output.json index fd2bf0b7ed3..73e2de04132 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_stream_single_output.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_cohere_invoke_stream_single_output.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f907e00000000", + "_dd.p.tid": "69dd45cb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "command-light-text-v14", "bedrock.request.model_provider": "cohere", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2892000, - "start": 1753190526520682000 + "duration": 3445333, + "start": 1776109003391571051 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse.json deleted file mode 100644 index 5ecdd04c70e..00000000000 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse.json +++ /dev/null @@ -1,28 +0,0 @@ -[[ - { - "name": "bedrock-runtime.command", - "service": "aws.bedrock-runtime", - "resource": "Converse", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "687f91d500000000", - "bedrock.request.model": "claude-3-sonnet-20240229-v1:0", - "bedrock.request.model_provider": "anthropic", - "language": "python", - "runtime-id": "010264f12a6742c593eec2d695a7be36" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 28868 - }, - "duration": 3524000, - "start": 1753190869176844000 - }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse_stream.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse_stream.json deleted file mode 100644 index 5746fc328e7..00000000000 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse_stream.json +++ /dev/null @@ -1,28 +0,0 @@ -[[ - { - "name": "bedrock-runtime.command", - "service": "aws.bedrock-runtime", - "resource": "ConverseStream", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.botocore", - "_dd.p.dm": "-0", - "_dd.p.tid": "687f91d900000000", - "bedrock.request.model": "claude-3-sonnet-20240229-v1:0", - "bedrock.request.model_provider": "anthropic", - "language": "python", - "runtime-id": "010264f12a6742c593eec2d695a7be36" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 28868 - }, - "duration": 4498000, - "start": 1753190873347670000 - }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_invoke_model_using_aws_arn_model_id.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_invoke_model_using_aws_arn_model_id.json index c14049d5992..c600499895d 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_invoke_model_using_aws_arn_model_id.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_invoke_model_using_aws_arn_model_id.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f905500000000", + "_dd.p.tid": "69dd45c800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "titan-tg1-large", "bedrock.request.model_provider": "amazon", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2690000, - "start": 1753190485342424000 + "duration": 3001125, + "start": 1776109000517391508 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_meta_invoke.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_meta_invoke.json index f23dedd18b8..981f60bc268 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_meta_invoke.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_meta_invoke.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f904800000000", + "_dd.p.tid": "69dd45c900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "llama2-13b-chat-v1", "bedrock.request.model_provider": "meta", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2553000, - "start": 1753190472726641000 + "duration": 2830667, + "start": 1776109001420250633 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_meta_invoke_stream.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_meta_invoke_stream.json index a88f644dfe4..6ed337eb271 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_meta_invoke_stream.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_meta_invoke_stream.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f906900000000", + "_dd.p.tid": "69dd45c900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "llama2-13b-chat-v1", "bedrock.request.model_provider": "meta", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 4452000, - "start": 1753190505982132000 + "duration": 5348000, + "start": 1776109001964450175 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_read_error.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_read_error.json index ce310930f18..316d841d39b 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_read_error.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_read_error.json @@ -11,21 +11,23 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f908600000000", + "_dd.p.tid": "69dd45ca00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "llama2-13b-chat-v1", "bedrock.request.model_provider": "meta", "error.message": "test", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/botocore/services/bedrock.py\", line 50, in read\n formatted_response = _extract_text_and_response_reason(self._execution_ctx, self._body[0])\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.10/site-packages/mock/mock.py\", line 1178, in __call__\n return _mock_self._mock_call(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.10/site-packages/mock/mock.py\", line 1182, in _mock_call\n return _mock_self._execute_mock_call(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.10/site-packages/mock/mock.py\", line 1239, in _execute_mock_call\n raise effect\nException: test\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/botocore/services/bedrock.py\", line 36, in traced_stream_read\n formatted_response = _extract_text_and_response_reason(execution_ctx, handler.chunks[0])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/mock/mock.py\", line 1190, in __call__\n return _mock_self._mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/mock/mock.py\", line 1194, in _mock_call\n return _mock_self._execute_mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/mock/mock.py\", line 1251, in _execute_mock_call\n raise effect\nException: test\n", "error.type": "builtins.Exception", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 3478000, - "start": 1753190534785647000 + "duration": 4212375, + "start": 1776109002340356342 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_readlines_error.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_readlines_error.json index 915e6e8231a..a23cee1be60 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_readlines_error.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_readlines_error.json @@ -11,21 +11,23 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f908f00000000", + "_dd.p.tid": "69dd45ca00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "bedrock.request.model": "llama2-13b-chat-v1", "bedrock.request.model_provider": "meta", "error.message": "test", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/botocore/services/bedrock.py\", line 66, in readlines\n formatted_response = _extract_text_and_response_reason(self._execution_ctx, self._body[0])\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.10/site-packages/mock/mock.py\", line 1178, in __call__\n return _mock_self._mock_call(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.10/site-packages/mock/mock.py\", line 1182, in _mock_call\n return _mock_self._execute_mock_call(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.10/site-packages/mock/mock.py\", line 1239, in _execute_mock_call\n raise effect\nException: test\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/botocore/services/bedrock.py\", line 55, in traced_stream_readlines\n formatted_response = _extract_text_and_response_reason(execution_ctx, handler.chunks[0])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/mock/mock.py\", line 1190, in __call__\n return _mock_self._mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/mock/mock.py\", line 1194, in _mock_call\n return _mock_self._execute_mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_moto[all]50_pytest-randomly_vcrpy601_botocore13449_boto313449/lib/python3.12/site-packages/mock/mock.py\", line 1251, in _execute_mock_call\n raise effect\nException: test\n", "error.type": "builtins.Exception", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 2606000, - "start": 1753190543046184000 + "duration": 3270375, + "start": 1776109002855152634 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock_agents.test_agent_invoke.json b/tests/snapshots/tests.contrib.botocore.test_bedrock_agents.test_agent_invoke.json index 071d1a7d678..f722361f1a3 100644 --- a/tests/snapshots/tests.contrib.botocore.test_bedrock_agents.test_agent_invoke.json +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock_agents.test_agent_invoke.json @@ -11,17 +11,19 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "687f8f1800000000", + "_dd.p.tid": "69dd45c600000000", + "_dd.svc_src": "botocore", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "language": "python", - "runtime-id": "f9bd434e80c74a2e87a2796368dac486" + "runtime-id": "86933269d17f48f5b2d2b76948d7dbb1" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25551 + "_sampling_priority_v1": 1.0, + "process_id": 10452.0 }, - "duration": 3801000, - "start": 1753190168427516000 + "duration": 5311334, + "start": 1776108998821674007 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_dsm.test_data_streams_botocore_enabled.json b/tests/snapshots/tests.contrib.botocore.test_dsm.test_data_streams_botocore_enabled.json index e03895982cd..22a2e6192db 100644 --- a/tests/snapshots/tests.contrib.botocore.test_dsm.test_data_streams_botocore_enabled.json +++ b/tests/snapshots/tests.contrib.botocore.test_dsm.test_data_streams_botocore_enabled.json @@ -11,12 +11,14 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "697bb2ec00000000", + "_dd.p.tid": "69dd462200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpxy0w75el,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "aws.agent": "botocore", "aws.operation": "CreateQueue", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "FbZ4FCFnuLwRbxoNnClu7NSAjyWONE7PLQLgyWEdpRpfbM57PAEm", + "aws.requestid": "W3RIbFpm6sFZqSIJ2KJy77vnYN8udk84z6EL5PEllZYUCnYYt8Gu", "aws.sqs.queue_name": "test_queue", "aws_service": "sqs", "component": "botocore", @@ -24,7 +26,7 @@ "language": "python", "queuename": "test_queue", "region": "us-east-1", - "runtime-id": "24279b903c3741b2bae285fb315da33e", + "runtime-id": "beb87338b3764a788cfc811d4297de3c", "span.kind": "client" }, "metrics": { @@ -32,11 +34,11 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 58703.0, + "process_id": 12046.0, "retry_attempts": 0.0 }, - "duration": 73953000, - "start": 1769714412413274000 + "duration": 111229750, + "start": 1776109090293024050 }], [ { @@ -51,12 +53,14 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "697bb2ec00000000", + "_dd.p.tid": "69dd462200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpxy0w75el,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "aws.agent": "botocore", "aws.operation": "SendMessage", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "UIyaCXT8hrjRvxEwKFafjGMSoSE9v7JKZFoJGuOTAqYePuOXSlcn", + "aws.requestid": "EhScMTNswcFsQEJoxYC2XNvgcz66N2TPi8eSU2UK15cSoExH8CVg", "aws.sqs.queue_name": "test_queue", "aws_account": "123456789012", "aws_service": "sqs", @@ -65,7 +69,7 @@ "language": "python", "queuename": "test_queue", "region": "us-east-1", - "runtime-id": "24279b903c3741b2bae285fb315da33e", + "runtime-id": "beb87338b3764a788cfc811d4297de3c", "span.kind": "client" }, "metrics": { @@ -73,11 +77,11 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 58703.0, + "process_id": 12046.0, "retry_attempts": 0.0 }, - "duration": 1369000, - "start": 1769714412487479000 + "duration": 3487417, + "start": 1776109090404615841 }], [ { @@ -92,12 +96,14 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "697bb2ec00000000", + "_dd.p.tid": "69dd462200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpxy0w75el,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "aws.agent": "botocore", "aws.operation": "ReceiveMessage", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "ZXuGgo5D7Ke7OuDIQHfbC477wgiq7RYZjOWKUNTy1JeLswVQnf5f", + "aws.requestid": "1s1b6vNxezwbkoBgBKNF98ROVA6JILjnRdPWGwDk5rMi3fa0w4Ld", "aws.sqs.queue_name": "test_queue", "aws_account": "123456789012", "aws_service": "sqs", @@ -106,7 +112,7 @@ "language": "python", "queuename": "test_queue", "region": "us-east-1", - "runtime-id": "24279b903c3741b2bae285fb315da33e", + "runtime-id": "beb87338b3764a788cfc811d4297de3c", "span.kind": "client" }, "metrics": { @@ -114,11 +120,11 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 58703.0, + "process_id": 12046.0, "retry_attempts": 0.0 }, - "duration": 32000, - "start": 1769714412489969000 + "duration": 43625, + "start": 1776109090414579466 }], [ { @@ -133,12 +139,14 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "697bb2ec00000000", + "_dd.p.tid": "69dd462200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpxy0w75el,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "aws.agent": "botocore", "aws.operation": "DeleteQueue", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "EQJoVHm5P5kvARosAEzSuLFCzNrG4HHZNb68xktVspHw8Tul4p4b", + "aws.requestid": "TN1IC0yx4Vy9n53qwAtaTPdBiwWMKKZ8RkKrKjW7YEuxfGm9NBgy", "aws.sqs.queue_name": "test_queue", "aws_account": "123456789012", "aws_service": "sqs", @@ -147,7 +155,7 @@ "language": "python", "queuename": "test_queue", "region": "us-east-1", - "runtime-id": "24279b903c3741b2bae285fb315da33e", + "runtime-id": "beb87338b3764a788cfc811d4297de3c", "span.kind": "client" }, "metrics": { @@ -155,9 +163,9 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 58703.0, + "process_id": 12046.0, "retry_attempts": 0.0 }, - "duration": 578000, - "start": 1769714412490062000 + "duration": 789334, + "start": 1776109090414701841 }]] From 540b0646e70e0dbe7baec5555223874341a61d2b Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Mon, 13 Apr 2026 12:49:54 -0700 Subject: [PATCH 004/114] update psycopg snapshots --- ..._psycopg.test_composed_query_encoding.json | 22 +-- ...opg.test_postgres_dbm_propagation_tag.json | 132 ++++++++++-------- ...psycopg_snapshot.test_connect_default.json | 1 - ..._psycopg_snapshot.test_connect_traced.json | 18 +-- ..._snapshot.test_connect_traced_via_env.json | 18 +-- 5 files changed, 104 insertions(+), 87 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_default.json diff --git a/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_composed_query_encoding.json b/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_composed_query_encoding.json index c78bd880943..d728dff5cc1 100644 --- a/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_composed_query_encoding.json +++ b/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_composed_query_encoding.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.psycopg", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd48bc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.psycopg", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -19,19 +21,19 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "91b9e07942704e02bd33721f33785cc6", + "runtime-id": "c56a9ba77f2d4899b4d299470795a3e3", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 5432, - "process_id": 75536 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 5432.0, + "process_id": 14990.0 }, - "duration": 789458, - "start": 1692712207066515758 + "duration": 1393916, + "start": 1776109756472501386 }]] diff --git a/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_postgres_dbm_propagation_tag.json b/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_postgres_dbm_propagation_tag.json index e8d469216a4..826fce6e208 100644 --- a/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_postgres_dbm_propagation_tag.json +++ b/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_postgres_dbm_propagation_tag.json @@ -12,7 +12,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd48bb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -20,21 +22,21 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "8f3f46668bbc48e5be37411599b3ba6d", + "runtime-id": "352c277eaec24fbc834290e243e6c6ac", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 75560 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 5432.0, + "process_id": 14996.0 }, - "duration": 881500, - "start": 1692712208528994925 + "duration": 554083, + "start": 1776109755972683344 }], [ { @@ -50,7 +52,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd48bb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -58,22 +62,22 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "8f3f46668bbc48e5be37411599b3ba6d", + "runtime-id": "352c277eaec24fbc834290e243e6c6ac", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 5432, - "process_id": 75560 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 5432.0, + "process_id": 14996.0 }, - "duration": 788750, - "start": 1692712208555977092 + "duration": 406334, + "start": 1776109755973522552 }], [ { @@ -89,7 +93,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd48bb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -97,21 +103,21 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "8f3f46668bbc48e5be37411599b3ba6d", + "runtime-id": "352c277eaec24fbc834290e243e6c6ac", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 75560 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 5432.0, + "process_id": 14996.0 }, - "duration": 255875, - "start": 1692712208556840925 + "duration": 181458, + "start": 1776109755974022844 }], [ { @@ -127,7 +133,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd48bb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -135,22 +143,22 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "8f3f46668bbc48e5be37411599b3ba6d", + "runtime-id": "352c277eaec24fbc834290e243e6c6ac", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 5432, - "process_id": 75560 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 5432.0, + "process_id": 14996.0 }, - "duration": 478042, - "start": 1692712208557140800 + "duration": 267708, + "start": 1776109755974269969 }], [ { @@ -166,7 +174,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd48bb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -174,21 +184,21 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "8f3f46668bbc48e5be37411599b3ba6d", + "runtime-id": "352c277eaec24fbc834290e243e6c6ac", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 75560 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 5432.0, + "process_id": 14996.0 }, - "duration": 214833, - "start": 1692712208557670467 + "duration": 191917, + "start": 1776109755974618552 }], [ { @@ -204,7 +214,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd48bb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -212,20 +224,20 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "8f3f46668bbc48e5be37411599b3ba6d", + "runtime-id": "352c277eaec24fbc834290e243e6c6ac", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 5432, - "process_id": 75560 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 5432.0, + "process_id": 14996.0 }, - "duration": 391333, - "start": 1692712208557926717 + "duration": 245083, + "start": 1776109755974877219 }]] diff --git a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_default.json b/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_default.json deleted file mode 100644 index fe51488c706..00000000000 --- a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_default.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced.json b/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced.json index 3ab4a071805..7d2fba2508e 100644 --- a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced.json +++ b/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd48c200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpbm98qwf6,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.system": "postgresql", "language": "python", - "runtime-id": "91b9e07942704e02bd33721f33785cc6", + "runtime-id": "fb4c1d3ca70e44649ac00c0e0bcf0913", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 75536 + "_sampling_priority_v1": 1.0, + "process_id": 15231.0 }, - "duration": 3814375, - "start": 1692712228475612795 + "duration": 2178459, + "start": 1776109762943839916 }]] diff --git a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced_via_env.json b/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced_via_env.json index 05de2315914..ee736947d95 100644 --- a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced_via_env.json +++ b/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced_via_env.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "672bb03d00000000", + "_dd.p.tid": "69dd48c200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.system": "postgresql", "language": "python", - "runtime-id": "cb42548710de494d94d2000afc8b62e8", + "runtime-id": "3509a816c16246998ec848ddc95c387e", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 99101 + "_sampling_priority_v1": 1.0, + "process_id": 15221.0 }, - "duration": 12353000, - "start": 1730916413457503000 + "duration": 2127458, + "start": 1776109762292844639 }]] From 8ec488cd362880ed7a76ebd6a58fd9027fd12811 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Mon, 13 Apr 2026 16:12:30 -0700 Subject: [PATCH 005/114] update psycopg2 snapshots --- ..._psycopg.test_composed_query_encoding.json | 22 ++--- ...opg.test_postgres_dbm_propagation_tag.json | 88 ++++++++++--------- ...psycopg_snapshot.test_connect_default.json | 1 - ..._psycopg_snapshot.test_connect_traced.json | 18 ++-- ..._snapshot.test_connect_traced_via_env.json | 18 ++-- 5 files changed, 80 insertions(+), 67 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_default.json diff --git a/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_composed_query_encoding.json b/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_composed_query_encoding.json index 8a7c86337a0..6c85f6547c1 100644 --- a/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_composed_query_encoding.json +++ b/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_composed_query_encoding.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.psycopg2", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd783400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.psycopg2", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -19,19 +21,19 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "5e80c5a691c84329bbe0464d28854fae", + "runtime-id": "2dddf211af824f259e536f360a56212d", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 5432, - "process_id": 75387 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 5432.0, + "process_id": 59607.0 }, - "duration": 854333, - "start": 1692712137162231545 + "duration": 1237333, + "start": 1776121908868631376 }]] diff --git a/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_postgres_dbm_propagation_tag.json b/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_postgres_dbm_propagation_tag.json index a17ac620fd4..ba79654cdd2 100644 --- a/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_postgres_dbm_propagation_tag.json +++ b/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_postgres_dbm_propagation_tag.json @@ -12,7 +12,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd783400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -20,21 +22,21 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "4b04b30d8b3e43eab009a6e5a167f3c1", + "runtime-id": "2a7241e1e7e1405ea541c3f80aae900c", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 75405 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 5432.0, + "process_id": 59619.0 }, - "duration": 661458, - "start": 1692712138854378004 + "duration": 475042, + "start": 1776121908802563834 }], [ { @@ -50,7 +52,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd783400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -58,22 +62,22 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "4b04b30d8b3e43eab009a6e5a167f3c1", + "runtime-id": "2a7241e1e7e1405ea541c3f80aae900c", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 5432, - "process_id": 75405 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 5432.0, + "process_id": 59619.0 }, - "duration": 352458, - "start": 1692712138878464296 + "duration": 238959, + "start": 1776121908803332042 }], [ { @@ -89,7 +93,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd783400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -97,21 +103,21 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "4b04b30d8b3e43eab009a6e5a167f3c1", + "runtime-id": "2a7241e1e7e1405ea541c3f80aae900c", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 75405 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 5432.0, + "process_id": 59619.0 }, - "duration": 120000, - "start": 1692712138878880087 + "duration": 131208, + "start": 1776121908803654751 }], [ { @@ -127,7 +133,9 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd783400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -135,20 +143,20 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "4b04b30d8b3e43eab009a6e5a167f3c1", + "runtime-id": "2a7241e1e7e1405ea541c3f80aae900c", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 5432, - "process_id": 75405 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 5432.0, + "process_id": 59619.0 }, - "duration": 143416, - "start": 1692712138879039796 + "duration": 228375, + "start": 1776121908803850542 }]] diff --git a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_default.json b/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_default.json deleted file mode 100644 index fe51488c706..00000000000 --- a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_default.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced.json b/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced.json index 0c1664570db..49aa0856010 100644 --- a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced.json +++ b/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dd784200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpu2ukylf3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.system": "postgresql", "language": "python", - "runtime-id": "5e80c5a691c84329bbe0464d28854fae", + "runtime-id": "f641f8e775104c49b6b16e8f16e66681", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 75387 + "_sampling_priority_v1": 1.0, + "process_id": 59863.0 }, - "duration": 3607708, - "start": 1692712154644657553 + "duration": 3543167, + "start": 1776121922149705882 }]] diff --git a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced_via_env.json b/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced_via_env.json index 4a064bf2b5c..45735f56445 100644 --- a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced_via_env.json +++ b/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced_via_env.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "672bb07300000000", + "_dd.p.tid": "69dd784200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.system": "postgresql", "language": "python", - "runtime-id": "8166f0c068d04b2f9b5ee065e819d7c0", + "runtime-id": "b614f19509404a9f86b2a5347da5b856", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 689 + "_sampling_priority_v1": 1.0, + "process_id": 59884.0 }, - "duration": 11286000, - "start": 1730916467898579000 + "duration": 3828459, + "start": 1776121922946283257 }]] From 0c7ec57276d6157aa20e38f979b86c5d6dfcbe29 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 06:52:21 -0700 Subject: [PATCH 006/114] update mariadb snapshots --- ...analytics_with_rate_snapshot_post_1_1.json | 36 ----------- ..._analytics_with_rate_snapshot_pre_1_1.json | 36 ----------- ...lytics_without_rate_snapshot_post_1_1.json | 36 ----------- ...alytics_without_rate_snapshot_pre_1_1.json | 36 ----------- ...mariadb.test_commit_snapshot_post_1_1.json | 18 +++--- ..._mariadb.test_commit_snapshot_pre_1_1.json | 18 +++--- ...query_many_fetchall_snapshot_post_1_1.json | 64 ++++++++++--------- ..._query_many_fetchall_snapshot_pre_1_1.json | 64 ++++++++++--------- ...adb.test_query_proc_snapshot_post_1_1.json | 22 ++++--- ...iadb.test_query_proc_snapshot_pre_1_1.json | 22 ++++--- ...veral_rows_fetchall_snapshot_post_1_1.json | 42 ++++++------ ...everal_rows_fetchall_snapshot_pre_1_1.json | 42 ++++++------ ...y_with_several_rows_snapshot_post_1_1.json | 22 ++++--- ...ry_with_several_rows_snapshot_pre_1_1.json | 22 ++++--- ...d_operation[service_schema0]_post_1_1.json | 22 ++++--- ...nd_operation[service_schema0]_pre_1_1.json | 22 ++++--- ...d_operation[service_schema1]_post_1_1.json | 22 ++++--- ...nd_operation[service_schema1]_pre_1_1.json | 22 ++++--- ...d_operation[service_schema2]_post_1_1.json | 22 ++++--- ...nd_operation[service_schema2]_pre_1_1.json | 22 ++++--- ...d_operation[service_schema3]_post_1_1.json | 22 ++++--- ...nd_operation[service_schema3]_pre_1_1.json | 22 ++++--- ...d_operation[service_schema4]_post_1_1.json | 22 ++++--- ...nd_operation[service_schema4]_pre_1_1.json | 22 ++++--- ...d_operation[service_schema5]_post_1_1.json | 22 ++++--- ...nd_operation[service_schema5]_pre_1_1.json | 22 ++++--- ...ple_malformed_query_snapshot_post_1_1.json | 24 +++---- ...mple_malformed_query_snapshot_pre_1_1.json | 24 +++---- ...mple_query_fetchall_snapshot_post_1_1.json | 42 ++++++------ ...imple_query_fetchall_snapshot_pre_1_1.json | 42 ++++++------ ...b.test_simple_query_snapshot_post_1_1.json | 22 ++++--- ...db.test_simple_query_snapshot_pre_1_1.json | 22 ++++--- ..._dd_mariadb_service_snapshot_post_1_1.json | 22 ++++--- ...d_dd_mariadb_service_snapshot_pre_1_1.json | 22 ++++--- 34 files changed, 448 insertions(+), 516 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_post_1_1.json delete mode 100644 tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_pre_1_1.json delete mode 100644 tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_post_1_1.json delete mode 100644 tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_pre_1_1.json diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_post_1_1.json deleted file mode 100644 index f2dd97fd631..00000000000 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_post_1_1.json +++ /dev/null @@ -1,36 +0,0 @@ -[[ - { - "name": "mariadb.query", - "service": "mariadb", - "resource": "SELECT 1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.mariadb", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "mariadb", - "db.name": "test", - "db.system": "mariadb", - "db.user": "test", - "language": "python", - "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", - "server.address": "127.0.0.1", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19671 - }, - "duration": 219334, - "start": 1692647311267009218 - }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_pre_1_1.json deleted file mode 100644 index 0aea2e33752..00000000000 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_pre_1_1.json +++ /dev/null @@ -1,36 +0,0 @@ -[[ - { - "name": "mariadb.query", - "service": "mariadb", - "resource": "SELECT 1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.mariadb", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "mariadb", - "db.name": "test", - "db.system": "mariadb", - "db.user": "test", - "language": "python", - "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", - "server.address": "127.0.0.1", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19547 - }, - "duration": 202291, - "start": 1692647267184071712 - }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_post_1_1.json deleted file mode 100644 index 9c346b852ea..00000000000 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_post_1_1.json +++ /dev/null @@ -1,36 +0,0 @@ -[[ - { - "name": "mariadb.query", - "service": "mariadb", - "resource": "SELECT 1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.mariadb", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "mariadb", - "db.name": "test", - "db.system": "mariadb", - "db.user": "test", - "language": "python", - "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", - "server.address": "127.0.0.1", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19671 - }, - "duration": 186583, - "start": 1692647311277946052 - }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_pre_1_1.json deleted file mode 100644 index e6c48bdeaf6..00000000000 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_pre_1_1.json +++ /dev/null @@ -1,36 +0,0 @@ -[[ - { - "name": "mariadb.query", - "service": "mariadb", - "resource": "SELECT 1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.mariadb", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "mariadb", - "db.name": "test", - "db.system": "mariadb", - "db.user": "test", - "language": "python", - "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", - "server.address": "127.0.0.1", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19547 - }, - "duration": 175083, - "start": 1692647267195025587 - }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_post_1_1.json index 8569f187f1c..1b011c0b8a3 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_post_1_1.json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 126625, - "start": 1692647311243494927 + "duration": 126708, + "start": 1776174565493365133 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_pre_1_1.json index f6153568f25..a12f50b12a0 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_pre_1_1.json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45ff00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 135834, - "start": 1692647267161722878 + "duration": 350916, + "start": 1776174591761022423 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_post_1_1.json index 191f25e8312..571d34dac9e 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_post_1_1.json @@ -11,29 +11,31 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 360125, - "start": 1692647311232537135 + "duration": 292708, + "start": 1776174564380222466 }], [ { @@ -48,28 +50,30 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 216166, - "start": 1692647311233205177 + "duration": 202084, + "start": 1776174564380879382 }], [ { @@ -84,25 +88,27 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 53916, - "start": 1692647311233482427 + "duration": 49750, + "start": 1776174564381380007 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_pre_1_1.json index 8c27826fa30..57c13a0c3dd 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_pre_1_1.json @@ -11,29 +11,31 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 320125, - "start": 1692647267150049378 + "duration": 347250, + "start": 1776174595218637841 }], [ { @@ -48,28 +50,30 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 248167, - "start": 1692647267150690253 + "duration": 223709, + "start": 1776174595219399549 }], [ { @@ -84,25 +88,27 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 50167, - "start": 1692647267150997670 + "duration": 55208, + "start": 1776174595219770758 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_post_1_1.json index 559bed10ff8..f6c224ab482 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_post_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 436542, - "start": 1692647311256214093 + "duration": 363541, + "start": 1776174565481512925 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_pre_1_1.json index 481b03a7dfa..c73c69fb220 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_pre_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 571875, - "start": 1692647267172692545 + "duration": 486084, + "start": 1776174595184300924 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_post_1_1.json index 22d48261daf..1eef92c6340 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_post_1_1.json @@ -11,28 +11,30 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 3, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 3.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 244250, - "start": 1692647311219557760 + "duration": 323709, + "start": 1776174565462339591 }], [ { @@ -47,25 +49,27 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 3, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 3.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 61667, - "start": 1692647311220098218 + "duration": 104334, + "start": 1776174565463066216 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_pre_1_1.json index 6abf3a15163..66bd89d51b8 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_pre_1_1.json @@ -11,28 +11,30 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 254209, - "start": 1692647267136948628 + "duration": 367042, + "start": 1776174595200983424 }], [ { @@ -47,25 +49,27 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 3, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "db.row_count": 3.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 57458, - "start": 1692647267137522920 + "duration": 117625, + "start": 1776174595201844299 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_post_1_1.json index f53f2de2bec..a6f8eb44fb6 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_post_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 3, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 3.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 309917, - "start": 1692647311210920968 + "duration": 286458, + "start": 1776174564401438424 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_pre_1_1.json index 8b4399bd455..ee2cc29019e 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_pre_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 403709, - "start": 1692647267128257003 + "duration": 337458, + "start": 1776174594016896841 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_post_1_1.json index e78b5b4463d..9eb62059813 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_post_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "ee5f4d9b7b384027b4587b886c75903a", + "runtime-id": "7601708c4116426ca4e0806f403f19b3", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19677 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61473.0 }, - "duration": 267083, - "start": 1692647305352792632 + "duration": 178292, + "start": 1776174562676343090 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_pre_1_1.json index c649cd3c11f..da46a1ad2b0 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_pre_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "35ee3b9d62ae4fddb271b990911487ad", + "runtime-id": "496c2338c72e4516a9bd4b2e4c57109a", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19553 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62377.0 }, - "duration": 232584, - "start": 1692647261765025292 + "duration": 175417, + "start": 1776174592411890006 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_post_1_1.json index 7378ebb4387..1ea9cee9681 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_post_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "dc744e327de747319edc49baa8a17c8e", + "runtime-id": "16db8838812f41ee8df13da466e29dd8", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19680 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61589.0 }, - "duration": 280166, - "start": 1692647306436758633 + "duration": 177375, + "start": 1776174566127429342 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_pre_1_1.json index b14b73bb3ef..2157b60406b 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_pre_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "683c964c368d4ddfbe882af7e1b889ac", + "runtime-id": "5d45b0b9ebe944e59dd4e6e02d47764e", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19556 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62437.0 }, - "duration": 323708, - "start": 1692647262755043168 + "duration": 168750, + "start": 1776174595048807049 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_post_1_1.json index 5b9d07a5d72..619199dfa74 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_post_1_1.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e400000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", @@ -19,19 +21,19 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "8a47d8862dc4498ea44bba0aa2d25612", + "runtime-id": "d925cf762116486ea350196aa7dce1c0", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 52045 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61512.0 }, - "duration": 328000, - "start": 1685619049587872054 + "duration": 197542, + "start": 1776174564224396549 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_pre_1_1.json index c21bb4b23a6..0f7f31dce7f 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_pre_1_1.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460100000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", @@ -19,19 +21,19 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "5f4b7917002a4f0498351a5bddedbcbb", + "runtime-id": "6eab37ba8ec54eaab99c63e00d256347", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 51953 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62388.0 }, - "duration": 206250, - "start": 1685619025014162626 + "duration": 169458, + "start": 1776174593151807465 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_post_1_1.json index 1472df07e39..831101455c5 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_post_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "23008368d7b8452b88c0acf73312c93c", + "runtime-id": "30f35fe6503b42b0ae754dbbc5180b82", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19686 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61600.0 }, - "duration": 247083, - "start": 1692647308730645092 + "duration": 194791, + "start": 1776174566867325384 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_pre_1_1.json index 8714d940f59..c2e2147a440 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_pre_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "bc86c32383d946fca3fc9a9de8dee50d", + "runtime-id": "3098400712dd4443a010b0491c9696b3", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19562 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62474.0 }, - "duration": 233292, - "start": 1692647264697535710 + "duration": 163333, + "start": 1776174595932923883 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_post_1_1.json index 5fd67a7afa1..04c082003f7 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_post_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e7f4386aba914e12b8053e6234cda398", + "runtime-id": "598771ef1ad44c488812baf37278956f", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19689 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61557.0 }, - "duration": 253208, - "start": 1692647309773133301 + "duration": 181667, + "start": 1776174565345460216 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_pre_1_1.json index 3582a568751..3f61779516c 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_pre_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b99867c722f44f2680c92721e325bf5a", + "runtime-id": "d8c3e847e79d4abdaf56a45f2ab38002", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19565 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62404.0 }, - "duration": 251416, - "start": 1692647265681358003 + "duration": 170000, + "start": 1776174593907833341 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_post_1_1.json index 0f2e0380028..56c9def935f 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_post_1_1.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e300000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", "db.system": "mariadb", @@ -19,19 +21,19 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "5842268f67714b5aa90fca481d379a4d", + "runtime-id": "c75f039a4cdd423193f53053241c83ed", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 52060 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61494.0 }, - "duration": 289250, - "start": 1685619052784139000 + "duration": 202625, + "start": 1776174563466443424 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_pre_1_1.json index 2eadd048bcd..5a7664e3083 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_pre_1_1.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45ff00000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", "db.system": "mariadb", @@ -19,19 +21,19 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "b90b1aef18a646e889c4c8ced8707cd8", + "runtime-id": "916a151aacfb436fb57ff51e75396209", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 51968 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62354.0 }, - "duration": 266208, - "start": 1685619028302835086 + "duration": 159000, + "start": 1776174591645923381 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_post_1_1.json index c02547ce492..a7470bd295e 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_post_1_1.json @@ -11,29 +11,31 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "error.message": "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELEC 1' at line 1", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/dbapi/__init__.py\", line 124, in _trace_method\n return method(*args, **kwargs)\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_mariadb~10/lib/python3.9/site-packages/mariadb/cursors.py\", line 312, in execute\n self._readresponse()\nmariadb.ProgrammingError: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELEC 1' at line 1\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/dbapi.py\", line 136, in _trace_method\n return method(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_mariadb~112/lib/python3.12/site-packages/mariadb/cursors.py\", line 351, in execute\n self._readresponse()\nmariadb.ProgrammingError: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELEC 1' at line 1\n", "error.type": "mariadb.ProgrammingError", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": -1, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": -1.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 2299125, - "start": 1692647311188173302 + "duration": 1338625, + "start": 1776174563594583424 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_pre_1_1.json index 1ee7c6b72f8..96dce953fa6 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_pre_1_1.json @@ -11,29 +11,31 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "error.message": "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELEC 1' at line 1", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/dbapi/__init__.py\", line 124, in _trace_method\n return method(*args, **kwargs)\nmariadb.ProgrammingError: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELEC 1' at line 1\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/dbapi.py\", line 136, in _trace_method\n return method(*args, **kwargs)\nmariadb.ProgrammingError: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELEC 1' at line 1\n", "error.type": "mariadb.ProgrammingError", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": -1, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "db.row_count": -1.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 1391250, - "start": 1692647267106458128 + "duration": 982666, + "start": 1776174596059092717 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_post_1_1.json index 241101d6696..5b5aea920cf 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_post_1_1.json @@ -11,28 +11,30 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 188875, - "start": 1692647311201297635 + "duration": 201709, + "start": 1776174564358473757 }], [ { @@ -47,25 +49,27 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 90458, - "start": 1692647311201780260 + "duration": 80209, + "start": 1776174564359068132 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_pre_1_1.json index 3d12c4ac067..01c354a94c1 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_pre_1_1.json @@ -11,28 +11,30 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2668100000000", + "_dd.p.tid": "69de460400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a14aa859f9654c0289bca9ccce8681db", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 48692 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 121250, - "start": 1722967681609904797 + "duration": 243792, + "start": 1776174596044051633 }], [ { @@ -47,25 +49,27 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2668100000000", + "_dd.p.tid": "69de460400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a14aa859f9654c0289bca9ccce8681db", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 48692 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 36750, - "start": 1722967681610223297 + "duration": 60959, + "start": 1776174596044688133 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_post_1_1.json index dd042fc97d9..675b4014381 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_post_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "b6892bcaa1ca4405a344e37f07fe8a18", + "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19671 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61364.0 }, - "duration": 299041, - "start": 1692647311177222927 + "duration": 183250, + "start": 1776174566984406425 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_pre_1_1.json index 3e933ad03a5..fe102c4cf8d 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_pre_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "82fb0609ae3943fd9aed73ca9abbca8f", + "runtime-id": "7db942b23cee4052a1c5d8699e105801", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19547 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62349.0 }, - "duration": 264541, - "start": 1692647267095817462 + "duration": 297500, + "start": 1776174594327874507 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_post_1_1.json index f2093493aa2..b10e72d917f 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_post_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de45e400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpkpdlb68,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "16331c917bb8464c89c38066736435c9", + "runtime-id": "f30e7d5daca44e568855bcea51ae9917", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 3306, - "process_id": 19695 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 3306.0, + "process_id": 61549.0 }, - "duration": 289667, - "start": 1692647311107327760 + "duration": 178708, + "start": 1776174564679373216 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_pre_1_1.json index 38324975a15..b3d297f5f3a 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_pre_1_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de460200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphbmirkgg,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fe4b858f62064273aa9e3dbedd7bcf75", + "runtime-id": "599405ee51674cb59aa1722ad22d7e4c", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 3306, - "process_id": 19571 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 3306.0, + "process_id": 62422.0 }, - "duration": 250625, - "start": 1692647267027871003 + "duration": 169459, + "start": 1776174594283879132 }]] From 77a82d8bab1beff1a5053a12141c81b9cb622cbb Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 06:59:08 -0700 Subject: [PATCH 007/114] update cherrypy snapshots --- ...b.cherrypy.test_middleware.test_child.json | 24 ++++++++++--------- ...b.cherrypy.test_middleware.test_error.json | 20 +++++++++------- ...b.cherrypy.test_middleware.test_fatal.json | 20 +++++++++------- ...cherrypy.test_middleware.test_success.json | 18 +++++++------- 4 files changed, 45 insertions(+), 37 deletions(-) diff --git a/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_child.json b/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_child.json index 933eda3e420..145fe1da2ca 100644 --- a/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_child.json +++ b/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_child.json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "pytest", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de46ee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:pytest,entrypoint.name:main,entrypoint.type:script,entrypoint.workdir:project,svc.auto:pytest", "component": "cherrypy", "http.method": "GET", "http.request.headers.host": "127.0.0.1:54583", "http.status_code": "200", "http.url": "http://127.0.0.1:54583/child", "language": "python", - "runtime-id": "cbe1e1e90a5d40fa99c819048a89e5d6", + "runtime-id": "ff51307e9d4842e689208805c5c9261d", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 30485 + "_sampling_priority_v1": 1.0, + "process_id": 64706.0 }, - "duration": 2272917, - "start": 1692708385201285127 + "duration": 1218041, + "start": 1776174830702594006 }, { "name": "child", @@ -42,9 +44,9 @@ "error": 0, "meta": { "_dd.base_service": "pytest", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "a": "b" }, - "duration": 87000, - "start": 1692708385201727252 + "duration": 189167, + "start": 1776174830702768422 }]] diff --git a/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_error.json b/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_error.json index 58fde524828..38a11d334b9 100644 --- a/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_error.json +++ b/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_error.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "pytest", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de46ee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:pytest,entrypoint.name:main,entrypoint.type:script,entrypoint.workdir:project,svc.auto:pytest", "component": "cherrypy", "error.message": "", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_cherrypy1718_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cprequest.py\", line 630, in respond\n self._do_respond(path_info)\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_cherrypy1718_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cprequest.py\", line 689, in _do_respond\n response.body = self.handler()\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_cherrypy1718_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/lib/encoding.py\", line 221, in __call__\n self.body = self.oldhandler(*args, **kwargs)\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_cherrypy1718_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cpdispatch.py\", line 54, in __call__\n return self.callable(*self.args, **self.kwargs)\n File \"/root/project/tests/contrib/cherrypy/web.py\", line 55, in error\n raise TestError()\ntests.contrib.cherrypy.web.TestError\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_cherrypy~1700_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cprequest.py\", line 627, in respond\n self._do_respond(path_info)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_cherrypy~1700_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cprequest.py\", line 686, in _do_respond\n response.body = self.handler()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_cherrypy~1700_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/lib/encoding.py\", line 221, in __call__\n self.body = self.oldhandler(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_cherrypy~1700_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cpdispatch.py\", line 54, in __call__\n return self.callable(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/cherrypy/web.py\", line 53, in error\n raise TestError()\ntests.contrib.cherrypy.web.TestError\n", "error.type": "", "http.method": "GET", "http.request.headers.host": "127.0.0.1:54583", "http.status_code": "500", "http.url": "http://127.0.0.1:54583/error", "language": "python", - "runtime-id": "cbe1e1e90a5d40fa99c819048a89e5d6", + "runtime-id": "ff51307e9d4842e689208805c5c9261d", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 30485 + "_sampling_priority_v1": 1.0, + "process_id": 64706.0 }, - "duration": 1473834, - "start": 1692708385356797502 + "duration": 2991417, + "start": 1776174830497141339 }]] diff --git a/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_fatal.json b/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_fatal.json index a5a7c1ed14f..9669dd7e719 100644 --- a/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_fatal.json +++ b/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_fatal.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "pytest", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de46ee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:pytest,entrypoint.name:main,entrypoint.type:script,entrypoint.workdir:project,svc.auto:pytest", "component": "cherrypy", "error.message": "division by zero", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_cherrypy1718_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cprequest.py\", line 630, in respond\n self._do_respond(path_info)\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_cherrypy1718_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cprequest.py\", line 689, in _do_respond\n response.body = self.handler()\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_cherrypy1718_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/lib/encoding.py\", line 221, in __call__\n self.body = self.oldhandler(*args, **kwargs)\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_cherrypy1718_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cpdispatch.py\", line 54, in __call__\n return self.callable(*self.args, **self.kwargs)\n File \"/root/project/tests/contrib/cherrypy/web.py\", line 64, in fatal\n 1 / 0\nZeroDivisionError: division by zero\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_cherrypy~1700_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cprequest.py\", line 627, in respond\n self._do_respond(path_info)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_cherrypy~1700_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cprequest.py\", line 686, in _do_respond\n response.body = self.handler()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_cherrypy~1700_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/lib/encoding.py\", line 221, in __call__\n self.body = self.oldhandler(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_cherrypy~1700_more_itertools8110_typing-extensions/lib/python3.9/site-packages/cherrypy/_cpdispatch.py\", line 54, in __call__\n return self.callable(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/cherrypy/web.py\", line 62, in fatal\n 1 / 0\nZeroDivisionError: division by zero\n", "error.type": "", "http.method": "GET", "http.request.headers.host": "127.0.0.1:54583", "http.status_code": "500", "http.url": "http://127.0.0.1:54583/fatal", "language": "python", - "runtime-id": "cbe1e1e90a5d40fa99c819048a89e5d6", + "runtime-id": "ff51307e9d4842e689208805c5c9261d", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 30485 + "_sampling_priority_v1": 1.0, + "process_id": 64706.0 }, - "duration": 1234083, - "start": 1692708385487897919 + "duration": 1036500, + "start": 1776174830933747964 }]] diff --git a/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_success.json b/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_success.json index ce13988add0..360fddaa405 100644 --- a/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_success.json +++ b/tests/snapshots/tests.contrib.cherrypy.test_middleware.test_success.json @@ -11,23 +11,25 @@ "meta": { "_dd.base_service": "pytest", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de46ee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:pytest,entrypoint.name:main,entrypoint.type:script,entrypoint.workdir:project,svc.auto:pytest", "component": "cherrypy", "http.method": "GET", "http.request.headers.host": "127.0.0.1:54583", "http.status_code": "200", "http.url": "http://127.0.0.1:54583/", "language": "python", - "runtime-id": "cbe1e1e90a5d40fa99c819048a89e5d6", + "runtime-id": "ff51307e9d4842e689208805c5c9261d", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 30485 + "_sampling_priority_v1": 1.0, + "process_id": 64706.0 }, - "duration": 568667, - "start": 1692708385608279169 + "duration": 1719042, + "start": 1776174830817051964 }]] From ba6e3ee8b76b80753c9a71a193228a06017faf24 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 07:01:49 -0700 Subject: [PATCH 008/114] update starlette snapshots --- ...e.test_starlette.test_background_task.json | 39 +++++++++++-------- ...ette.test_subapp_nested_call_snapshot.json | 15 +++---- ...starlette.test_subapp_nested_snapshot.json | 19 ++++----- ...e.test_starlette.test_subapp_snapshot.json | 15 +++---- ...st_starlette.test_subapp_two_snapshot.json | 15 +++---- ...t_starlette.test_table_query_snapshot.json | 32 ++++++++------- 6 files changed, 74 insertions(+), 61 deletions(-) diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json index c127f670ef8..f2c65c43a87 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699da02600000000", - "_dd.span_links": "[{\"trace_id\": \"699da0240000000036c2700fee83701a\", \"span_id\": \"a4718084d92d7aaa\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de489300000000", + "_dd.span_links": "[{\"trace_id\": \"69de489100000000c8bf589d76690f34\", \"span_id\": \"3d60173af9c958c9\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.svc_src": "tests.contrib.starlette", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "language": "python", - "runtime-id": "92d72f2fb2be425aa0b5aa929251bdda" + "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92038.0 + "process_id": 67497.0 }, - "duration": 2006961710, - "start": 1771937830650128006 + "duration": 2004913793, + "start": 1776175251035899797 }], [ { @@ -36,19 +38,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699da02400000000", - "_dd.span_links": "[{\"trace_id\": \"699da0240000000036c2700fee83701a\", \"span_id\": \"a4718084d92d7aaa\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de489100000000", + "_dd.span_links": "[{\"trace_id\": \"69de489100000000c8bf589d76690f34\", \"span_id\": \"3d60173af9c958c9\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.svc_src": "tests.contrib.starlette", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "language": "python", - "runtime-id": "92d72f2fb2be425aa0b5aa929251bdda" + "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92038.0 + "process_id": 67497.0 }, - "duration": 2009697376, - "start": 1771937828635796380 + "duration": 2004535209, + "start": 1776175249030439963 }], [ { @@ -63,8 +67,9 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "699da02400000000", + "_dd.p.tid": "69de489100000000", "_dd.svc_src": "starlette", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", "http.route": "/backgroundtask", @@ -73,15 +78,15 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "92d72f2fb2be425aa0b5aa929251bdda", + "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92038.0 + "process_id": 67497.0 }, - "duration": 1134542, - "start": 1771937828634382380 + "duration": 381500, + "start": 1776175249029905796 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json index 5737570e8b7..487e6cdbde0 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "699da01700000000", + "_dd.p.tid": "69de489e00000000", "_dd.svc_src": "starlette", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", "http.route": "/sub-app-nested/hello", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "92d72f2fb2be425aa0b5aa929251bdda", + "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92038.0 + "process_id": 67497.0 }, - "duration": 1001958, - "start": 1771937815422920972 + "duration": 619250, + "start": 1776175262688470136 }, { "name": "starlette.request", @@ -53,6 +54,6 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 443542, - "start": 1771937815423508180 + "duration": 302083, + "start": 1776175262688808970 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json index d0aa7a84399..606ee1a189c 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "699da01700000000", + "_dd.p.tid": "69de488d00000000", "_dd.svc_src": "starlette", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", "http.route": "/sub-app-nested/nested-app/hello/{name}", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "92d72f2fb2be425aa0b5aa929251bdda", + "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92038.0 + "process_id": 67497.0 }, - "duration": 1682291, - "start": 1771937815384743597 + "duration": 947084, + "start": 1776175245077479336 }, { "name": "starlette.request", @@ -53,8 +54,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 956500, - "start": 1771937815385504555 + "duration": 590542, + "start": 1776175245077861836 }, { "name": "starlette.request", @@ -76,6 +77,6 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 517042, - "start": 1771937815385968680 + "duration": 344041, + "start": 1776175245078122920 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json index 130e4afbfb4..763010483d2 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "699da01700000000", + "_dd.p.tid": "69de489c00000000", "_dd.svc_src": "starlette", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "92d72f2fb2be425aa0b5aa929251bdda", + "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92038.0 + "process_id": 67497.0 }, - "duration": 1077084, - "start": 1771937815769820555 + "duration": 752125, + "start": 1776175260330082760 }, { "name": "starlette.request", @@ -53,6 +54,6 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 458500, - "start": 1771937815770471764 + "duration": 379875, + "start": 1776175260330476927 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json index 71ec7f69e76..5c0b68d1b08 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "699da01700000000", + "_dd.p.tid": "69de488f00000000", "_dd.svc_src": "starlette", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", "http.route": "/sub-app-two/hello/{name}", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "92d72f2fb2be425aa0b5aa929251bdda", + "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92038.0 + "process_id": 67497.0 }, - "duration": 1062125, - "start": 1771937815537616222 + "duration": 761167, + "start": 1776175247785487004 }, { "name": "starlette.request", @@ -53,6 +54,6 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 502125, - "start": 1771937815538215180 + "duration": 349208, + "start": 1776175247785926671 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json index aeea056e51e..97cb4854d21 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "699da02e00000000", + "_dd.p.tid": "69de488d00000000", "_dd.svc_src": "starlette", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "POST", "http.route": "/notes", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "92d72f2fb2be425aa0b5aa929251bdda", + "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92038.0 + "process_id": 67497.0 }, - "duration": 4095542, - "start": 1771937838848595052 + "duration": 3206042, + "start": 1776175245049167253 }, { "name": "sqlite.query", @@ -44,6 +45,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", + "_dd.svc_src": "starlette", "component": "sqlalchemy", "span.kind": "client", "sql.db": "test.db" @@ -53,8 +55,8 @@ "_dd.top_level": 1.0, "db.row_count": 1.0 }, - "duration": 984834, - "start": 1771937838850559010 + "duration": 748792, + "start": 1776175245050531211 }], [ { @@ -69,8 +71,9 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "699da02e00000000", + "_dd.p.tid": "69de488d00000000", "_dd.svc_src": "starlette", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", "http.route": "/notes", @@ -79,17 +82,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "92d72f2fb2be425aa0b5aa929251bdda", + "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92038.0 + "process_id": 67497.0 }, - "duration": 1440458, - "start": 1771937838854296677 + "duration": 939958, + "start": 1776175245054021170 }, { "name": "sqlite.query", @@ -102,6 +105,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", + "_dd.svc_src": "starlette", "component": "sqlalchemy", "span.kind": "client", "sql.db": "test.db" @@ -110,6 +114,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 339458, - "start": 1771937838854976844 + "duration": 214291, + "start": 1776175245054494420 }]] From 1fd281ea96040a4fcfd5342e3c15b69a6bc92bb3 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 07:12:30 -0700 Subject: [PATCH 009/114] update langchain snapshots and cassettes --- ...sion_2024-12-01-preview_post_5836d4fe.json | 48 + ...sion_2024-12-01-preview_post_5836d4fe.yaml | 109 -- ...openai_chat_completions_post_01c947d6.json | 55 + ...openai_chat_completions_post_01c947d6.yaml | 788 ------------- ...openai_chat_completions_post_2eb535d8.json | 57 + ...openai_chat_completions_post_2eb535d8.yaml | 131 --- ...openai_chat_completions_post_3c0e4b6c.json | 56 + ...openai_chat_completions_post_3c0e4b6c.yaml | 122 -- ...openai_chat_completions_post_3eb1f03d.json | 59 + ...openai_chat_completions_post_3eb1f03d.yaml | 126 --- ...openai_chat_completions_post_5244958a.json | 57 + ...openai_chat_completions_post_5244958a.yaml | 134 --- ...openai_chat_completions_post_5940fcfa.json | 55 + ...openai_chat_completions_post_5940fcfa.yaml | 554 --------- ...openai_chat_completions_post_5db41b2a.json | 56 + ...openai_chat_completions_post_5db41b2a.yaml | 121 -- ...openai_chat_completions_post_7d83634e.json | 55 + ...openai_chat_completions_post_7d83634e.yaml | 144 --- ...openai_chat_completions_post_7efd1a80.json | 56 + ...openai_chat_completions_post_7efd1a80.yaml | 122 -- ...openai_chat_completions_post_8b446c8e.json | 56 + ...openai_chat_completions_post_8b446c8e.yaml | 115 -- ...openai_chat_completions_post_8fdba4e4.json | 57 + ...openai_chat_completions_post_8fdba4e4.yaml | 136 --- ...openai_chat_completions_post_930afee9.json | 52 + ...openai_chat_completions_post_930afee9.yaml | 102 -- ...openai_chat_completions_post_9df957b1.json | 56 + ...openai_chat_completions_post_9df957b1.yaml | 119 -- ...openai_chat_completions_post_ad49e5d4.json | 55 + ...openai_chat_completions_post_ad49e5d4.yaml | 1004 ----------------- ...openai_chat_completions_post_c180b8dd.json | 56 + ...openai_chat_completions_post_c180b8dd.yaml | 122 -- ...openai_chat_completions_post_caac525c.json | 56 + ...openai_chat_completions_post_caac525c.yaml | 120 -- ...openai_chat_completions_post_ddb692c6.json | 55 + ...openai_chat_completions_post_ddb692c6.yaml | 288 ----- ...openai_chat_completions_post_fcae7ba6.json | 56 + ...openai_chat_completions_post_fcae7ba6.yaml | 122 -- .../openai_completions_post_028af692.json | 60 + .../openai_completions_post_028af692.yaml | 138 --- .../openai_completions_post_076bb2cf.json | 60 + .../openai_completions_post_076bb2cf.yaml | 133 --- .../openai_completions_post_09f7a946.json | 56 + .../openai_completions_post_09f7a946.yaml | 108 -- .../openai_completions_post_0fdd1e55.json | 61 + .../openai_completions_post_0fdd1e55.yaml | 138 --- .../openai_completions_post_1dd33b11.json | 59 + .../openai_completions_post_1dd33b11.yaml | 138 --- .../openai_completions_post_32550a8a.json | 60 + .../openai_completions_post_32550a8a.yaml | 118 -- .../openai_completions_post_4527033c.json | 60 + .../openai_completions_post_4527033c.yaml | 120 -- .../openai_completions_post_585b2ba8.json | 59 + .../openai_completions_post_585b2ba8.yaml | 113 -- .../openai_completions_post_5a8d3c22.json | 60 + .../openai_completions_post_5a8d3c22.yaml | 124 -- .../openai_completions_post_68f85366.json | 60 + .../openai_completions_post_68f85366.yaml | 128 --- .../openai_completions_post_6e95e620.json | 59 + .../openai_completions_post_6e95e620.yaml | 937 --------------- .../openai_completions_post_8706eb93.json | 56 + .../openai_completions_post_8706eb93.yaml | 105 -- .../openai_completions_post_8899bb88.json | 59 + .../openai_completions_post_8899bb88.yaml | 126 --- .../openai_completions_post_ec9c4d9d.json | 55 + .../openai_completions_post_ec9c4d9d.yaml | 105 -- ...ain.test_langchain.test_ai21_llm_sync.json | 28 - ....test_langchain.test_base_tool_invoke.json | 18 +- ...l_invoke_non_json_serializable_config.json | 18 +- ...st_langchain.test_cohere_llm_sync_0_2.json | 27 - ...hain.test_faiss_vectorstore_retrieval.json | 74 -- ....test_langchain.test_lcel_chain_batch.json | 25 +- ...langchain.test_lcel_chain_batch_async.json | 25 +- ...langchain.test_lcel_chain_complicated.json | 25 +- ..._langchain.test_lcel_chain_nested_0_2.json | 79 -- ...ngchain.test_lcel_chain_nested_latest.json | 79 -- ...gchain.test_lcel_chain_non_dict_input.json | 26 +- ...test_langchain.test_lcel_chain_simple.json | 25 +- ...angchain.test_lcel_chain_simple_async.json | 25 +- ...gchain.test_lcel_with_tools_anthropic.json | 18 +- ...langchain.test_lcel_with_tools_openai.json | 18 +- ...test_openai_chat_model_async_generate.json | 18 +- ...chat_model_sync_call_langchain_openai.json | 18 +- ...odel_sync_call_langchain_openai_async.json | 18 +- ....test_openai_chat_model_sync_generate.json | 18 +- ...openai_chat_model_vision_generate_0_2.json | 28 - ...nai_chat_model_vision_generate_latest.json | 28 - ...gchain.test_openai_embedding_document.json | 18 +- ...langchain.test_openai_embedding_query.json | 18 +- ....test_langchain.test_openai_llm_async.json | 18 +- ....test_langchain.test_openai_llm_error.json | 20 +- ...n.test_langchain.test_openai_llm_sync.json | 18 +- ...test_openai_llm_sync_multiple_prompts.json | 18 +- ...inecone_vectorstore_similarity_search.json | 46 - ...langchain.test_runnable_lambda_abatch.json | 33 +- ...angchain.test_runnable_lambda_ainvoke.json | 12 +- ..._langchain.test_runnable_lambda_batch.json | 33 +- ...langchain.test_runnable_lambda_invoke.json | 12 +- ...in.test_langchain.test_streamed_chain.json | 25 +- ...ain.test_langchain.test_streamed_chat.json | 18 +- ...st_streamed_chat_model_with_no_output.json | 20 +- ...hain.test_streamed_json_output_parser.json | 25 +- ...hain.test_langchain.test_streamed_llm.json | 18 +- ...in.test_vectorstore_similarity_search.json | 43 +- 104 files changed, 2246 insertions(+), 7674 deletions(-) create mode 100644 tests/llmobs/llmobs_cassettes/azure_openai/azure_openai_openai_deployments_gpt-4.1-mini_chat_completions_api-version_2024-12-01-preview_post_5836d4fe.json delete mode 100644 tests/llmobs/llmobs_cassettes/azure_openai/azure_openai_openai_deployments_gpt-4.1-mini_chat_completions_api-version_2024-12-01-preview_post_5836d4fe.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_01c947d6.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_01c947d6.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_2eb535d8.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_2eb535d8.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3c0e4b6c.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3c0e4b6c.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3eb1f03d.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3eb1f03d.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5244958a.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5244958a.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5940fcfa.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5940fcfa.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5db41b2a.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5db41b2a.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7d83634e.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7d83634e.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7efd1a80.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7efd1a80.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8b446c8e.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8b446c8e.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8fdba4e4.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8fdba4e4.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_930afee9.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_930afee9.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_9df957b1.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_9df957b1.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ad49e5d4.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ad49e5d4.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_c180b8dd.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_c180b8dd.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_caac525c.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_caac525c.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ddb692c6.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ddb692c6.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_fcae7ba6.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_fcae7ba6.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_028af692.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_028af692.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_076bb2cf.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_076bb2cf.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_09f7a946.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_09f7a946.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_0fdd1e55.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_0fdd1e55.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_1dd33b11.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_1dd33b11.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_32550a8a.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_32550a8a.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_4527033c.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_4527033c.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_585b2ba8.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_585b2ba8.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_5a8d3c22.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_5a8d3c22.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_68f85366.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_68f85366.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_6e95e620.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_6e95e620.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8706eb93.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8706eb93.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8899bb88.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8899bb88.yaml create mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_ec9c4d9d.json delete mode 100644 tests/llmobs/llmobs_cassettes/openai/openai_completions_post_ec9c4d9d.yaml delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_ai21_llm_sync.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_cohere_llm_sync_0_2.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_faiss_vectorstore_retrieval.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_nested_0_2.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_nested_latest.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_vision_generate_0_2.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_vision_generate_latest.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_pinecone_vectorstore_similarity_search.json diff --git a/tests/llmobs/llmobs_cassettes/azure_openai/azure_openai_openai_deployments_gpt-4.1-mini_chat_completions_api-version_2024-12-01-preview_post_5836d4fe.json b/tests/llmobs/llmobs_cassettes/azure_openai/azure_openai_openai_deployments_gpt-4.1-mini_chat_completions_api-version_2024-12-01-preview_post_5836d4fe.json new file mode 100644 index 00000000000..f66ddab849e --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/azure_openai/azure_openai_openai_deployments_gpt-4.1-mini_chat_completions_api-version_2024-12-01-preview_post_5836d4fe.json @@ -0,0 +1,48 @@ +{ + "request": { + "method": "POST", + "url": "https://llmobs-test-resource.openai.azure.com/openai/deployments/gpt-4.1-mini/chat/completions?api-version=2024-12-01-preview", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "AzureOpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "172" + }, + "body": "{\"messages\":[{\"content\":\"Can you explain what Descartes meant by 'I think, therefore I am'?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":false,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Length": "2780", + "Content-Type": "application/json", + "Date": "Fri, 17 Oct 2025 18:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "apim-request-id": "381a6525-4f15-481a-8884-dd8ec1b0d6fc", + "azureml-model-session": "d213-20251016082839", + "x-accel-buffering": "no", + "x-content-type-options": "nosniff", + "x-ms-deployment-name": "gpt-4.1-mini", + "x-ms-rai-invoked": "true", + "x-ms-region": "East US 2", + "x-ratelimit-limit-requests": "250", + "x-ratelimit-limit-tokens": "250000", + "x-ratelimit-remaining-requests": "248", + "x-ratelimit-remaining-tokens": "249979", + "x-request-id": "8e52694a-22a0-42fa-9e2d-54539ebd2113" + }, + "body": "{\"choices\":[{\"content_filter_results\":{\"hate\":{\"filtered\":false,\"severity\":\"safe\"},\"protected_material_code\":{\"filtered\":false,\"detected\":false},\"protected_material_text\":{\"filtered\":false,\"detected\":false},\"self_harm\":{\"filtered\":false,\"severity\":\"safe\"},\"sexual\":{\"filtered\":false,\"severity\":\"safe\"},\"violence\":{\"filtered\":false,\"severity\":\"safe\"}},\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"annotations\":[],\"content\":\"Certainly! The phrase **\\\"I think, therefore I am\\\"** (originally in Latin: *Cogito, ergo sum*) was coined by the French philosopher Ren\u00e9 Descartes. It appears in his work *Discourse on the Method* (1637) and later in *Meditations on First Philosophy* (1641).\\n\\n### What Descartes Meant:\\n\\n1. **Foundation of Certainty:** \\n Descartes was searching for an undeniable foundation for knowledge. He wanted to find something that could not be doubted, as many beliefs could be mistaken.\\n\\n2. **Method of Doubt:** \\n He began by doubting everything \u2014 the evidence of the senses, the existence of the physical world, even mathematical truths \u2014 to see if anything remained absolutely certain.\\n\\n3. **The Indubitable Truth:** \\n While doubting, Descartes realized that the very act of doubting implied a thinking subject. If he is doubting or thinking, then he must exist in some form to be doing that thinking.\\n\\n4. **\\\"I think, therefore I am\\\":** \\n Therefore, the one thing he could not doubt was that he exists as a thinking being. The act of thinking itself proved his own existence. This statement became the first principle in his philosophy.\\n\\n### In summary:\\n\\nDescartes meant that the fact that you are consciously thinking is proof of your own existence. Even if everything else is uncertain or illusory, the very experience of thought confirms that there is a \\\"self\\\" doing the thinking. It\u2019s a foundational claim about knowledge and existence.\\n\\nIf you want, I can also explain how this idea influenced philosophy or its criticisms!\",\"refusal\":null,\"role\":\"assistant\"}}],\"created\":1760724000,\"id\":\"chatcmpl-CRj28rdRKqhnTBkcKCmXlz0vReldy\",\"model\":\"gpt-4.1-mini-2025-04-14\",\"object\":\"chat.completion\",\"prompt_filter_results\":[{\"prompt_index\":0,\"content_filter_results\":{\"hate\":{\"filtered\":false,\"severity\":\"safe\"},\"jailbreak\":{\"filtered\":false,\"detected\":false},\"self_harm\":{\"filtered\":false,\"severity\":\"safe\"},\"sexual\":{\"filtered\":false,\"severity\":\"safe\"},\"violence\":{\"filtered\":false,\"severity\":\"safe\"}}}],\"system_fingerprint\":\"fp_3dcd5944f5\",\"usage\":{\"completion_tokens\":342,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":0,\"rejected_prediction_tokens\":0},\"prompt_tokens\":24,\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":0},\"total_tokens\":366}}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/azure_openai/azure_openai_openai_deployments_gpt-4.1-mini_chat_completions_api-version_2024-12-01-preview_post_5836d4fe.yaml b/tests/llmobs/llmobs_cassettes/azure_openai/azure_openai_openai_deployments_gpt-4.1-mini_chat_completions_api-version_2024-12-01-preview_post_5836d4fe.yaml deleted file mode 100644 index 3a320877940..00000000000 --- a/tests/llmobs/llmobs_cassettes/azure_openai/azure_openai_openai_deployments_gpt-4.1-mini_chat_completions_api-version_2024-12-01-preview_post_5836d4fe.yaml +++ /dev/null @@ -1,109 +0,0 @@ -interactions: -- request: - body: '{"messages":[{"content":"Can you explain what Descartes meant by ''I think, - therefore I am''?","role":"user"}],"model":"gpt-3.5-turbo","n":1,"stream":false,"temperature":0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '172' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - AzureOpenAI/Python 1.109.1 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.109.1 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.11.13 - ? !!python/object/apply:multidict._multidict.istr - - x-stainless-retry-count - : - '0' - method: POST - uri: https://llmobs-test-resource.openai.azure.com/openai/deployments/gpt-4.1-mini/chat/completions?api-version=2024-12-01-preview - response: - body: - string: "{\"choices\":[{\"content_filter_results\":{\"hate\":{\"filtered\":false,\"severity\":\"safe\"},\"protected_material_code\":{\"filtered\":false,\"detected\":false},\"protected_material_text\":{\"filtered\":false,\"detected\":false},\"self_harm\":{\"filtered\":false,\"severity\":\"safe\"},\"sexual\":{\"filtered\":false,\"severity\":\"safe\"},\"violence\":{\"filtered\":false,\"severity\":\"safe\"}},\"finish_reason\":\"stop\",\"index\":0,\"logprobs\":null,\"message\":{\"annotations\":[],\"content\":\"Certainly! - The phrase **\\\"I think, therefore I am\\\"** (originally in Latin: *Cogito, - ergo sum*) was coined by the French philosopher Ren\xE9 Descartes. It appears - in his work *Discourse on the Method* (1637) and later in *Meditations on - First Philosophy* (1641).\\n\\n### What Descartes Meant:\\n\\n1. **Foundation - of Certainty:** \\n Descartes was searching for an undeniable foundation - for knowledge. He wanted to find something that could not be doubted, as many - beliefs could be mistaken.\\n\\n2. **Method of Doubt:** \\n He began by - doubting everything \u2014 the evidence of the senses, the existence of the - physical world, even mathematical truths \u2014 to see if anything remained - absolutely certain.\\n\\n3. **The Indubitable Truth:** \\n While doubting, - Descartes realized that the very act of doubting implied a thinking subject. - If he is doubting or thinking, then he must exist in some form to be doing - that thinking.\\n\\n4. **\\\"I think, therefore I am\\\":** \\n Therefore, - the one thing he could not doubt was that he exists as a thinking being. The - act of thinking itself proved his own existence. This statement became the - first principle in his philosophy.\\n\\n### In summary:\\n\\nDescartes meant - that the fact that you are consciously thinking is proof of your own existence. - Even if everything else is uncertain or illusory, the very experience of thought - confirms that there is a \\\"self\\\" doing the thinking. It\u2019s a foundational - claim about knowledge and existence.\\n\\nIf you want, I can also explain - how this idea influenced philosophy or its criticisms!\",\"refusal\":null,\"role\":\"assistant\"}}],\"created\":1760724000,\"id\":\"chatcmpl-CRj28rdRKqhnTBkcKCmXlz0vReldy\",\"model\":\"gpt-4.1-mini-2025-04-14\",\"object\":\"chat.completion\",\"prompt_filter_results\":[{\"prompt_index\":0,\"content_filter_results\":{\"hate\":{\"filtered\":false,\"severity\":\"safe\"},\"jailbreak\":{\"filtered\":false,\"detected\":false},\"self_harm\":{\"filtered\":false,\"severity\":\"safe\"},\"sexual\":{\"filtered\":false,\"severity\":\"safe\"},\"violence\":{\"filtered\":false,\"severity\":\"safe\"}}}],\"system_fingerprint\":\"fp_3dcd5944f5\",\"usage\":{\"completion_tokens\":342,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":0,\"rejected_prediction_tokens\":0},\"prompt_tokens\":24,\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":0},\"total_tokens\":366}}\n" - headers: - Content-Length: - - '2780' - Content-Type: - - application/json - Date: - - Fri, 17 Oct 2025 18:00:13 GMT - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - apim-request-id: - - 381a6525-4f15-481a-8884-dd8ec1b0d6fc - azureml-model-session: - - d213-20251016082839 - x-accel-buffering: - - 'no' - x-content-type-options: - - nosniff - x-ms-deployment-name: - - gpt-4.1-mini - x-ms-rai-invoked: - - 'true' - x-ms-region: - - East US 2 - x-ratelimit-limit-requests: - - '250' - x-ratelimit-limit-tokens: - - '250000' - x-ratelimit-remaining-requests: - - '248' - x-ratelimit-remaining-tokens: - - '249979' - x-request-id: - - 8e52694a-22a0-42fa-9e2d-54539ebd2113 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_01c947d6.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_01c947d6.json new file mode 100644 index 00000000000..fad156a7407 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_01c947d6.json @@ -0,0 +1,55 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "AsyncOpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "async:asyncio", + "x-stainless-retry-count": "0", + "Content-Length": "141" + }, + "body": "{\"messages\":[{\"content\":\"how can langsmith help with testing?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":true,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91caf5f0e0ca4-EWR", + "Connection": "keep-alive", + "Content-Type": "text/event-stream; charset=utf-8", + "Date": "Wed, 13 Aug 2025 15:05:41 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=IqSN3KbGpXhDdiJsTTxlGeRXenTf28pIasDyjBVgwwY-1755097541256-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "155", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "180", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999989", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_27be6b1449fd46ba8c7fdf7c50310706" + }, + "body": "data: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OOMmT\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kvR\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"IT\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wFz\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6Q\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" with\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"h4\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"PTTYijzlHoXI5EJ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Uxc0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CiRMQ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" few\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"r5I\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ways\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5U\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"HZ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"1\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ki4N1Z\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"86uNtK\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Automated\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SvxpoaehXGro7\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jVQ46tZvYzM5acN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"VxT2ne\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ne\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4L\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6fR\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" generate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"b2SEWXNs2Bi90H\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SW\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" scripts\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"QnVN2gbhSPloX8c\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" automatically\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"b43EVIL8E\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" based\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"B\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" on\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"IOl9\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"QqF\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" specifications\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"V1UJsMcN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"8De\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" requirements\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"YJVqMdT2Kx\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" provided\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Hwx0mCKi1Vur9M\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TfrRKj\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"HB\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9sO\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"dn\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" speed\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"F\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" up\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wk3f\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hXE\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Pw330yXZwOkI27p\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" process\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"S6RwCrLggP9kSFN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0XE\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ensure\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" comprehensive\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xpMtCU6gT\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CV\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" coverage\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TvvJjTZquQQMqW\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"d9\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"2\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"klYZzH\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tHHLrN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Mr\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" data\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tS\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" generation\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Lip8FiIF0fkl\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"73DvOf\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eH\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yX\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fnN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" generate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7o6N1e2W2xvrga\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" realistic\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ha5H0xqXD0Olq\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5A\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" data\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"EH\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tfYt\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" be\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bIEl\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" used\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ge\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wLtB\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4JgWmHTHFTKuMFW\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" scenarios\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ztqpfqUJaU5Ss\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9uIHnI\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"8r\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qln\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"p3\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" identify\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"oAFitYZt6KQ25h\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" potential\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"N4Io83UzJKKjB\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" issues\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Zgj\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ensure\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" that\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NG\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ogc\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" system\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" behaves\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"anSzT98TPnmC4eH\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" as\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TvB1\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" expected\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"UWKB4yLS8ik2Nm\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" under\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"J\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" various\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"EtROuHZAqeYXzYD\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" conditions\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SbJxzLCCo0uZ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Xm\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"3\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aZGpm6\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ZBbSlF\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"a9\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" case\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"B6\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" management\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"PHqrSY4lKvKe\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"VzPV8g\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"pv\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"rV\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"V4b\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"MV\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" manage\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"zS\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xjUT8O\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" track\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"n\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" their\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"t\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" execution\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"pDBmzQUNgqXE8\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"npnrdw\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"J3J\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" provide\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"leAgglnX9GGwotj\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" reports\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nIULNmhJ9Fayd73\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" on\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hBhs\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xUJ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4YlDU9ckXwkaNUo\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" progress\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"vzYV9hdl2lO3x6\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ha5pxE\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tk\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Pqv\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Wt\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" teams\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"w\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" stay\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aE\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" organized\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yS1metgy8mPPX\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eau\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ensure\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" that\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kl\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" all\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7EZ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" necessary\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ypOJxHDsjGsXi\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" tests\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" are\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ys8\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" conducted\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"iNe9sSMSKFSyi\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Zj\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"4\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uqYxBR\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lRVp8o\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Integration\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"E4CXEXaGJ8N\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ndofcgQMa0F8m0V\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"HyuhAv\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sP\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"C0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DQl\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" be\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eP0B\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" used\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"R7\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uCMC\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" automate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TD8yp79Wa69l5D\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"RA0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" integration\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TFGxu3GzEqa\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"X9Uhcf8wliqrFZv\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" process\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5UqJDPmXeUl2wLd\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sswMb6\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ensuring\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xwafX6oFc12Lnm\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" that\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fw\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" different\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gy4SLUWl8hCwI\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" components\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"obtoK3BEmu2i\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"V3n0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"S0y\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" system\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" work\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"g0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" together\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sajPxTsweWyuxf\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" seamlessly\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xUolAUiNcLpY\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3T\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Overall\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ceAhnL\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lx\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Xw\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OAD\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3J\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" streamline\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eSJ4qwUzLVoD\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SWP\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"D0zeMnkZ9obiRBj\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" process\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CIWeDN778OZoeC0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3P15oA\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" improve\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fataVnniwbakRSc\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"pg\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" coverage\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KA0yOwbekJAs7F\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XenIdV\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Pjl\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ultimately\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"AlDEI8PMCIpt\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ensure\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kEw\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" quality\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"FwrZGUAGpmauW1B\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5QFs\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ZIX\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" software\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"w9DKKDe6SRcwdh\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" being\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"e\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" developed\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"soJNA7kwAHOOy\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aYArID\"}\n\ndata: {\"id\":\"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny\",\"object\":\"chat.completion.chunk\",\"created\":1755097541,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{},\"logprobs\":null,\"finish_reason\":\"stop\"}],\"obfuscation\":\"8\"}\n\ndata: [DONE]\n\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_01c947d6.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_01c947d6.yaml deleted file mode 100644 index e954fc13505..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_01c947d6.yaml +++ /dev/null @@ -1,788 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "how can langsmith help with testing?", "role": - "user"}], "model": "gpt-3.5-turbo", "n": 1, "stream": true, "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '153' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - AsyncOpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - async:asyncio - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: 'data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"obfuscation":"OOMmT"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"kvR"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"IT"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"wFz"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"6Q"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - with"},"logprobs":null,"finish_reason":null}],"obfuscation":"h4"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"PTTYijzlHoXI5EJ"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"Uxc0"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - a"},"logprobs":null,"finish_reason":null}],"obfuscation":"CiRMQ"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - few"},"logprobs":null,"finish_reason":null}],"obfuscation":"r5I"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - ways"},"logprobs":null,"finish_reason":null}],"obfuscation":"5U"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"HZ"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"1"},"logprobs":null,"finish_reason":null}],"obfuscation":"Ki4N1Z"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"86uNtK"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Automated"},"logprobs":null,"finish_reason":null}],"obfuscation":"SvxpoaehXGro7"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"jVQ46tZvYzM5acN"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}],"obfuscation":"VxT2ne"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"Ne"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"4L"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"6fR"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - generate"},"logprobs":null,"finish_reason":null}],"obfuscation":"b2SEWXNs2Bi90H"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"SW"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - scripts"},"logprobs":null,"finish_reason":null}],"obfuscation":"QnVN2gbhSPloX8c"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - automatically"},"logprobs":null,"finish_reason":null}],"obfuscation":"b43EVIL8E"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - based"},"logprobs":null,"finish_reason":null}],"obfuscation":"B"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - on"},"logprobs":null,"finish_reason":null}],"obfuscation":"IOl9"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"QqF"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - specifications"},"logprobs":null,"finish_reason":null}],"obfuscation":"V1UJsMcN"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"8De"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - requirements"},"logprobs":null,"finish_reason":null}],"obfuscation":"YJVqMdT2Kx"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - provided"},"logprobs":null,"finish_reason":null}],"obfuscation":"Hwx0mCKi1Vur9M"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"TfrRKj"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - This"},"logprobs":null,"finish_reason":null}],"obfuscation":"HB"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"9sO"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"dn"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - speed"},"logprobs":null,"finish_reason":null}],"obfuscation":"F"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - up"},"logprobs":null,"finish_reason":null}],"obfuscation":"wk3f"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"hXE"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"Pw330yXZwOkI27p"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - process"},"logprobs":null,"finish_reason":null}],"obfuscation":"S6RwCrLggP9kSFN"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"0XE"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - ensure"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - comprehensive"},"logprobs":null,"finish_reason":null}],"obfuscation":"xpMtCU6gT"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"CV"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - coverage"},"logprobs":null,"finish_reason":null}],"obfuscation":"TvvJjTZquQQMqW"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"d9"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"obfuscation":"klYZzH"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"tHHLrN"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Test"},"logprobs":null,"finish_reason":null}],"obfuscation":"Mr"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - data"},"logprobs":null,"finish_reason":null}],"obfuscation":"tS"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - generation"},"logprobs":null,"finish_reason":null}],"obfuscation":"Lip8FiIF0fkl"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}],"obfuscation":"73DvOf"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"eH"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"yX"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"fnN"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - generate"},"logprobs":null,"finish_reason":null}],"obfuscation":"7o6N1e2W2xvrga"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - realistic"},"logprobs":null,"finish_reason":null}],"obfuscation":"ha5H0xqXD0Olq"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"5A"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - data"},"logprobs":null,"finish_reason":null}],"obfuscation":"EH"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}],"obfuscation":"tfYt"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - be"},"logprobs":null,"finish_reason":null}],"obfuscation":"bIEl"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - used"},"logprobs":null,"finish_reason":null}],"obfuscation":"Ge"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"wLtB"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"4JgWmHTHFTKuMFW"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - scenarios"},"logprobs":null,"finish_reason":null}],"obfuscation":"ztqpfqUJaU5Ss"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"9uIHnI"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - This"},"logprobs":null,"finish_reason":null}],"obfuscation":"8r"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"qln"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"p3"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - identify"},"logprobs":null,"finish_reason":null}],"obfuscation":"oAFitYZt6KQ25h"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - potential"},"logprobs":null,"finish_reason":null}],"obfuscation":"N4Io83UzJKKjB"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - issues"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"Zgj"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - ensure"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - that"},"logprobs":null,"finish_reason":null}],"obfuscation":"NG"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"ogc"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - system"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - behaves"},"logprobs":null,"finish_reason":null}],"obfuscation":"anSzT98TPnmC4eH"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - as"},"logprobs":null,"finish_reason":null}],"obfuscation":"TvB1"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - expected"},"logprobs":null,"finish_reason":null}],"obfuscation":"UWKB4yLS8ik2Nm"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - under"},"logprobs":null,"finish_reason":null}],"obfuscation":"J"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - various"},"logprobs":null,"finish_reason":null}],"obfuscation":"EtROuHZAqeYXzYD"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - conditions"},"logprobs":null,"finish_reason":null}],"obfuscation":"SbJxzLCCo0uZ"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"Xm"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"obfuscation":"aZGpm6"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"ZBbSlF"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Test"},"logprobs":null,"finish_reason":null}],"obfuscation":"a9"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - case"},"logprobs":null,"finish_reason":null}],"obfuscation":"B6"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - management"},"logprobs":null,"finish_reason":null}],"obfuscation":"PHqrSY4lKvKe"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}],"obfuscation":"VzPV8g"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"pv"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"rV"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"V4b"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"MV"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - manage"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"zS"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - cases"},"logprobs":null,"finish_reason":null}],"obfuscation":"5"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"xjUT8O"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - track"},"logprobs":null,"finish_reason":null}],"obfuscation":"n"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - their"},"logprobs":null,"finish_reason":null}],"obfuscation":"t"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - execution"},"logprobs":null,"finish_reason":null}],"obfuscation":"pDBmzQUNgqXE8"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"npnrdw"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"J3J"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - provide"},"logprobs":null,"finish_reason":null}],"obfuscation":"leAgglnX9GGwotj"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - reports"},"logprobs":null,"finish_reason":null}],"obfuscation":"nIULNmhJ9Fayd73"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - on"},"logprobs":null,"finish_reason":null}],"obfuscation":"hBhs"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"xUJ"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"4YlDU9ckXwkaNUo"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - progress"},"logprobs":null,"finish_reason":null}],"obfuscation":"vzYV9hdl2lO3x6"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"Ha5pxE"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - This"},"logprobs":null,"finish_reason":null}],"obfuscation":"tk"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"Pqv"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"Wt"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - teams"},"logprobs":null,"finish_reason":null}],"obfuscation":"w"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - stay"},"logprobs":null,"finish_reason":null}],"obfuscation":"aE"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - organized"},"logprobs":null,"finish_reason":null}],"obfuscation":"yS1metgy8mPPX"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"eau"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - ensure"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - that"},"logprobs":null,"finish_reason":null}],"obfuscation":"kl"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - all"},"logprobs":null,"finish_reason":null}],"obfuscation":"7EZ"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - necessary"},"logprobs":null,"finish_reason":null}],"obfuscation":"ypOJxHDsjGsXi"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - tests"},"logprobs":null,"finish_reason":null}],"obfuscation":"5"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - are"},"logprobs":null,"finish_reason":null}],"obfuscation":"ys8"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - conducted"},"logprobs":null,"finish_reason":null}],"obfuscation":"iNe9sSMSKFSyi"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"Zj"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"4"},"logprobs":null,"finish_reason":null}],"obfuscation":"uqYxBR"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"lRVp8o"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Integration"},"logprobs":null,"finish_reason":null}],"obfuscation":"E4CXEXaGJ8N"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"ndofcgQMa0F8m0V"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}],"obfuscation":"HyuhAv"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"sP"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"C0"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"DQl"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - be"},"logprobs":null,"finish_reason":null}],"obfuscation":"eP0B"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - used"},"logprobs":null,"finish_reason":null}],"obfuscation":"R7"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}],"obfuscation":"uCMC"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - automate"},"logprobs":null,"finish_reason":null}],"obfuscation":"TD8yp79Wa69l5D"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"RA0"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - integration"},"logprobs":null,"finish_reason":null}],"obfuscation":"TFGxu3GzEqa"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"X9Uhcf8wliqrFZv"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - process"},"logprobs":null,"finish_reason":null}],"obfuscation":"5UqJDPmXeUl2wLd"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"sswMb6"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - ensuring"},"logprobs":null,"finish_reason":null}],"obfuscation":"xwafX6oFc12Lnm"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - that"},"logprobs":null,"finish_reason":null}],"obfuscation":"fw"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - different"},"logprobs":null,"finish_reason":null}],"obfuscation":"gy4SLUWl8hCwI"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - components"},"logprobs":null,"finish_reason":null}],"obfuscation":"obtoK3BEmu2i"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}],"obfuscation":"V3n0"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"S0y"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - system"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - work"},"logprobs":null,"finish_reason":null}],"obfuscation":"g0"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - together"},"logprobs":null,"finish_reason":null}],"obfuscation":"sajPxTsweWyuxf"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - seamlessly"},"logprobs":null,"finish_reason":null}],"obfuscation":"xUolAUiNcLpY"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"3T"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Overall"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"ceAhnL"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"lx"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"Xw"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"OAD"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"3J"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - streamline"},"logprobs":null,"finish_reason":null}],"obfuscation":"eSJ4qwUzLVoD"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"SWP"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"D0zeMnkZ9obiRBj"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - process"},"logprobs":null,"finish_reason":null}],"obfuscation":"CIWeDN778OZoeC0"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"3P15oA"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - improve"},"logprobs":null,"finish_reason":null}],"obfuscation":"fataVnniwbakRSc"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"pg"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - coverage"},"logprobs":null,"finish_reason":null}],"obfuscation":"KA0yOwbekJAs7F"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"XenIdV"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"Pjl"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - ultimately"},"logprobs":null,"finish_reason":null}],"obfuscation":"AlDEI8PMCIpt"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - ensure"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"kEw"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - quality"},"logprobs":null,"finish_reason":null}],"obfuscation":"FwrZGUAGpmauW1B"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}],"obfuscation":"5QFs"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"ZIX"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - software"},"logprobs":null,"finish_reason":null}],"obfuscation":"w9DKKDe6SRcwdh"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - being"},"logprobs":null,"finish_reason":null}],"obfuscation":"e"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - developed"},"logprobs":null,"finish_reason":null}],"obfuscation":"soJNA7kwAHOOy"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"aYArID"} - - - data: {"id":"chatcmpl-C47Kn87paUdld42qHAtjFT3N7ejny","object":"chat.completion.chunk","created":1755097541,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"obfuscation":"8"} - - - data: [DONE] - - - ' - headers: - CF-RAY: - - 96e91caf5f0e0ca4-EWR - Connection: - - keep-alive - Content-Type: - - text/event-stream; charset=utf-8 - Date: - - Wed, 13 Aug 2025 15:05:41 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=IqSN3KbGpXhDdiJsTTxlGeRXenTf28pIasDyjBVgwwY-1755097541256-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '155' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '180' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999989' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_27be6b1449fd46ba8c7fdf7c50310706 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_2eb535d8.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_2eb535d8.json new file mode 100644 index 00000000000..77de0ba4143 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_2eb535d8.json @@ -0,0 +1,57 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "729" + }, + "body": "{\"messages\":[{\"content\":\"You are a {role} assistant.\",\"role\":\"system\"},{\"content\":\"Your expertise is in creative writing.\",\"role\":\"system\"},{\"content\":\"Additional context: focus on storytelling\",\"role\":\"system\"},{\"content\":\"I'm a user seeking help.\",\"role\":\"user\"},{\"content\":\"Please help with writing a short story\",\"role\":\"user\"},{\"content\":\"Specifically, I need character development\",\"role\":\"user\"},{\"content\":\"I understand your request.\",\"role\":\"assistant\"},{\"content\":\"I'll help you with writing a short story.\",\"role\":\"assistant\"},{\"content\":\"Let me provide guidance\",\"role\":\"assistant\"},{\"content\":\"Make it engaging and under 100 words\",\"role\":\"developer\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":false,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "98339cae6aff905c-BOS", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 22 Sep 2025 17:44:45 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=ZFeMiDd6PEb_h_UZ2pG8Wvp9CBwXI.cDOavASojqbpo-1758563085-1.0.1.1-gYUZtbN_O5a1ndmJEF1UCwPJ54MFaWUM.gOB.y3XPx_5vWgvDcFFfoYYZbOqlnHi6Nq1LDfDK_g0VEaZbY5H9QlQuBLopYD2lt0I.wYnGSw; path=/; expires=Mon, 22-Sep-25 18:14:45 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "565", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "589", + "x-openai-proxy-wasm": "v0.1", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999905", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_744f273b5ac44218a458a592ebe13b53" + }, + "body": "{\n \"id\": \"chatcmpl-CIese1QDPr0XXSEgYvKbkeUZhfQFJ\",\n \"object\": \"chat.completion\",\n \"created\": 1758563084,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"To start developing your character, think about their background, personality traits, motivations, and challenges they may face. Consider what makes them unique and how they might evolve throughout the story. Would you like to explore a particular type of character or setting for your story?\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 112,\n \"completion_tokens\": 52,\n \"total_tokens\": 164,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_2eb535d8.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_2eb535d8.yaml deleted file mode 100644 index d9657f58734..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_2eb535d8.yaml +++ /dev/null @@ -1,131 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "You are a {role} assistant.", "role": "system"}, - {"content": "Your expertise is in creative writing.", "role": "system"}, {"content": - "Additional context: focus on storytelling", "role": "system"}, {"content": - "I''m a user seeking help.", "role": "user"}, {"content": "Please help with - writing a short story", "role": "user"}, {"content": "Specifically, I need character - development", "role": "user"}, {"content": "I understand your request.", "role": - "assistant"}, {"content": "I''ll help you with writing a short story.", "role": - "assistant"}, {"content": "Let me provide guidance", "role": "assistant"}, {"content": - "Make it engaging and under 100 words", "role": "developer"}], "model": "gpt-3.5-turbo", - "n": 1, "stream": false, "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '777' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-CIese1QDPr0XXSEgYvKbkeUZhfQFJ\",\n \"object\": - \"chat.completion\",\n \"created\": 1758563084,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"To start developing your character, - think about their background, personality traits, motivations, and challenges - they may face. Consider what makes them unique and how they might evolve throughout - the story. Would you like to explore a particular type of character or setting - for your story?\",\n \"refusal\": null,\n \"annotations\": []\n - \ },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n - \ ],\n \"usage\": {\n \"prompt_tokens\": 112,\n \"completion_tokens\": - 52,\n \"total_tokens\": 164,\n \"prompt_tokens_details\": {\n \"cached_tokens\": - 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 98339cae6aff905c-BOS - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Mon, 22 Sep 2025 17:44:45 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=ZFeMiDd6PEb_h_UZ2pG8Wvp9CBwXI.cDOavASojqbpo-1758563085-1.0.1.1-gYUZtbN_O5a1ndmJEF1UCwPJ54MFaWUM.gOB.y3XPx_5vWgvDcFFfoYYZbOqlnHi6Nq1LDfDK_g0VEaZbY5H9QlQuBLopYD2lt0I.wYnGSw; - path=/; expires=Mon, 22-Sep-25 18:14:45 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=YfXe1C9udYV5eHjDVkrLIl2_SutEyw2Sxy1B1SNSYvw-1758563085238-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '565' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '589' - x-openai-proxy-wasm: - - v0.1 - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999905' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_744f273b5ac44218a458a592ebe13b53 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3c0e4b6c.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3c0e4b6c.json new file mode 100644 index 00000000000..7c25c3caf74 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3c0e4b6c.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "167" + }, + "body": "{\"messages\":[{\"content\":\"what country is the city Bikini Bottom in? respond in Spanish\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":false,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "9671a3d2ca8039e9-YYZ", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 30 Jul 2025 03:06:25 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=_ILe4002VchOsiLcIsI8Ql2R7P7W1S5Nvj7AXrgx3d4-1753844785-1.0.1.1-JH7vLo7LojwvlryshX6CIPW8VB4rSlyowFI8HRLySqHgxUKQuWgFwQgb7Xwyy6KmJA5lJx4A7wPVifrNBK75IUFeG5pbNKPC5_xRxKbexEw; path=/; expires=Wed, 30-Jul-25 03:36:25 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "547", + "openai-project": "proj_6cMiry5CHgK3zKotG0LtMb9H", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-envoy-upstream-service-time": "551", + "x-ratelimit-limit-requests": "15000", + "x-ratelimit-limit-tokens": "2000000", + "x-ratelimit-remaining-requests": "14999", + "x-ratelimit-remaining-tokens": "1999981", + "x-ratelimit-reset-requests": "4ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_8c1be9ab516cdcce7c8679e9d925d8fa" + }, + "body": "{\n \"id\": \"chatcmpl-ByrR3zqvrkTQjLpcFmARKsFoFoBfY\",\n \"object\": \"chat.completion\",\n \"created\": 1753844785,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"Bikini Bottom es una ciudad ficticia que se encuentra en el fondo del mar, espec\u00edficamente en el oc\u00e9ano Pac\u00edfico.\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 20,\n \"completion_tokens\": 29,\n \"total_tokens\": 49,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3c0e4b6c.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3c0e4b6c.yaml deleted file mode 100644 index 6c86feb21f5..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3c0e4b6c.yaml +++ /dev/null @@ -1,122 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "what country is the city Bikini Bottom in? respond - in Spanish", "role": "user"}], "model": "gpt-3.5-turbo", "n": 1, "stream": false, - "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '179' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.61.0 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - Linux - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.61.0 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.12.8 - ? !!python/object/apply:multidict._multidict.istr - - x-stainless-retry-count - : - '0' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-ByrR3zqvrkTQjLpcFmARKsFoFoBfY\",\n \"object\": - \"chat.completion\",\n \"created\": 1753844785,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"Bikini Bottom es una ciudad ficticia - que se encuentra en el fondo del mar, espec\xEDficamente en el oc\xE9ano Pac\xEDfico.\",\n - \ \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": - null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 20,\n \"completion_tokens\": 29,\n \"total_tokens\": 49,\n \"prompt_tokens_details\": - {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 9671a3d2ca8039e9-YYZ - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 30 Jul 2025 03:06:25 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=_ILe4002VchOsiLcIsI8Ql2R7P7W1S5Nvj7AXrgx3d4-1753844785-1.0.1.1-JH7vLo7LojwvlryshX6CIPW8VB4rSlyowFI8HRLySqHgxUKQuWgFwQgb7Xwyy6KmJA5lJx4A7wPVifrNBK75IUFeG5pbNKPC5_xRxKbexEw; - path=/; expires=Wed, 30-Jul-25 03:36:25 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=RE5AR_..uq90weUJ_VrwsY49HpciDYYdCWOnzqb55HA-1753844785938-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-4 - openai-processing-ms: - - '547' - openai-project: - - proj_6cMiry5CHgK3zKotG0LtMb9H - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-envoy-upstream-service-time: - - '551' - x-ratelimit-limit-requests: - - '15000' - x-ratelimit-limit-tokens: - - '2000000' - x-ratelimit-remaining-requests: - - '14999' - x-ratelimit-remaining-tokens: - - '1999981' - x-ratelimit-reset-requests: - - 4ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_8c1be9ab516cdcce7c8679e9d925d8fa - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3eb1f03d.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3eb1f03d.json new file mode 100644 index 00000000000..6932ea21831 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3eb1f03d.json @@ -0,0 +1,59 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "366" + }, + "body": "{\"messages\":[{\"content\":[{\"type\":\"text\",\"text\":\"What\u2019s in this image?\"},{\"type\":\"image_url\",\"image_url\":{\"url\":\"https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg\"}}],\"role\":\"user\"}],\"model\":\"gpt-4o\",\"max_tokens\":256,\"n\":1,\"stream\":false,\"temperature\":0.0}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91cf52ab8cd8b-EWR", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:05:57 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=Cy98zO8fYMMgBwIu99G0hkxMzd4mzsOO.7_98tM4.ro-1755097557248-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "4965", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "4998", + "x-ratelimit-limit-input-images": "250000", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "30000000", + "x-ratelimit-remaining-input-images": "249999", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "29999227", + "x-ratelimit-reset-input-images": "0s", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "1ms", + "x-request-id": "req_81b631def7b34af6950c3e7cbcb400f2" + }, + "body": "{\n \"id\": \"chatcmpl-C47KzKC1iChTqzBiWKWvc5vkvPiFX\",\n \"object\": \"chat.completion\",\n \"created\": 1755097553,\n \"model\": \"gpt-4o-2024-08-06\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"The image shows a scenic landscape with a wooden boardwalk path leading through a lush green field. The sky is blue with scattered clouds, and there are trees and bushes in the background. The setting appears to be a peaceful, natural area, possibly a park or nature reserve.\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 1118,\n \"completion_tokens\": 55,\n \"total_tokens\": 1173,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": \"fp_ff25b2783a\"\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3eb1f03d.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3eb1f03d.yaml deleted file mode 100644 index 25ce0f11cdd..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_3eb1f03d.yaml +++ /dev/null @@ -1,126 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": [{"type": "text", "text": "What\u2019s in this - image?"}, {"type": "image_url", "image_url": {"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"}}], - "role": "user"}], "model": "gpt-4o", "max_tokens": 256, "n": 1, "stream": false, - "temperature": 0.0}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '391' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-C47KzKC1iChTqzBiWKWvc5vkvPiFX\",\n \"object\": - \"chat.completion\",\n \"created\": 1755097553,\n \"model\": \"gpt-4o-2024-08-06\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"The image shows a scenic landscape - with a wooden boardwalk path leading through a lush green field. The sky is - blue with scattered clouds, and there are trees and bushes in the background. - The setting appears to be a peaceful, natural area, possibly a park or nature - reserve.\",\n \"refusal\": null,\n \"annotations\": []\n },\n - \ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n - \ \"usage\": {\n \"prompt_tokens\": 1118,\n \"completion_tokens\": 55,\n - \ \"total_tokens\": 1173,\n \"prompt_tokens_details\": {\n \"cached_tokens\": - 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": \"fp_ff25b2783a\"\n}\n" - headers: - CF-RAY: - - 96e91cf52ab8cd8b-EWR - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:05:57 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=Cy98zO8fYMMgBwIu99G0hkxMzd4mzsOO.7_98tM4.ro-1755097557248-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '4965' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '4998' - x-ratelimit-limit-input-images: - - '250000' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '30000000' - x-ratelimit-remaining-input-images: - - '249999' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '29999227' - x-ratelimit-reset-input-images: - - 0s - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 1ms - x-request-id: - - req_81b631def7b34af6950c3e7cbcb400f2 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5244958a.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5244958a.json new file mode 100644 index 00000000000..50c8489be84 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5244958a.json @@ -0,0 +1,57 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "714" + }, + "body": "{\"messages\":[{\"content\":\"You are a {role} assistant.\",\"role\":\"system\"},{\"content\":\"Your expertise is in data analysis.\",\"role\":\"system\"},{\"content\":\"Additional context: focus on accuracy\",\"role\":\"system\"},{\"content\":\"I'm a user seeking help.\",\"role\":\"user\"},{\"content\":\"Please help with analyzing datasets\",\"role\":\"user\"},{\"content\":\"Specifically, I need statistical methods\",\"role\":\"user\"},{\"content\":\"I understand your request.\",\"role\":\"assistant\"},{\"content\":\"I'll help you with analyzing datasets.\",\"role\":\"assistant\"},{\"content\":\"Let me provide insights\",\"role\":\"assistant\"},{\"content\":\"Make it detailed and under 150 words\",\"role\":\"developer\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":false,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "98339cbb7ecb4d19-BOS", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 22 Sep 2025 17:44:47 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=euWjg3ikr4nZKHcbyuC.bYYnK.jXMyVDv3M4aT6XUzs-1758563087-1.0.1.1-7qSk1dqCq8_3JgUxMKFTaZb61GS3Enu13aoYBKeccB0N4kAz01tSFR_V1y_b9AVXq0kftzhrYul86M9PdfDKfZBIRIQ3CKZL5HvcL7vb8kI; path=/; expires=Mon, 22-Sep-25 18:14:47 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "751", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "774", + "x-openai-proxy-wasm": "v0.1", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999907", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_4f13c054e468464b944056e3299b282c" + }, + "body": "{\n \"id\": \"chatcmpl-CIesgrrGj7PzEPdG5OvPNZTzmC9Xw\",\n \"object\": \"chat.completion\",\n \"created\": 1758563086,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"Certainly! I will assist you in analyzing datasets using statistical methods. We can start by exploring the data with descriptive statistics like mean, median, and standard deviation. Then, we can apply inferential statistics such as hypothesis testing or regression analysis to draw meaningful conclusions. It's important to ensure data accuracy throughout the analysis process to maintain the reliability of the results. Feel free to share more details about your specific dataset and analysis goals for a more tailored approach.\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 108,\n \"completion_tokens\": 90,\n \"total_tokens\": 198,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5244958a.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5244958a.yaml deleted file mode 100644 index 3525a9aaa13..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5244958a.yaml +++ /dev/null @@ -1,134 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "You are a {role} assistant.", "role": "system"}, - {"content": "Your expertise is in data analysis.", "role": "system"}, {"content": - "Additional context: focus on accuracy", "role": "system"}, {"content": "I''m - a user seeking help.", "role": "user"}, {"content": "Please help with analyzing - datasets", "role": "user"}, {"content": "Specifically, I need statistical methods", - "role": "user"}, {"content": "I understand your request.", "role": "assistant"}, - {"content": "I''ll help you with analyzing datasets.", "role": "assistant"}, - {"content": "Let me provide insights", "role": "assistant"}, {"content": "Make - it detailed and under 150 words", "role": "developer"}], "model": "gpt-3.5-turbo", - "n": 1, "stream": false, "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '762' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-CIesgrrGj7PzEPdG5OvPNZTzmC9Xw\",\n \"object\": - \"chat.completion\",\n \"created\": 1758563086,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"Certainly! I will assist you in analyzing - datasets using statistical methods. We can start by exploring the data with - descriptive statistics like mean, median, and standard deviation. Then, we - can apply inferential statistics such as hypothesis testing or regression - analysis to draw meaningful conclusions. It's important to ensure data accuracy - throughout the analysis process to maintain the reliability of the results. - Feel free to share more details about your specific dataset and analysis goals - for a more tailored approach.\",\n \"refusal\": null,\n \"annotations\": - []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n - \ }\n ],\n \"usage\": {\n \"prompt_tokens\": 108,\n \"completion_tokens\": - 90,\n \"total_tokens\": 198,\n \"prompt_tokens_details\": {\n \"cached_tokens\": - 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 98339cbb7ecb4d19-BOS - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Mon, 22 Sep 2025 17:44:47 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=euWjg3ikr4nZKHcbyuC.bYYnK.jXMyVDv3M4aT6XUzs-1758563087-1.0.1.1-7qSk1dqCq8_3JgUxMKFTaZb61GS3Enu13aoYBKeccB0N4kAz01tSFR_V1y_b9AVXq0kftzhrYul86M9PdfDKfZBIRIQ3CKZL5HvcL7vb8kI; - path=/; expires=Mon, 22-Sep-25 18:14:47 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=6l8XMsDdJN1mhrIcpj_nZ2Q2pARp460CR8cb9Teb56M-1758563087501-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '751' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '774' - x-openai-proxy-wasm: - - v0.1 - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999907' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_4f13c054e468464b944056e3299b282c - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5940fcfa.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5940fcfa.json new file mode 100644 index 00000000000..122ad6aa6b5 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5940fcfa.json @@ -0,0 +1,55 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "235" + }, + "body": "{\"messages\":[{\"content\":\"You are a world class technical documentation writer.\",\"role\":\"system\"},{\"content\":\"how can langsmith help with testing?\",\"role\":\"user\"}],\"model\":\"gpt-4o\",\"max_tokens\":256,\"n\":1,\"stream\":true,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91e2b7d81c698-EWR", + "Connection": "keep-alive", + "Content-Type": "text/event-stream; charset=utf-8", + "Date": "Wed, 13 Aug 2025 15:06:42 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=8yyksnHfwXQTXlTt4FwMARbPP5ZdGhWMI3JqNv7R0CY-1755097602318-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "325", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "349", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "30000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "29999974", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_2f6f293340784d4eab7ae84791c3398b" + }, + "body": "data: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"l0v8g80W0qV\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"iMk8VvMcA\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6pDopGeX\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" is\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"o8aKdIDmzz\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OZFEJL9OL0Q\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" powerful\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"h1uZ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" tool\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0hCUU0xq\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" designed\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"w4uG\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tbAdcgt03s\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" assist\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cSTjck\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" developers\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"k2\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"mjrLOyoOZ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" teams\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9bVSOPt\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jFSLpTZTzE\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"BAxFmCeKD\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DYHJb\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aamJ1o9Cz\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" evaluation\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"R0\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"f2TJWbyVC1\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" language\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"G8QS\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" models\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cys7w9\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gItZmRopf\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" their\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"35QUVqC\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" applications\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"UARM8k4TKHTZ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Here\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2bMfZSB5\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"\u2019s\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bvWlkuUpxbf\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" how\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"QFObBRCmD\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cbvjQ4Os\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CDOuC7O6\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NK9ZbILuV\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TOkWEPQ3\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" with\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kNMH3YyK\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qCje5\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6eIhfY4L\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"1\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"x7LHtbUcVNzR\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yrlpNgV20OCJ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"s2QstbwVRp\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Autom\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ZoKsprta\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"ated\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"dAiJtnpUG\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"c3dXe\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1PO0KvyLpzr\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"RuPAEJebK4Ip\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nvBsnfu8\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DGf4SnNf\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"z4IXjCyvU\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" automate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nrxD\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"39PckWh59\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3DVlJ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" process\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eFcJ3\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bpsI97T2w\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" language\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"izdm\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" models\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yobJHM\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"dUPOBw1k9wVs\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" allowing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aEwm\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" you\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XJ3iLMoVL\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sxChtOguYw\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" run\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"m3i6N6kj4\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6YdCwxPmRBn\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" series\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ay4Jwi\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"EEZLCOJsZ8\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" tests\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sqk195k\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" without\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qUkPp\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" manual\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Z7mB2b\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" intervention\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"envZRkjAN4Ro\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4NeIWFCt\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ensures\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XYI2Z\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" consistency\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"T\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"owfGoGYk0\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" saves\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"K1JAIhL\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" time\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"MOKk1cle\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"PkRNSWP7zRhL\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" especially\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"VM\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" when\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CyvexJJX\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" dealing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"mVPJz\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" with\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gXoDDDoB\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" extensive\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CYZ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kaRyZCQw\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uMI6oRb\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"iLnr3mwL\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"2\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"YXkUs7Lbhw5b\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"exb3rB9PiPM8\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bPvqc28J08\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GwtJ4wqJU\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Case\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1neJieTX\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Management\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Xp\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"AFsVVCGXitX\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"zWtxHkUVYokH\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" It\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Q36hiiP20r\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" provides\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"BNi5\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DijtYRKgn4S\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" structured\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"va\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" environment\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"q\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OcwEQ2i5d\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" managing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"B7rr\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"RfMTkt3f\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3UTJyOp\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"UDoE0FghUvWA\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" enabling\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"FFWe\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" you\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qakOA8kwz\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"8w7UFvbbQq\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" organize\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qkzi\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lTTW5QG8s\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" maintain\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"N3Xf\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wfMOycHqOMZ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" comprehensive\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0OYqMBKgjpZHoFV\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" suite\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Mrdy3Xz\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"dN2lM4hl45\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" tests\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SaFoW38\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"H5kGqB05zc73\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GurNdkVZ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" includes\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"O2MO\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" creating\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Y0au\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jK4w2jV38FzD\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" editing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wlFQt\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3ETnv1N7nHkN\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"HAIvU5pPi\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" categor\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xj77L\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"izing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KHi7byqo\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"vV4G4xPl\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" scenarios\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"HCF\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hHTFKacZM\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" better\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TVndtU\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" coverage\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ouDr\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XEbFVL2g\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"3\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bldhOa1c5xgu\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nCasqvTMu8sM\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"EHYXiFKMM3\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Performance\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OR\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Metrics\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OKRJd\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XYeaPAZ8yFs\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4pU4Cu1AgGaL\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9Af2PuEs\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fSyXzbc8\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" offers\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cIits5\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" detailed\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"pCOL\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" analytics\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Q6z\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"vKrC7QLUO\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" performance\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"X\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" metrics\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"LCaY3\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"mb6t7JMOd\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" your\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"y3POLPcx\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" models\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OZywBJ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"abBrgNS1ZhsJ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"g6zdVLUm\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" includes\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"855P\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" evaluation\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DA\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uD79EmUfbD\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" accuracy\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0WUY\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"rgfXQA3UgKOG\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" response\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SwnH\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" time\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ckfub7CR\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Xio7Z8AtJImj\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"j6ggPAMCZ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" other\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xHJzQoO\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" critical\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ecKe\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" parameters\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yf\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XKsCEBpJyoWT\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" helping\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gejxE\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" you\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lVG1O0MNF\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" understand\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0b\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" how\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NXPlxH4jx\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" well\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gIya14Ah\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" your\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"IiibvqVG\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" model\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yx5AhES\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" performs\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TGYB\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" under\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DTiMXFv\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" various\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"O2tdO\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" conditions\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aW\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"dJt4pdQM\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"4\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"PvTENvys40Tm\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"73fZRSFlFlII\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ki9Mwl4McK\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Scenario\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2POKo\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Simulation\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aU\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ecu3KHoqBNU\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"h1jpwzmxZ28Z\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" You\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GcgKEwrlx\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"vX9MIZDF5\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" simulate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1EUY\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" real\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TZ2NAupq\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"-world\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ofCVone\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" scenarios\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"A6f\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jYTEIf6WX\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" edge\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NpGVf6ac\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kxJnpck\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"A1P2fS77gr\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" see\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GMQzPEs8F\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" how\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wi2w6w5Yf\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" your\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3cuGAfhH\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" language\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qIDJ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" model\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"S1vNaoY\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" handles\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ErCC4\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" unexpected\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ZZ\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" inputs\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6zUEar\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" or\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eVIY1qPXzy\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" complex\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"G73E6\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" queries\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gnp1i\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nG6pd1W6ML0r\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"PJfChyZO\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" is\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uGfbkNqQW6\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" crucial\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jwGeE\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yZAz4a6CP\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" identifying\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"8\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" vulnerabilities\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"l7KtHHyB3cFhx\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sVD9G0Ce6\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ensuring\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aFJN\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" robustness\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Hf\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NhWIe1gx\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"5\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"utU9WwBecb9r\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"WsJl90t7q4vb\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OWbFjPat8x\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Continuous\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KGg\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Integration\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"x\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DzUVDXywebn\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"w5qfMStksK96\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"06vj7VMU\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uateUkzP\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SuvN4p7O1\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" be\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1vHrhF5vyu\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" integrated\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wo\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" into\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jrzrtsRr\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" your\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xFcqD613\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" continuous\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Sp\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" integration\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"j\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"/\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SwXdaMbLAGMx\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"continuous\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lVd\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" deployment\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Jy\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" (\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GjvDWZeb4B0\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"CI\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3eQPUqRx9UF\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"/CD\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Q1s2TebYD8\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\")\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ydFkVfRaQU6u\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" pipeline\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"R2Zn\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7dZHcm6efjmg\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" allowing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9cFw\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"13ukHZXM3\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" continuous\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"zl\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tn6ey\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kOOalkvVA\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" monitoring\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Dh\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"RvupHKdV7Y\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" language\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5dNS\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" models\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cvjiu5\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" as\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2hpd3rJXAm\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" they\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hiKkVUvb\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" are\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Rx0rrLFMl\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" updated\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2THHg\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" or\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0TCrSo8ak3\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" modified\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"85AC\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"QAtgTkEm\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"6\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TF6sVywNsbPx\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KkCtylpFeXld\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"du34bp7g6n\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Regression\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lV7\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"y6c1c\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eTOob2tzb5c\"}\n\ndata: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{},\"logprobs\":null,\"finish_reason\":\"length\"}],\"obfuscation\":\"L8yvK\"}\n\ndata: [DONE]\n\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5940fcfa.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5940fcfa.yaml deleted file mode 100644 index 8cd7b45fef0..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5940fcfa.yaml +++ /dev/null @@ -1,554 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "You are a world class technical documentation - writer.", "role": "system"}, {"content": "how can langsmith help with testing?", - "role": "user"}], "model": "gpt-4o", "max_tokens": 256, "n": 1, "stream": true, - "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '253' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "data: {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"l0v8g80W0qV\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"iMk8VvMcA\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6pDopGeX\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - is\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"o8aKdIDmzz\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OZFEJL9OL0Q\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - powerful\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"h1uZ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - tool\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0hCUU0xq\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - designed\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"w4uG\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tbAdcgt03s\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - assist\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cSTjck\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - developers\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"k2\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"mjrLOyoOZ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - teams\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9bVSOPt\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jFSLpTZTzE\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"BAxFmCeKD\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DYHJb\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aamJ1o9Cz\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - evaluation\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"R0\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"f2TJWbyVC1\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - language\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"G8QS\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - models\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cys7w9\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gItZmRopf\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - their\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"35QUVqC\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - applications\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"UARM8k4TKHTZ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Here\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2bMfZSB5\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"\u2019s\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bvWlkuUpxbf\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - how\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"QFObBRCmD\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cbvjQ4Os\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CDOuC7O6\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NK9ZbILuV\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TOkWEPQ3\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - with\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kNMH3YyK\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qCje5\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6eIhfY4L\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"1\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"x7LHtbUcVNzR\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yrlpNgV20OCJ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"s2QstbwVRp\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Autom\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ZoKsprta\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"ated\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"dAiJtnpUG\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"c3dXe\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1PO0KvyLpzr\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"RuPAEJebK4Ip\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nvBsnfu8\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DGf4SnNf\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"z4IXjCyvU\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - automate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nrxD\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"39PckWh59\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3DVlJ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - process\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eFcJ3\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bpsI97T2w\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - language\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"izdm\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - models\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yobJHM\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"dUPOBw1k9wVs\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - allowing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aEwm\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - you\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XJ3iLMoVL\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sxChtOguYw\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - run\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"m3i6N6kj4\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6YdCwxPmRBn\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - series\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ay4Jwi\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"EEZLCOJsZ8\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - tests\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sqk195k\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - without\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qUkPp\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - manual\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Z7mB2b\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - intervention\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"envZRkjAN4Ro\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4NeIWFCt\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - ensures\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XYI2Z\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - consistency\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"T\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"owfGoGYk0\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - saves\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"K1JAIhL\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - time\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"MOKk1cle\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"PkRNSWP7zRhL\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - especially\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"VM\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - when\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CyvexJJX\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - dealing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"mVPJz\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - with\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gXoDDDoB\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - extensive\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CYZ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kaRyZCQw\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uMI6oRb\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"iLnr3mwL\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"2\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"YXkUs7Lbhw5b\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"exb3rB9PiPM8\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bPvqc28J08\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GwtJ4wqJU\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Case\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1neJieTX\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Management\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Xp\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"AFsVVCGXitX\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"zWtxHkUVYokH\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - It\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Q36hiiP20r\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - provides\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"BNi5\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DijtYRKgn4S\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - structured\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"va\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - environment\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"q\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OcwEQ2i5d\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - managing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"B7rr\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"RfMTkt3f\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3UTJyOp\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"UDoE0FghUvWA\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - enabling\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"FFWe\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - you\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qakOA8kwz\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"8w7UFvbbQq\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - organize\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qkzi\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lTTW5QG8s\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - maintain\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"N3Xf\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wfMOycHqOMZ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - comprehensive\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0OYqMBKgjpZHoFV\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - suite\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Mrdy3Xz\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"dN2lM4hl45\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - tests\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SaFoW38\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"H5kGqB05zc73\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GurNdkVZ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - includes\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"O2MO\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - creating\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Y0au\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jK4w2jV38FzD\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - editing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wlFQt\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3ETnv1N7nHkN\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"HAIvU5pPi\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - categor\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xj77L\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"izing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KHi7byqo\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"vV4G4xPl\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - scenarios\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"HCF\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hHTFKacZM\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - better\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TVndtU\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - coverage\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ouDr\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XEbFVL2g\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"3\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bldhOa1c5xgu\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nCasqvTMu8sM\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"EHYXiFKMM3\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Performance\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OR\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Metrics\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OKRJd\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XYeaPAZ8yFs\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4pU4Cu1AgGaL\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9Af2PuEs\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fSyXzbc8\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - offers\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cIits5\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - detailed\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"pCOL\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - analytics\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Q6z\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"vKrC7QLUO\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - performance\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"X\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - metrics\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"LCaY3\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"mb6t7JMOd\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - your\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"y3POLPcx\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - models\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OZywBJ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"abBrgNS1ZhsJ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"g6zdVLUm\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - includes\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"855P\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - evaluation\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DA\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uD79EmUfbD\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - accuracy\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0WUY\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"rgfXQA3UgKOG\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - response\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SwnH\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - time\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ckfub7CR\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Xio7Z8AtJImj\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"j6ggPAMCZ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - other\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xHJzQoO\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - critical\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ecKe\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - parameters\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yf\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XKsCEBpJyoWT\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - helping\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gejxE\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - you\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lVG1O0MNF\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - understand\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0b\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - how\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NXPlxH4jx\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - well\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gIya14Ah\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - your\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"IiibvqVG\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - model\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yx5AhES\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - performs\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TGYB\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - under\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DTiMXFv\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - various\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"O2tdO\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - conditions\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aW\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"dJt4pdQM\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"4\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"PvTENvys40Tm\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"73fZRSFlFlII\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ki9Mwl4McK\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Scenario\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2POKo\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Simulation\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aU\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ecu3KHoqBNU\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"h1jpwzmxZ28Z\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - You\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GcgKEwrlx\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"vX9MIZDF5\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - simulate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1EUY\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - real\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TZ2NAupq\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"-world\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ofCVone\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - scenarios\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"A6f\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jYTEIf6WX\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - edge\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NpGVf6ac\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kxJnpck\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"A1P2fS77gr\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - see\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GMQzPEs8F\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - how\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wi2w6w5Yf\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - your\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3cuGAfhH\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - language\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qIDJ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - model\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"S1vNaoY\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - handles\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ErCC4\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - unexpected\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ZZ\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - inputs\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6zUEar\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - or\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eVIY1qPXzy\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - complex\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"G73E6\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - queries\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gnp1i\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nG6pd1W6ML0r\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"PJfChyZO\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - is\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uGfbkNqQW6\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - crucial\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jwGeE\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yZAz4a6CP\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - identifying\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"8\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - vulnerabilities\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"l7KtHHyB3cFhx\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sVD9G0Ce6\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - ensuring\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aFJN\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - robustness\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Hf\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NhWIe1gx\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"5\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"utU9WwBecb9r\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"WsJl90t7q4vb\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OWbFjPat8x\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Continuous\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KGg\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Integration\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"x\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DzUVDXywebn\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"w5qfMStksK96\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"06vj7VMU\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uateUkzP\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SuvN4p7O1\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - be\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1vHrhF5vyu\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - integrated\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wo\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - into\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jrzrtsRr\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - your\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xFcqD613\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - continuous\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Sp\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - integration\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"j\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"/\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SwXdaMbLAGMx\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"continuous\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lVd\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - deployment\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Jy\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - (\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GjvDWZeb4B0\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"CI\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3eQPUqRx9UF\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"/CD\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Q1s2TebYD8\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\")\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ydFkVfRaQU6u\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - pipeline\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"R2Zn\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7dZHcm6efjmg\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - allowing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9cFw\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"13ukHZXM3\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - continuous\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"zl\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tn6ey\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kOOalkvVA\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - monitoring\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Dh\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"RvupHKdV7Y\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - language\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5dNS\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - models\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cvjiu5\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - as\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2hpd3rJXAm\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - they\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hiKkVUvb\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - are\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Rx0rrLFMl\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - updated\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2THHg\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - or\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0TCrSo8ak3\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - modified\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"85AC\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"QAtgTkEm\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"6\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TF6sVywNsbPx\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KkCtylpFeXld\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - **\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"du34bp7g6n\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Regression\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lV7\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" - Testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"y6c1c\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"**\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eTOob2tzb5c\"}\n\ndata: - {\"id\":\"chatcmpl-C47LmxSjtIzWTuBMVVQdhfz66IGTr\",\"object\":\"chat.completion.chunk\",\"created\":1755097602,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_07871e2ad8\",\"choices\":[{\"index\":0,\"delta\":{},\"logprobs\":null,\"finish_reason\":\"length\"}],\"obfuscation\":\"L8yvK\"}\n\ndata: - [DONE]\n\n" - headers: - CF-RAY: - - 96e91e2b7d81c698-EWR - Connection: - - keep-alive - Content-Type: - - text/event-stream; charset=utf-8 - Date: - - Wed, 13 Aug 2025 15:06:42 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=8yyksnHfwXQTXlTt4FwMARbPP5ZdGhWMI3JqNv7R0CY-1755097602318-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '325' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '349' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '30000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '29999974' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_2f6f293340784d4eab7ae84791c3398b - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5db41b2a.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5db41b2a.json new file mode 100644 index 00000000000..7ff383c689c --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5db41b2a.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "153" + }, + "body": "{\"messages\":[{\"content\":\"what is the city Spongebob Squarepants is from?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":false,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "9671a3cf1d3839f9-YYZ", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 30 Jul 2025 03:06:24 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=la1BVfgiEY86NXoeVe5B_ahm0eWMTuYMAIzWngp9CV0-1753844784-1.0.1.1-YHSSav9BgU04sWHfXVwjMCwy0FPyd18XP_PXtJzsQWfIDfPjvCZUzHuT1nZDwUijTJJFbrzOuXBKPa.6ZTfGfOiPsuVHRukgpkFW_KWcSsk; path=/; expires=Wed, 30-Jul-25 03:36:24 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "220", + "openai-project": "proj_6cMiry5CHgK3zKotG0LtMb9H", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-envoy-upstream-service-time": "225", + "x-ratelimit-limit-requests": "15000", + "x-ratelimit-limit-tokens": "2000000", + "x-ratelimit-remaining-requests": "14999", + "x-ratelimit-remaining-tokens": "1999986", + "x-ratelimit-reset-requests": "4ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_35d36b9ea1962dbebb038b82e83d88d8" + }, + "body": "{\n \"id\": \"chatcmpl-ByrR2KB20Da8hv3eLiLgklh8cWs1b\",\n \"object\": \"chat.completion\",\n \"created\": 1753844784,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"Bikini Bottom\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 18,\n \"completion_tokens\": 4,\n \"total_tokens\": 22,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5db41b2a.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5db41b2a.yaml deleted file mode 100644 index 2ef9bec0e79..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_5db41b2a.yaml +++ /dev/null @@ -1,121 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "what is the city Spongebob Squarepants is from?", - "role": "user"}], "model": "gpt-3.5-turbo", "n": 1, "stream": false, "temperature": - 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '165' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.61.0 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - Linux - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.61.0 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.12.8 - ? !!python/object/apply:multidict._multidict.istr - - x-stainless-retry-count - : - '0' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-ByrR2KB20Da8hv3eLiLgklh8cWs1b\",\n \"object\": - \"chat.completion\",\n \"created\": 1753844784,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"Bikini Bottom\",\n \"refusal\": - null,\n \"annotations\": []\n },\n \"logprobs\": null,\n - \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 18,\n \"completion_tokens\": 4,\n \"total_tokens\": 22,\n \"prompt_tokens_details\": - {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 9671a3cf1d3839f9-YYZ - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 30 Jul 2025 03:06:24 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=la1BVfgiEY86NXoeVe5B_ahm0eWMTuYMAIzWngp9CV0-1753844784-1.0.1.1-YHSSav9BgU04sWHfXVwjMCwy0FPyd18XP_PXtJzsQWfIDfPjvCZUzHuT1nZDwUijTJJFbrzOuXBKPa.6ZTfGfOiPsuVHRukgpkFW_KWcSsk; - path=/; expires=Wed, 30-Jul-25 03:36:24 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=Kfp87ebYGYY38QE_3ZMvMVd765CIr.zEPiaDZOJj4u8-1753844784983-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-4 - openai-processing-ms: - - '220' - openai-project: - - proj_6cMiry5CHgK3zKotG0LtMb9H - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-envoy-upstream-service-time: - - '225' - x-ratelimit-limit-requests: - - '15000' - x-ratelimit-limit-tokens: - - '2000000' - x-ratelimit-remaining-requests: - - '14999' - x-ratelimit-remaining-tokens: - - '1999986' - x-ratelimit-reset-requests: - - 4ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_35d36b9ea1962dbebb038b82e83d88d8 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7d83634e.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7d83634e.json new file mode 100644 index 00000000000..55f557d164a --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7d83634e.json @@ -0,0 +1,55 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "AsyncOpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "async:asyncio", + "x-stainless-retry-count": "0", + "Content-Length": "115" + }, + "body": "{\"messages\":[{\"content\":\"some input\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":true,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91d3ba9057cff-EWR", + "Connection": "keep-alive", + "Content-Type": "text/event-stream; charset=utf-8", + "Date": "Wed, 13 Aug 2025 15:06:03 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=gpOaeejAt9SvFDDTUJ7YjomCTWIXVYYa6XVdAChXxGY-1755097563830-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "253", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "281", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999995", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_7ade0bee985e4e8ca1c2189974b4b074" + }, + "body": "data: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lueCs\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Hello\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fg\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"!\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"C7bIm9\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" How\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KFT\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GYF\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" I\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"g0ol1\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" assist\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" you\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"F8F\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" today\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"K\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"?\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"e3c4WW\"}\n\ndata: {\"id\":\"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ\",\"object\":\"chat.completion.chunk\",\"created\":1755097563,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{},\"logprobs\":null,\"finish_reason\":\"stop\"}],\"obfuscation\":\"d\"}\n\ndata: [DONE]\n\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7d83634e.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7d83634e.yaml deleted file mode 100644 index e26ed034168..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7d83634e.yaml +++ /dev/null @@ -1,144 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "some input", "role": "user"}], "model": "gpt-3.5-turbo", - "n": 1, "stream": true, "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '127' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - AsyncOpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - async:asyncio - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: 'data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"obfuscation":"lueCs"} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}],"obfuscation":"fg"} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}],"obfuscation":"C7bIm9"} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - How"},"logprobs":null,"finish_reason":null}],"obfuscation":"KFT"} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"GYF"} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - I"},"logprobs":null,"finish_reason":null}],"obfuscation":"g0ol1"} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - assist"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - you"},"logprobs":null,"finish_reason":null}],"obfuscation":"F8F"} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - today"},"logprobs":null,"finish_reason":null}],"obfuscation":"K"} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"?"},"logprobs":null,"finish_reason":null}],"obfuscation":"e3c4WW"} - - - data: {"id":"chatcmpl-C47L90c1mf3UiZwKvtklfWVWdY4pQ","object":"chat.completion.chunk","created":1755097563,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"obfuscation":"d"} - - - data: [DONE] - - - ' - headers: - CF-RAY: - - 96e91d3ba9057cff-EWR - Connection: - - keep-alive - Content-Type: - - text/event-stream; charset=utf-8 - Date: - - Wed, 13 Aug 2025 15:06:03 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=gpOaeejAt9SvFDDTUJ7YjomCTWIXVYYa6XVdAChXxGY-1755097563830-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '253' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '281' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999995' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_7ade0bee985e4e8ca1c2189974b4b074 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7efd1a80.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7efd1a80.json new file mode 100644 index 00000000000..4127f845fd8 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7efd1a80.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "436" + }, + "body": "{\"messages\":[{\"content\":\"What is the sum of 1 and 2?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo-0125\",\"n\":1,\"stream\":false,\"temperature\":0.7,\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"add\",\"description\":\"add(a: int, b: int) -> int - Adds a and b.\\n\\n Args:\\n a: first int\\n b: second int\",\"parameters\":{\"type\":\"object\",\"properties\":{\"a\":{\"type\":\"integer\"},\"b\":{\"type\":\"integer\"}},\"required\":[\"a\",\"b\"]}}}]}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91cc109a2c54d-EWR", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:05:44 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=TPXwFLo87HsGS_irw.D047xc8qknX.JBmQO8SFJcJUw-1755097544983-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "768", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "815", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999991", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_9523976ac81747c1b12bfe6ecb6a3de1" + }, + "body": "{\n \"id\": \"chatcmpl-C47Kq8W5o5oyHrSsFxAXNqpkaq9Jf\",\n \"object\": \"chat.completion\",\n \"created\": 1755097544,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n \"id\": \"call_aRMb91k5YxGdI7wtfEFZWGea\",\n \"type\": \"function\",\n \"function\": {\n \"name\": \"add\",\n \"arguments\": \"{\\\"a\\\": 1, \\\"b\\\": 2}\"\n }\n }\n ],\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"tool_calls\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 85,\n \"completion_tokens\": 32,\n \"total_tokens\": 117,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7efd1a80.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7efd1a80.yaml deleted file mode 100644 index 5640c251fe2..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_7efd1a80.yaml +++ /dev/null @@ -1,122 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "What is the sum of 1 and 2?", "role": "user"}], - "model": "gpt-3.5-turbo-0125", "n": 1, "stream": false, "temperature": 0.7, - "tools": [{"type": "function", "function": {"name": "add", "description": "add(a: - int, b: int) -> int - Adds a and b.\n\n Args:\n a: first int\n b: - second int", "parameters": {"type": "object", "properties": {"a": {"type": "integer"}, - "b": {"type": "integer"}}, "required": ["a", "b"]}}}]}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '469' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-C47Kq8W5o5oyHrSsFxAXNqpkaq9Jf\",\n \"object\": - \"chat.completion\",\n \"created\": 1755097544,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n - \ \"id\": \"call_aRMb91k5YxGdI7wtfEFZWGea\",\n \"type\": - \"function\",\n \"function\": {\n \"name\": \"add\",\n - \ \"arguments\": \"{\\\"a\\\": 1, \\\"b\\\": 2}\"\n }\n - \ }\n ],\n \"refusal\": null,\n \"annotations\": - []\n },\n \"logprobs\": null,\n \"finish_reason\": \"tool_calls\"\n - \ }\n ],\n \"usage\": {\n \"prompt_tokens\": 85,\n \"completion_tokens\": - 32,\n \"total_tokens\": 117,\n \"prompt_tokens_details\": {\n \"cached_tokens\": - 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 96e91cc109a2c54d-EWR - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:05:44 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=TPXwFLo87HsGS_irw.D047xc8qknX.JBmQO8SFJcJUw-1755097544983-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '768' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '815' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999991' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_9523976ac81747c1b12bfe6ecb6a3de1 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8b446c8e.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8b446c8e.json new file mode 100644 index 00000000000..bf1ac2a8c8c --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8b446c8e.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "137" + }, + "body": "{\"messages\":[{\"content\":\"Tell me a short joke about pigs\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":false,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91e7b2a8c7ca2-EWR", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:06:55 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=QSXKYQ6Xa6xTOImHPkvxVxzgNCpnVHacy3gFxbfsrbU-1755097615128-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "422", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "461", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999990", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_66778e6dacd1464189d0a3bb678c5b83" + }, + "body": "{\n \"id\": \"chatcmpl-C47LyxLG9xoSpmofhwzi7Z0GTwng0\",\n \"object\": \"chat.completion\",\n \"created\": 1755097614,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"What do you call a pig that does karate? A pork chop!\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 14,\n \"completion_tokens\": 15,\n \"total_tokens\": 29,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8b446c8e.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8b446c8e.yaml deleted file mode 100644 index e39afad92a1..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8b446c8e.yaml +++ /dev/null @@ -1,115 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "Tell me a short joke about pigs", "role": "user"}], - "model": "gpt-3.5-turbo", "n": 1, "stream": false, "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '149' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-C47LyxLG9xoSpmofhwzi7Z0GTwng0\",\n \"object\": - \"chat.completion\",\n \"created\": 1755097614,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"What do you call a pig that does karate? - A pork chop!\",\n \"refusal\": null,\n \"annotations\": []\n - \ },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n - \ ],\n \"usage\": {\n \"prompt_tokens\": 14,\n \"completion_tokens\": - 15,\n \"total_tokens\": 29,\n \"prompt_tokens_details\": {\n \"cached_tokens\": - 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 96e91e7b2a8c7ca2-EWR - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:06:55 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=QSXKYQ6Xa6xTOImHPkvxVxzgNCpnVHacy3gFxbfsrbU-1755097615128-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '422' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '461' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999990' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_66778e6dacd1464189d0a3bb678c5b83 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8fdba4e4.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8fdba4e4.json new file mode 100644 index 00000000000..ea3be75cf89 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8fdba4e4.json @@ -0,0 +1,57 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "AsyncOpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "async:asyncio", + "x-stainless-retry-count": "0", + "Content-Length": "725" + }, + "body": "{\"messages\":[{\"content\":\"You are a {role} assistant.\",\"role\":\"system\"},{\"content\":\"Your expertise is in software engineering.\",\"role\":\"system\"},{\"content\":\"Additional context: focus on best practices\",\"role\":\"system\"},{\"content\":\"I'm a user seeking help.\",\"role\":\"user\"},{\"content\":\"Please help with code review\",\"role\":\"user\"},{\"content\":\"Specifically, I need performance optimization\",\"role\":\"user\"},{\"content\":\"I understand your request.\",\"role\":\"assistant\"},{\"content\":\"I'll help you with code review.\",\"role\":\"assistant\"},{\"content\":\"Let me provide recommendations\",\"role\":\"assistant\"},{\"content\":\"Make it thorough and under 200 words\",\"role\":\"developer\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":false,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "98339cb37b67904d-BOS", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 22 Sep 2025 17:44:46 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=oNqeFDsHxjp57DO51OQdISF3Rv7ullj_2sqWTb.S_30-1758563086-1.0.1.1-lQxQBATc6qZ6885iAbP4q4GcorpFkumyl4a3sbnw91vDcB2MVUB4tAFSRlpWmW3iX6s6a1Kn5auYHerQzjwqJvezKRtKrdFeKAlsTk1E3ek; path=/; expires=Mon, 22-Sep-25 18:14:46 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "1073", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "1094", + "x-openai-proxy-wasm": "v0.1", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999905", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_1690ccbc68564cc1a3041ea020bbe6d6" + }, + "body": "{\n \"id\": \"chatcmpl-CIesfljG3kdiFje8g6472JNaqQCgs\",\n \"object\": \"chat.completion\",\n \"created\": 1758563085,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"When optimizing for performance, consider the following: \\n1. Use efficient data structures and algorithms.\\n2. Minimize unnecessary operations and avoid nested loops.\\n3. Cache results of expensive computations.\\n4. Optimize database queries and minimize network requests.\\n5. Utilize asynchronous processing and parallel programming.\\n6. Profile your code to identify bottlenecks.\\n7. Avoid premature optimization; focus on critical areas first.\\n8. Consider using a profiler tool to measure performance improvements.\\n9. Regularly review and refactor code for better performance.\\n10. Test performance changes and monitor for regressions. Remember, optimizing code is a balance between performance gains and code complexity.\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 109,\n \"completion_tokens\": 131,\n \"total_tokens\": 240,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8fdba4e4.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8fdba4e4.yaml deleted file mode 100644 index 86bda0b449c..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_8fdba4e4.yaml +++ /dev/null @@ -1,136 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "You are a {role} assistant.", "role": "system"}, - {"content": "Your expertise is in software engineering.", "role": "system"}, - {"content": "Additional context: focus on best practices", "role": "system"}, - {"content": "I''m a user seeking help.", "role": "user"}, {"content": "Please - help with code review", "role": "user"}, {"content": "Specifically, I need performance - optimization", "role": "user"}, {"content": "I understand your request.", "role": - "assistant"}, {"content": "I''ll help you with code review.", "role": "assistant"}, - {"content": "Let me provide recommendations", "role": "assistant"}, {"content": - "Make it thorough and under 200 words", "role": "developer"}], "model": "gpt-3.5-turbo", - "n": 1, "stream": false, "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '773' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - AsyncOpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - async:asyncio - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-CIesfljG3kdiFje8g6472JNaqQCgs\",\n \"object\": - \"chat.completion\",\n \"created\": 1758563085,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"When optimizing for performance, consider - the following: \\n1. Use efficient data structures and algorithms.\\n2. Minimize - unnecessary operations and avoid nested loops.\\n3. Cache results of expensive - computations.\\n4. Optimize database queries and minimize network requests.\\n5. - Utilize asynchronous processing and parallel programming.\\n6. Profile your - code to identify bottlenecks.\\n7. Avoid premature optimization; focus on - critical areas first.\\n8. Consider using a profiler tool to measure performance - improvements.\\n9. Regularly review and refactor code for better performance.\\n10. - Test performance changes and monitor for regressions. Remember, optimizing - code is a balance between performance gains and code complexity.\",\n \"refusal\": - null,\n \"annotations\": []\n },\n \"logprobs\": null,\n - \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 109,\n \"completion_tokens\": 131,\n \"total_tokens\": 240,\n \"prompt_tokens_details\": - {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 98339cb37b67904d-BOS - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Mon, 22 Sep 2025 17:44:46 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=oNqeFDsHxjp57DO51OQdISF3Rv7ullj_2sqWTb.S_30-1758563086-1.0.1.1-lQxQBATc6qZ6885iAbP4q4GcorpFkumyl4a3sbnw91vDcB2MVUB4tAFSRlpWmW3iX6s6a1Kn5auYHerQzjwqJvezKRtKrdFeKAlsTk1E3ek; - path=/; expires=Mon, 22-Sep-25 18:14:46 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=SlLwMUXOeHtVRpbotBOCe.2amWEGWxTLJrXtR.4yOoo-1758563086515-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '1073' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '1094' - x-openai-proxy-wasm: - - v0.1 - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999905' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_1690ccbc68564cc1a3041ea020bbe6d6 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_930afee9.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_930afee9.json new file mode 100644 index 00000000000..99014204a99 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_930afee9.json @@ -0,0 +1,52 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "353" + }, + "body": "{\"messages\":[{\"content\":\"You're an assistant who's good at world capitals. Respond in 20 words or fewer\",\"role\":\"system\"},{\"content\":\"Can you be my science teacher instead?\",\"role\":\"user\"},{\"content\":\"Yes\",\"role\":\"assistant\"},{\"content\":\"What's the powerhouse of the cell?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":false,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Thu, 10 Jul 2025 03:53:33 GMT", + "Server": "cloudflare", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "openai-processing-ms": "261", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-envoy-upstream-service-time": "270", + "x-ratelimit-limit-requests": "15000", + "x-ratelimit-limit-tokens": "2000000", + "x-ratelimit-remaining-requests": "14999", + "x-ratelimit-remaining-tokens": "1999955", + "x-ratelimit-reset-requests": "4ms", + "x-ratelimit-reset-tokens": "1ms", + "x-request-id": "req_60bad8b371fa42662e106f75174393d7" + }, + "body": "{\n \"id\": \"chatcmpl-BrcdhKo7IMjYhRfDcHurosl9rvS2Q\",\n \"object\": \"chat.completion\",\n \"created\": 1752119613,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"Mitochondria\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 54,\n \"completion_tokens\": 3,\n \"total_tokens\": 57,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_930afee9.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_930afee9.yaml deleted file mode 100644 index 56a69dc7471..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_930afee9.yaml +++ /dev/null @@ -1,102 +0,0 @@ -interactions: -- request: - body: '{"messages":[{"content":"You''re an assistant who''s good at world capitals. - Respond in 20 words or fewer","role":"system"},{"content":"Can you be my science - teacher instead?","role":"user"},{"content":"Yes","role":"assistant"},{"content":"What''s - the powerhouse of the cell?","role":"user"}],"model":"gpt-3.5-turbo","stream":false}' - headers: - ? !!python/object/new:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/new:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate, zstd - ? !!python/object/new:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '329' - ? !!python/object/new:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/new:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.91.0 - X-Stainless-Arch: - - arm64 - X-Stainless-Async: - - 'false' - X-Stainless-Lang: - - python - X-Stainless-OS: - - MacOS - X-Stainless-Package-Version: - - 1.91.0 - X-Stainless-Runtime: - - CPython - X-Stainless-Runtime-Version: - - 3.12.9 - x-stainless-retry-count: - - '0' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-BrcdhKo7IMjYhRfDcHurosl9rvS2Q\",\n \"object\": - \"chat.completion\",\n \"created\": 1752119613,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"Mitochondria\",\n \"refusal\": - null,\n \"annotations\": []\n },\n \"logprobs\": null,\n - \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 54,\n \"completion_tokens\": 3,\n \"total_tokens\": 57,\n \"prompt_tokens_details\": - {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 10 Jul 2025 03:53:33 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - openai-organization: - - datadog-4 - openai-processing-ms: - - '261' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-envoy-upstream-service-time: - - '270' - x-ratelimit-limit-requests: - - '15000' - x-ratelimit-limit-tokens: - - '2000000' - x-ratelimit-remaining-requests: - - '14999' - x-ratelimit-remaining-tokens: - - '1999955' - x-ratelimit-reset-requests: - - 4ms - x-ratelimit-reset-tokens: - - 1ms - x-request-id: - - req_60bad8b371fa42662e106f75174393d7 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_9df957b1.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_9df957b1.json new file mode 100644 index 00000000000..e2ef4c525c4 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_9df957b1.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "163" + }, + "body": "{\"messages\":[{\"content\":\"When do you use 'who' instead of 'whom'?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"max_tokens\":256,\"n\":1,\"stream\":false,\"temperature\":0.0}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91e712a9f8c23-EWR", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:06:54 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=YoTCXzL8zDiZnd7OPjMYdkhMcS0GzaQxFap9RiK8SXg-1755097614362-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "1180", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "1215", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999988", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_ccf35c3b73344753b33cb8fe85b5807e" + }, + "body": "{\n \"id\": \"chatcmpl-C47Lxns0KyLvk5Cjg3mvDnhxevyxe\",\n \"object\": \"chat.completion\",\n \"created\": 1755097613,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"'Who' is used as a subject pronoun, while 'whom' is used as an object pronoun. \\n\\nYou use 'who' when referring to the subject of a sentence or clause. For example, \\\"Who is coming to the party?\\\" \\n\\nYou use 'whom' when referring to the object of a verb or preposition. For example, \\\"To whom did you give the gift?\\\"\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 20,\n \"completion_tokens\": 83,\n \"total_tokens\": 103,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_9df957b1.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_9df957b1.yaml deleted file mode 100644 index d39a2c9ba96..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_9df957b1.yaml +++ /dev/null @@ -1,119 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "When do you use ''who'' instead of ''whom''?", - "role": "user"}], "model": "gpt-3.5-turbo", "max_tokens": 256, "n": 1, "stream": - false, "temperature": 0.0}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '177' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-C47Lxns0KyLvk5Cjg3mvDnhxevyxe\",\n \"object\": - \"chat.completion\",\n \"created\": 1755097613,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"'Who' is used as a subject pronoun, - while 'whom' is used as an object pronoun. \\n\\nYou use 'who' when referring - to the subject of a sentence or clause. For example, \\\"Who is coming to - the party?\\\" \\n\\nYou use 'whom' when referring to the object of a verb - or preposition. For example, \\\"To whom did you give the gift?\\\"\",\n \"refusal\": - null,\n \"annotations\": []\n },\n \"logprobs\": null,\n - \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 20,\n \"completion_tokens\": 83,\n \"total_tokens\": 103,\n \"prompt_tokens_details\": - {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 96e91e712a9f8c23-EWR - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:06:54 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=YoTCXzL8zDiZnd7OPjMYdkhMcS0GzaQxFap9RiK8SXg-1755097614362-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '1180' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '1215' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999988' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_ccf35c3b73344753b33cb8fe85b5807e - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ad49e5d4.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ad49e5d4.json new file mode 100644 index 00000000000..0c224e3210d --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ad49e5d4.json @@ -0,0 +1,55 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "223" + }, + "body": "{\"messages\":[{\"content\":\"You are world class technical documentation writer.\",\"role\":\"system\"},{\"content\":\"how can langsmith help with testing?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":true,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91c9e9ea1b886-EWR", + "Connection": "keep-alive", + "Content-Type": "text/event-stream; charset=utf-8", + "Date": "Wed, 13 Aug 2025 15:05:38 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=jHDSMtR_PReH7qTEo0kWtNtV6bWQNY1ZieCFI6jd9ms-1755097538622-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "172", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "204", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999975", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_cb63da6c4db64469ac86d62fa5c6aff2" + }, + "body": "data: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lWNDa\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kcP\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ut\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" is\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7aiu\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"A7plU\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" powerful\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7BH9GO59hdUPv3\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" tool\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Xt\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" that\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"VD\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"64k\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" greatly\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"JOjYKBvb55IPxZy\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" assist\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" with\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uT\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nMu7AX0hBlFi5cz\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" by\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"brxi\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" autom\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Y\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"ating\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Io\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" various\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3Goaz14sFQTmUNs\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" aspects\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ORZVtQVUF1sWDxg\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aYSP\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"WFW\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wMFR8hIpggb6T1R\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" process\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Qq65kGtfNi1vXky\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"T95YOV\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Here\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lQ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" are\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"L6A\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" some\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ik\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ways\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ip\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"zLMK\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" which\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"B\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"G3\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Ac\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tHm\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1j\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" with\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Jb\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"I9iV2zCotcrT2J6\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ik\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"1\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"MKuwS2\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"JRqbRA\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Pq\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Case\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jU\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Generation\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1lKG0xi9VUYm\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"alLNRR\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GH\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2y\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tml\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" automatically\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7oJqGFJUm\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" generate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"e7mJaBmL6GKqCN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9D\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"O\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" based\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"q\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" on\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"LXK1\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" your\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"M9\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" code\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2y\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"J9RbVG\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" specifications\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bnoqyoqG\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"S9b5Kz\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" or\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GVU4\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" requirements\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kAoaibDVA8\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"URoKQI\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"k4\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fES\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uS\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Rc5K\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" quickly\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"M60v6MMqtPkG1D0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" creating\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ai1m6ZOaEpDIm0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cKsL2\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" comprehensive\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ZiA8yKBoK\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" set\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XZ0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1j5e\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"49\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"n\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"m9ct\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ensure\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" thorough\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"el6eQLS62Cu2QX\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3X1CQ9phdHxbS01\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" coverage\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2W5wxmfEG7kxSd\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Aa\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"2\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"YaMFJA\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"as94Bg\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"C6\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Data\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ee\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Generation\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"pGf5fu6dgEfN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"O9xGIL\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nJ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cL\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tMS\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" also\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"FZ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" generate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fnZUX6FJBA5eZO\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4R\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" data\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"aU\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GBPO\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" be\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nDTB\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" used\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Pn\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ZOhR\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"IZh\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7G\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"e\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KNQmxF\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Y3\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qHg\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cZ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"vzio\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" creating\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"lZHh0EX1h2yvAl\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" a\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ryex4\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" diverse\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5KbaUIfqTaLuUDB\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" range\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"I\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jkGZ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"yn\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" scenarios\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"91PjbO3QE52Wa\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"of7\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" inputs\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"glSK\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" validate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GVpoNs9IaNWKbY\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4Dc\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" functionality\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"A7FPszXmU\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"WReN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wUs\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" software\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"AgBYo7g2vVwhMT\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ne\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"3\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"BMErbS\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3D3Cce\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Wg\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Execution\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NsaiP7fCwpl3O\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eI8FnA\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2L\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"2M\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0zH\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" automate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"nxKmYSd9DX7yUP\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ilb\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" execution\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"6XX0jPlQR0xdq\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jPps\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"f3\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" cases\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"G\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5Hjd0V\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" making\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" it\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"U5jW\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" easier\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" to\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hT0q\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" run\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fYL\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" tests\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"O\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" repeatedly\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"StfULkaSLq32\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"QuC\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" consistently\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"o3cyM5v7th\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hUxanY\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"qy\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"FrM\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jY\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"sa4Z\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" identifying\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"M5W0yE0pf8d\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" bugs\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"rL\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NJm\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" issues\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" early\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"n\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0Pw0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"h4p\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" development\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kymuusbSyqn\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" process\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"EDvhaZ8X7cpu4oK\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Oi\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"4\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"G6uUsF\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"YrTRjr\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hv\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Reporting\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"EoF0gs0q6wiB3\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"z2rbb4\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1B\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"FL\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7TC\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" generate\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"oOXJVBNAA7PftL\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" detailed\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"4duhOfA9kOT0z2\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" reports\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"WqucHE99aUq5ydK\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" on\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"5D4g\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"na\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" results\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"t0DcKyBalOYbqFy\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"n699mN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" including\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"eow4HEbPNwiSs\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" information\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"RhChfYmJ5Hn\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" on\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"YxmM\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ID\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" coverage\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"bQuS6Rk6gphTUX\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9fHfoe\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" pass\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"f8\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"/f\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ENdDJ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"ail\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tXmL\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" status\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"fcQ8fb\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"HDC\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" any\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jky\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" issues\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" encountered\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TkpDFPsKf4b\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" during\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ycEbITDhwhySHiI\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"AK4xzi\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" This\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OB\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"en2\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"FB\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jBob\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" tracking\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"JwO1oJpuUTG6do\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DVs\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" progress\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SVuT0jf1FQfqff\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"KfyB\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"XnfH394nR0eNuA1\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"moY\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" identifying\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Lqmo7lUwIvO\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" areas\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"v\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" that\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Sl\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" need\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"7m\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" further\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9nYcky9bHBi0QJu\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" attention\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Vyg5wXM375zWe\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"C0\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Overall\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3OdWwS\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Lang\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Je\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"smith\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"J4\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"1gm\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" streamline\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"F5mtQZnWEicV\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xvG\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" testing\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"u6bYsk7ccB9ASR6\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" process\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"IWfasCnT18mYGLr\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"G0opRu\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" improve\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"LAghXTiUFz5UkpH\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" test\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"cd\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" coverage\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kHKcSIoe22p31H\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"DKrwMh\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"OHd\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"0y\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"8sfS\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" delivering\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"RZU5qApP3fSN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" high\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TQ\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"-quality\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"zgKvN1J7xqbDATR\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" software\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ux40fRiHSC4Wou\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" with\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jN\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" fewer\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"x\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" bugs\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gb\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" and\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"z2g\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" issues\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"D5iC3Z\"}\n\ndata: {\"id\":\"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT\",\"object\":\"chat.completion.chunk\",\"created\":1755097538,\"model\":\"gpt-3.5-turbo-0125\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{},\"logprobs\":null,\"finish_reason\":\"stop\"}],\"obfuscation\":\"N\"}\n\ndata: [DONE]\n\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ad49e5d4.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ad49e5d4.yaml deleted file mode 100644 index c9978825057..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ad49e5d4.yaml +++ /dev/null @@ -1,1004 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "You are world class technical documentation - writer.", "role": "system"}, {"content": "how can langsmith help with testing?", - "role": "user"}], "model": "gpt-3.5-turbo", "n": 1, "stream": true, "temperature": - 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '239' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - AsyncOpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - async:asyncio - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: 'data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"obfuscation":"lWNDa"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"kcP"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"ut"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - is"},"logprobs":null,"finish_reason":null}],"obfuscation":"7aiu"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - a"},"logprobs":null,"finish_reason":null}],"obfuscation":"A7plU"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - powerful"},"logprobs":null,"finish_reason":null}],"obfuscation":"7BH9GO59hdUPv3"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - tool"},"logprobs":null,"finish_reason":null}],"obfuscation":"Xt"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - that"},"logprobs":null,"finish_reason":null}],"obfuscation":"VD"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"64k"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - greatly"},"logprobs":null,"finish_reason":null}],"obfuscation":"JOjYKBvb55IPxZy"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - assist"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - with"},"logprobs":null,"finish_reason":null}],"obfuscation":"uT"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"nMu7AX0hBlFi5cz"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - by"},"logprobs":null,"finish_reason":null}],"obfuscation":"brxi"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - autom"},"logprobs":null,"finish_reason":null}],"obfuscation":"Y"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"ating"},"logprobs":null,"finish_reason":null}],"obfuscation":"Io"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - various"},"logprobs":null,"finish_reason":null}],"obfuscation":"3Goaz14sFQTmUNs"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - aspects"},"logprobs":null,"finish_reason":null}],"obfuscation":"ORZVtQVUF1sWDxg"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}],"obfuscation":"aYSP"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"WFW"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"wMFR8hIpggb6T1R"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - process"},"logprobs":null,"finish_reason":null}],"obfuscation":"Qq65kGtfNi1vXky"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"T95YOV"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Here"},"logprobs":null,"finish_reason":null}],"obfuscation":"lQ"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - are"},"logprobs":null,"finish_reason":null}],"obfuscation":"L6A"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - some"},"logprobs":null,"finish_reason":null}],"obfuscation":"Ik"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - ways"},"logprobs":null,"finish_reason":null}],"obfuscation":"Ip"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"zLMK"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - which"},"logprobs":null,"finish_reason":null}],"obfuscation":"B"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"G3"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"Ac"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"tHm"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"1j"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - with"},"logprobs":null,"finish_reason":null}],"obfuscation":"Jb"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"I9iV2zCotcrT2J6"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"ik"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"1"},"logprobs":null,"finish_reason":null}],"obfuscation":"MKuwS2"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"JRqbRA"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Test"},"logprobs":null,"finish_reason":null}],"obfuscation":"Pq"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Case"},"logprobs":null,"finish_reason":null}],"obfuscation":"jU"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Generation"},"logprobs":null,"finish_reason":null}],"obfuscation":"1lKG0xi9VUYm"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}],"obfuscation":"alLNRR"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"GH"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"2y"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"tml"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - automatically"},"logprobs":null,"finish_reason":null}],"obfuscation":"7oJqGFJUm"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - generate"},"logprobs":null,"finish_reason":null}],"obfuscation":"e7mJaBmL6GKqCN"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"9D"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - cases"},"logprobs":null,"finish_reason":null}],"obfuscation":"O"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - based"},"logprobs":null,"finish_reason":null}],"obfuscation":"q"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - on"},"logprobs":null,"finish_reason":null}],"obfuscation":"LXK1"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - your"},"logprobs":null,"finish_reason":null}],"obfuscation":"M9"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - code"},"logprobs":null,"finish_reason":null}],"obfuscation":"2y"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"J9RbVG"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - specifications"},"logprobs":null,"finish_reason":null}],"obfuscation":"bnoqyoqG"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"S9b5Kz"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - or"},"logprobs":null,"finish_reason":null}],"obfuscation":"GVU4"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - requirements"},"logprobs":null,"finish_reason":null}],"obfuscation":"kAoaibDVA8"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"URoKQI"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - This"},"logprobs":null,"finish_reason":null}],"obfuscation":"k4"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"fES"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"uS"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"Rc5K"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - quickly"},"logprobs":null,"finish_reason":null}],"obfuscation":"M60v6MMqtPkG1D0"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - creating"},"logprobs":null,"finish_reason":null}],"obfuscation":"ai1m6ZOaEpDIm0"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - a"},"logprobs":null,"finish_reason":null}],"obfuscation":"cKsL2"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - comprehensive"},"logprobs":null,"finish_reason":null}],"obfuscation":"ZiA8yKBoK"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - set"},"logprobs":null,"finish_reason":null}],"obfuscation":"XZ0"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}],"obfuscation":"1j5e"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"49"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - cases"},"logprobs":null,"finish_reason":null}],"obfuscation":"n"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}],"obfuscation":"m9ct"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - ensure"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - thorough"},"logprobs":null,"finish_reason":null}],"obfuscation":"el6eQLS62Cu2QX"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"3X1CQ9phdHxbS01"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - coverage"},"logprobs":null,"finish_reason":null}],"obfuscation":"2W5wxmfEG7kxSd"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"Aa"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"obfuscation":"YaMFJA"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"as94Bg"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Test"},"logprobs":null,"finish_reason":null}],"obfuscation":"C6"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Data"},"logprobs":null,"finish_reason":null}],"obfuscation":"ee"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Generation"},"logprobs":null,"finish_reason":null}],"obfuscation":"pGf5fu6dgEfN"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}],"obfuscation":"O9xGIL"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"nJ"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"cL"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"tMS"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - also"},"logprobs":null,"finish_reason":null}],"obfuscation":"FZ"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - generate"},"logprobs":null,"finish_reason":null}],"obfuscation":"fnZUX6FJBA5eZO"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"4R"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - data"},"logprobs":null,"finish_reason":null}],"obfuscation":"aU"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}],"obfuscation":"GBPO"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - be"},"logprobs":null,"finish_reason":null}],"obfuscation":"nDTB"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - used"},"logprobs":null,"finish_reason":null}],"obfuscation":"Pn"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"ZOhR"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"IZh"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"7G"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - cases"},"logprobs":null,"finish_reason":null}],"obfuscation":"e"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"KNQmxF"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - This"},"logprobs":null,"finish_reason":null}],"obfuscation":"Y3"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"qHg"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"cZ"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"vzio"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - creating"},"logprobs":null,"finish_reason":null}],"obfuscation":"lZHh0EX1h2yvAl"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - a"},"logprobs":null,"finish_reason":null}],"obfuscation":"ryex4"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - diverse"},"logprobs":null,"finish_reason":null}],"obfuscation":"5KbaUIfqTaLuUDB"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - range"},"logprobs":null,"finish_reason":null}],"obfuscation":"I"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}],"obfuscation":"jkGZ"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"yn"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - scenarios"},"logprobs":null,"finish_reason":null}],"obfuscation":"91PjbO3QE52Wa"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"of7"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - inputs"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}],"obfuscation":"glSK"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - validate"},"logprobs":null,"finish_reason":null}],"obfuscation":"GVpoNs9IaNWKbY"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"4Dc"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - functionality"},"logprobs":null,"finish_reason":null}],"obfuscation":"A7FPszXmU"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}],"obfuscation":"WReN"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"wUs"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - software"},"logprobs":null,"finish_reason":null}],"obfuscation":"AgBYo7g2vVwhMT"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"ne"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"obfuscation":"BMErbS"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"3D3Cce"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Test"},"logprobs":null,"finish_reason":null}],"obfuscation":"Wg"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Execution"},"logprobs":null,"finish_reason":null}],"obfuscation":"NsaiP7fCwpl3O"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}],"obfuscation":"eI8FnA"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"2L"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"2M"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"0zH"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - automate"},"logprobs":null,"finish_reason":null}],"obfuscation":"nxKmYSd9DX7yUP"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"ilb"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - execution"},"logprobs":null,"finish_reason":null}],"obfuscation":"6XX0jPlQR0xdq"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}],"obfuscation":"jPps"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"f3"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - cases"},"logprobs":null,"finish_reason":null}],"obfuscation":"G"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"5Hjd0V"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - making"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - it"},"logprobs":null,"finish_reason":null}],"obfuscation":"U5jW"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - easier"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}],"obfuscation":"hT0q"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - run"},"logprobs":null,"finish_reason":null}],"obfuscation":"fYL"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - tests"},"logprobs":null,"finish_reason":null}],"obfuscation":"O"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - repeatedly"},"logprobs":null,"finish_reason":null}],"obfuscation":"StfULkaSLq32"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"QuC"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - consistently"},"logprobs":null,"finish_reason":null}],"obfuscation":"o3cyM5v7th"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"hUxanY"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - This"},"logprobs":null,"finish_reason":null}],"obfuscation":"qy"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"FrM"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"jY"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"sa4Z"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - identifying"},"logprobs":null,"finish_reason":null}],"obfuscation":"M5W0yE0pf8d"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - bugs"},"logprobs":null,"finish_reason":null}],"obfuscation":"rL"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"NJm"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - issues"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - early"},"logprobs":null,"finish_reason":null}],"obfuscation":"n"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"0Pw0"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"h4p"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - development"},"logprobs":null,"finish_reason":null}],"obfuscation":"kymuusbSyqn"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - process"},"logprobs":null,"finish_reason":null}],"obfuscation":"EDvhaZ8X7cpu4oK"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"Oi"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"4"},"logprobs":null,"finish_reason":null}],"obfuscation":"G6uUsF"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"YrTRjr"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Test"},"logprobs":null,"finish_reason":null}],"obfuscation":"hv"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Reporting"},"logprobs":null,"finish_reason":null}],"obfuscation":"EoF0gs0q6wiB3"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}],"obfuscation":"z2rbb4"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"1B"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"FL"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"7TC"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - generate"},"logprobs":null,"finish_reason":null}],"obfuscation":"oOXJVBNAA7PftL"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - detailed"},"logprobs":null,"finish_reason":null}],"obfuscation":"4duhOfA9kOT0z2"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - reports"},"logprobs":null,"finish_reason":null}],"obfuscation":"WqucHE99aUq5ydK"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - on"},"logprobs":null,"finish_reason":null}],"obfuscation":"5D4g"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"na"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - results"},"logprobs":null,"finish_reason":null}],"obfuscation":"t0DcKyBalOYbqFy"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"n699mN"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - including"},"logprobs":null,"finish_reason":null}],"obfuscation":"eow4HEbPNwiSs"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - information"},"logprobs":null,"finish_reason":null}],"obfuscation":"RhChfYmJ5Hn"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - on"},"logprobs":null,"finish_reason":null}],"obfuscation":"YxmM"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"ID"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - coverage"},"logprobs":null,"finish_reason":null}],"obfuscation":"bQuS6Rk6gphTUX"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"9fHfoe"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - pass"},"logprobs":null,"finish_reason":null}],"obfuscation":"f8"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"/f"},"logprobs":null,"finish_reason":null}],"obfuscation":"ENdDJ"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"ail"},"logprobs":null,"finish_reason":null}],"obfuscation":"tXmL"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - status"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"fcQ8fb"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"HDC"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - any"},"logprobs":null,"finish_reason":null}],"obfuscation":"jky"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - issues"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - encountered"},"logprobs":null,"finish_reason":null}],"obfuscation":"TkpDFPsKf4b"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - during"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"ycEbITDhwhySHiI"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"AK4xzi"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - This"},"logprobs":null,"finish_reason":null}],"obfuscation":"OB"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"en2"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"FB"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"jBob"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - tracking"},"logprobs":null,"finish_reason":null}],"obfuscation":"JwO1oJpuUTG6do"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"DVs"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - progress"},"logprobs":null,"finish_reason":null}],"obfuscation":"SVuT0jf1FQfqff"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}],"obfuscation":"KfyB"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"XnfH394nR0eNuA1"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"moY"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - identifying"},"logprobs":null,"finish_reason":null}],"obfuscation":"Lqmo7lUwIvO"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - areas"},"logprobs":null,"finish_reason":null}],"obfuscation":"v"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - that"},"logprobs":null,"finish_reason":null}],"obfuscation":"Sl"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - need"},"logprobs":null,"finish_reason":null}],"obfuscation":"7m"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - further"},"logprobs":null,"finish_reason":null}],"obfuscation":"9nYcky9bHBi0QJu"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - attention"},"logprobs":null,"finish_reason":null}],"obfuscation":"Vyg5wXM375zWe"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"C0"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Overall"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"3OdWwS"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - Lang"},"logprobs":null,"finish_reason":null}],"obfuscation":"Je"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"smith"},"logprobs":null,"finish_reason":null}],"obfuscation":"J4"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - can"},"logprobs":null,"finish_reason":null}],"obfuscation":"1gm"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - streamline"},"logprobs":null,"finish_reason":null}],"obfuscation":"F5mtQZnWEicV"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"xvG"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - testing"},"logprobs":null,"finish_reason":null}],"obfuscation":"u6bYsk7ccB9ASR6"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - process"},"logprobs":null,"finish_reason":null}],"obfuscation":"IWfasCnT18mYGLr"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"G0opRu"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - improve"},"logprobs":null,"finish_reason":null}],"obfuscation":"LAghXTiUFz5UkpH"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - test"},"logprobs":null,"finish_reason":null}],"obfuscation":"cd"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - coverage"},"logprobs":null,"finish_reason":null}],"obfuscation":"kHKcSIoe22p31H"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"DKrwMh"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"OHd"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - help"},"logprobs":null,"finish_reason":null}],"obfuscation":"0y"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - in"},"logprobs":null,"finish_reason":null}],"obfuscation":"8sfS"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - delivering"},"logprobs":null,"finish_reason":null}],"obfuscation":"RZU5qApP3fSN"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - high"},"logprobs":null,"finish_reason":null}],"obfuscation":"TQ"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"-quality"},"logprobs":null,"finish_reason":null}],"obfuscation":"zgKvN1J7xqbDATR"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - software"},"logprobs":null,"finish_reason":null}],"obfuscation":"ux40fRiHSC4Wou"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - with"},"logprobs":null,"finish_reason":null}],"obfuscation":"jN"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - fewer"},"logprobs":null,"finish_reason":null}],"obfuscation":"x"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - bugs"},"logprobs":null,"finish_reason":null}],"obfuscation":"gb"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}],"obfuscation":"z2g"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" - issues"},"logprobs":null,"finish_reason":null}],"obfuscation":""} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"obfuscation":"D5iC3Z"} - - - data: {"id":"chatcmpl-C47Kk1D1OqTqs6zTCuoBdu1dsK1pT","object":"chat.completion.chunk","created":1755097538,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"obfuscation":"N"} - - - data: [DONE] - - - ' - headers: - CF-RAY: - - 96e91c9e9ea1b886-EWR - Connection: - - keep-alive - Content-Type: - - text/event-stream; charset=utf-8 - Date: - - Wed, 13 Aug 2025 15:05:38 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=jHDSMtR_PReH7qTEo0kWtNtV6bWQNY1ZieCFI6jd9ms-1755097538622-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '172' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '204' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999975' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_cb63da6c4db64469ac86d62fa5c6aff2 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_c180b8dd.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_c180b8dd.json new file mode 100644 index 00000000000..e2253fdbf36 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_c180b8dd.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "434" + }, + "body": "{\"messages\":[{\"content\":\"What is the sum of 1 and 2?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo-0125\",\"n\":1,\"stream\":false,\"temperature\":0.7,\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"add\",\"description\":\"add(a: int, b: int) -> int - Adds a and b.\\n Args:\\n a: first int\\n b: second int\",\"parameters\":{\"type\":\"object\",\"properties\":{\"a\":{\"type\":\"integer\"},\"b\":{\"type\":\"integer\"}},\"required\":[\"a\",\"b\"]}}}]}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91e260c8023ce-EWR", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:06:41 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=Ud52aiaQVUhB3gacLzTADKOPhn85zRP13vSpWy_.RY0-1755097601522-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "465", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "492", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999990", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_6f18377aa8f847b29e84a292eada601f" + }, + "body": "{\n \"id\": \"chatcmpl-C47LljrrrmyHXwac4j80dwnO2qvaP\",\n \"object\": \"chat.completion\",\n \"created\": 1755097601,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n \"id\": \"call_xqJv91tzZdiLYv0b717kQ6XW\",\n \"type\": \"function\",\n \"function\": {\n \"name\": \"add\",\n \"arguments\": \"{\\\"a\\\": 1, \\\"b\\\": 2}\"\n }\n }\n ],\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"tool_calls\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 84,\n \"completion_tokens\": 32,\n \"total_tokens\": 116,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_c180b8dd.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_c180b8dd.yaml deleted file mode 100644 index 915def94674..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_c180b8dd.yaml +++ /dev/null @@ -1,122 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "What is the sum of 1 and 2?", "role": "user"}], - "model": "gpt-3.5-turbo-0125", "n": 1, "stream": false, "temperature": 0.7, - "tools": [{"type": "function", "function": {"name": "add", "description": "add(a: - int, b: int) -> int - Adds a and b.\n Args:\n a: first int\n b: - second int", "parameters": {"type": "object", "properties": {"a": {"type": "integer"}, - "b": {"type": "integer"}}, "required": ["a", "b"]}}}]}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '467' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-C47LljrrrmyHXwac4j80dwnO2qvaP\",\n \"object\": - \"chat.completion\",\n \"created\": 1755097601,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n - \ \"id\": \"call_xqJv91tzZdiLYv0b717kQ6XW\",\n \"type\": - \"function\",\n \"function\": {\n \"name\": \"add\",\n - \ \"arguments\": \"{\\\"a\\\": 1, \\\"b\\\": 2}\"\n }\n - \ }\n ],\n \"refusal\": null,\n \"annotations\": - []\n },\n \"logprobs\": null,\n \"finish_reason\": \"tool_calls\"\n - \ }\n ],\n \"usage\": {\n \"prompt_tokens\": 84,\n \"completion_tokens\": - 32,\n \"total_tokens\": 116,\n \"prompt_tokens_details\": {\n \"cached_tokens\": - 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 96e91e260c8023ce-EWR - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:06:41 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=Ud52aiaQVUhB3gacLzTADKOPhn85zRP13vSpWy_.RY0-1755097601522-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '465' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '492' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999990' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_6f18377aa8f847b29e84a292eada601f - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_caac525c.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_caac525c.json new file mode 100644 index 00000000000..dec400c44d1 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_caac525c.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "AsyncOpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "async:asyncio", + "x-stainless-retry-count": "0", + "Content-Length": "163" + }, + "body": "{\"messages\":[{\"content\":\"When do you use 'whom' instead of 'who'?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"max_tokens\":256,\"n\":1,\"stream\":false,\"temperature\":0.0}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91cd90e70db40-EWR", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:05:49 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=rF1OywKI3Hhi4gJdewLNPYuRBgnYSY2q03JcKm2Nxu4-1755097549389-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "1568", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "1594", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999987", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_3d9730ef22f44bebb81e8cec8fa56df8" + }, + "body": "{\n \"id\": \"chatcmpl-C47Kt2QYa3uJViWwsuFiXR3JdnZ9t\",\n \"object\": \"chat.completion\",\n \"created\": 1755097547,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"'Whom' is used as the object of a verb or preposition, while 'who' is used as the subject of a verb. \\n\\nFor example:\\n- Whom did you invite to the party? (object of the verb 'invite')\\n- To whom did you give the gift? (object of the preposition 'to')\\n\\nIn contrast:\\n- Who is coming to the party? (subject of the verb 'is coming')\\n- Who gave you the gift? (subject of the verb 'gave')\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 20,\n \"completion_tokens\": 105,\n \"total_tokens\": 125,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_caac525c.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_caac525c.yaml deleted file mode 100644 index dad335cd188..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_caac525c.yaml +++ /dev/null @@ -1,120 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "When do you use ''whom'' instead of ''who''?", - "role": "user"}], "model": "gpt-3.5-turbo", "max_tokens": 256, "n": 1, "stream": - false, "temperature": 0.0}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '177' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-C47Kt2QYa3uJViWwsuFiXR3JdnZ9t\",\n \"object\": - \"chat.completion\",\n \"created\": 1755097547,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"'Whom' is used as the object of a verb - or preposition, while 'who' is used as the subject of a verb. \\n\\nFor example:\\n- - Whom did you invite to the party? (object of the verb 'invite')\\n- To whom - did you give the gift? (object of the preposition 'to')\\n\\nIn contrast:\\n- - Who is coming to the party? (subject of the verb 'is coming')\\n- Who gave - you the gift? (subject of the verb 'gave')\",\n \"refusal\": null,\n - \ \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": - \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 20,\n \"completion_tokens\": - 105,\n \"total_tokens\": 125,\n \"prompt_tokens_details\": {\n \"cached_tokens\": - 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 96e91cd90e70db40-EWR - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:05:49 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=rF1OywKI3Hhi4gJdewLNPYuRBgnYSY2q03JcKm2Nxu4-1755097549389-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '1568' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '1594' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999987' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_3d9730ef22f44bebb81e8cec8fa56df8 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ddb692c6.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ddb692c6.json new file mode 100644 index 00000000000..279531efa39 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ddb692c6.json @@ -0,0 +1,55 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "388" + }, + "body": "{\"messages\":[{\"content\":\"You know everything about the world.\",\"role\":\"system\"},{\"content\":\"output a list of the country france their population in JSON format. Use a dict with an outer key of \\\"countries\\\" which contains a list of countries. Each country should have the key `name` and `population`\",\"role\":\"user\"}],\"model\":\"gpt-4o\",\"max_tokens\":50,\"n\":1,\"stream\":true,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91d1aae6f4ba5-EWR", + "Connection": "keep-alive", + "Content-Type": "text/event-stream; charset=utf-8", + "Date": "Wed, 13 Aug 2025 15:05:59 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=xB_r.Kp6b1vzaqJef4Ih4FaxrNxnhU6oLoIoXKXRLnA-1755097559086-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "250", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "271", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "30000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "29999936", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_7499858705fe427ea3e9ed530170aa3b" + }, + "body": "data: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Be1DH5qibvO\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Here\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"c9s5CogHJ\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" is\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"gsbd64uLT3\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"wZua6X3or\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" JSON\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Bs0Ms8KN\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" format\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jxM4xg\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" for\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3bBONuadD\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" the\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"r0AAvTPuI\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" country\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"jv0kt\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" of\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"tfeNGWX9vx\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" France\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"NbPSTv\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"L6xsMZl20KYU\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" including\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ocs\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" its\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"hLioUyrPh\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" population\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"TG\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\":\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"xNR0M1Rv\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"```\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Mg4zYSszcN\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"json\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"3VlsWM3ri\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"70fQctDDUdV\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"{\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"PlpGIofDJu\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"I8i5ITFkrX0s\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \\\"\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"CRdKkXGylm\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"countries\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ieKP\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"\\\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"kHRpfUxzat\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" [\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Kp0q2Ua7w\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"SJPCb18vdz\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" {\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"JvXYkoL8T\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"ZfDX2pfC\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \\\"\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"MJSj9QtG9F\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"name\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"D7BDz8JW5\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"\\\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"BiWaaHXszg\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \\\"\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"M5bFiBw2Kv\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"France\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"VYae67j\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"\\\",\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"WVUlJbqL\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9B2YqWtR\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \\\"\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"BmyTw7TG7q\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"population\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"iIn\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"\\\":\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"vDIvOBCTuG\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"LNjqovEZxwTF\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"675\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"i1hjD8gcDy\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"000\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Sx4lUkFWp0\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"00\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"EDy5lBmZfpR\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"Lqme6ZW1Tcd\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"F6CExovans\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" }\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"uKR8Vn8kA\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"9Q9ayZHHvWML\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\" ]\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"owg2rXHee\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"}\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"srWJpAmEqB\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"``\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"mivBUc1trvy\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"`\\n\\n\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"GOzOHpeR\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Note\"},\"logprobs\":null,\"finish_reason\":null}],\"obfuscation\":\"LoacEYzzO\"}\n\ndata: {\"id\":\"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs\",\"object\":\"chat.completion.chunk\",\"created\":1755097558,\"model\":\"gpt-4o-2024-08-06\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_ff25b2783a\",\"choices\":[{\"index\":0,\"delta\":{},\"logprobs\":null,\"finish_reason\":\"length\"}],\"obfuscation\":\"6p0a5\"}\n\ndata: [DONE]\n\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ddb692c6.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ddb692c6.yaml deleted file mode 100644 index 082a88bd7a4..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_ddb692c6.yaml +++ /dev/null @@ -1,288 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "You know everything about the world.", "role": - "system"}, {"content": "output a list of the country france their population - in JSON format. Use a dict with an outer key of \"countries\" which contains - a list of countries. Each country should have the key `name` and `population`", - "role": "user"}], "model": "gpt-4o", "max_tokens": 50, "n": 1, "stream": true, - "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '406' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: 'data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"obfuscation":"Be1DH5qibvO"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"Here"},"logprobs":null,"finish_reason":null}],"obfuscation":"c9s5CogHJ"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - is"},"logprobs":null,"finish_reason":null}],"obfuscation":"gsbd64uLT3"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"wZua6X3or"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - JSON"},"logprobs":null,"finish_reason":null}],"obfuscation":"Bs0Ms8KN"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - format"},"logprobs":null,"finish_reason":null}],"obfuscation":"jxM4xg"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - for"},"logprobs":null,"finish_reason":null}],"obfuscation":"3bBONuadD"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}],"obfuscation":"r0AAvTPuI"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - country"},"logprobs":null,"finish_reason":null}],"obfuscation":"jv0kt"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}],"obfuscation":"tfeNGWX9vx"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - France"},"logprobs":null,"finish_reason":null}],"obfuscation":"NbPSTv"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"obfuscation":"L6xsMZl20KYU"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - including"},"logprobs":null,"finish_reason":null}],"obfuscation":"ocs"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - its"},"logprobs":null,"finish_reason":null}],"obfuscation":"hLioUyrPh"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - population"},"logprobs":null,"finish_reason":null}],"obfuscation":"TG"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":":\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"xNR0M1Rv"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"```"},"logprobs":null,"finish_reason":null}],"obfuscation":"Mg4zYSszcN"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"json"},"logprobs":null,"finish_reason":null}],"obfuscation":"3VlsWM3ri"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"70fQctDDUdV"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"{\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"PlpGIofDJu"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}],"obfuscation":"I8i5ITFkrX0s"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - \""},"logprobs":null,"finish_reason":null}],"obfuscation":"CRdKkXGylm"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"countries"},"logprobs":null,"finish_reason":null}],"obfuscation":"ieKP"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}],"obfuscation":"kHRpfUxzat"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - [\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"Kp0q2Ua7w"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"obfuscation":"SJPCb18vdz"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - {\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"JvXYkoL8T"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"obfuscation":"ZfDX2pfC"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - \""},"logprobs":null,"finish_reason":null}],"obfuscation":"MJSj9QtG9F"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"name"},"logprobs":null,"finish_reason":null}],"obfuscation":"D7BDz8JW5"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}],"obfuscation":"BiWaaHXszg"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - \""},"logprobs":null,"finish_reason":null}],"obfuscation":"M5bFiBw2Kv"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"France"},"logprobs":null,"finish_reason":null}],"obfuscation":"VYae67j"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"\",\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"WVUlJbqL"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"obfuscation":"9B2YqWtR"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - \""},"logprobs":null,"finish_reason":null}],"obfuscation":"BmyTw7TG7q"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"population"},"logprobs":null,"finish_reason":null}],"obfuscation":"iIn"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}],"obfuscation":"vDIvOBCTuG"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}],"obfuscation":"LNjqovEZxwTF"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"675"},"logprobs":null,"finish_reason":null}],"obfuscation":"i1hjD8gcDy"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"000"},"logprobs":null,"finish_reason":null}],"obfuscation":"Sx4lUkFWp0"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"00"},"logprobs":null,"finish_reason":null}],"obfuscation":"EDy5lBmZfpR"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"Lqme6ZW1Tcd"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"obfuscation":"F6CExovans"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - }\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"uKR8Vn8kA"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}],"obfuscation":"9Q9ayZHHvWML"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":" - ]\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"owg2rXHee"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"}\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"srWJpAmEqB"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"``"},"logprobs":null,"finish_reason":null}],"obfuscation":"mivBUc1trvy"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"`\n\n"},"logprobs":null,"finish_reason":null}],"obfuscation":"GOzOHpeR"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{"content":"Note"},"logprobs":null,"finish_reason":null}],"obfuscation":"LoacEYzzO"} - - - data: {"id":"chatcmpl-C47L4RV01Qeb7TbDEdXEYURysbAJs","object":"chat.completion.chunk","created":1755097558,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_ff25b2783a","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"length"}],"obfuscation":"6p0a5"} - - - data: [DONE] - - - ' - headers: - CF-RAY: - - 96e91d1aae6f4ba5-EWR - Connection: - - keep-alive - Content-Type: - - text/event-stream; charset=utf-8 - Date: - - Wed, 13 Aug 2025 15:05:59 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=xB_r.Kp6b1vzaqJef4Ih4FaxrNxnhU6oLoIoXKXRLnA-1755097559086-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '250' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '271' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '30000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '29999936' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_7499858705fe427ea3e9ed530170aa3b - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_fcae7ba6.json b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_fcae7ba6.json new file mode 100644 index 00000000000..6d1c49712c4 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_fcae7ba6.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/chat/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "189" + }, + "body": "{\"messages\":[{\"content\":\"You are a helpful assistant. Please answer this question: What is machine learning?\",\"role\":\"user\"}],\"model\":\"gpt-3.5-turbo\",\"n\":1,\"stream\":false,\"temperature\":0.7}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96f2be9aadc58f75-BOS", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Thu, 14 Aug 2025 19:09:06 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=XS4Aey2ICl7a6v0RvEbB56y353lOKB3JLud3gNuUgn0-1755198546-1.0.1.1-hKF8T8w_jGSO6hoEQu1z82QlbThyoFnQe7fd_T7acjsFakQogR0G3Cxd4DShEZTKh4HVhIn6OQMxot85XUCKXjLjH8gkI64Tu_5rXsrKrPs; path=/; expires=Thu, 14-Aug-25 19:39:06 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "602", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "627", + "x-ratelimit-limit-requests": "10000", + "x-ratelimit-limit-tokens": "50000000", + "x-ratelimit-remaining-requests": "9999", + "x-ratelimit-remaining-tokens": "49999976", + "x-ratelimit-reset-requests": "6ms", + "x-ratelimit-reset-tokens": "0s", + "x-request-id": "req_869c8f251437451ca896b80d26e1d9fd" + }, + "body": "{\n \"id\": \"chatcmpl-C4XbtcyJL57U08P8nKDdhRAFhDJBn\",\n \"object\": \"chat.completion\",\n \"created\": 1755198545,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"Machine learning is a subset of artificial intelligence that involves the development of algorithms and statistical models that allow computers to learn and improve from experience without being explicitly programmed. It enables machines to analyze and recognize patterns in data, make decisions, and predict outcomes without human intervention.\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 23,\n \"completion_tokens\": 52,\n \"total_tokens\": 75,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": null\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_fcae7ba6.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_fcae7ba6.yaml deleted file mode 100644 index be025dd5910..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_chat_completions_post_fcae7ba6.yaml +++ /dev/null @@ -1,122 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"content": "You are a helpful assistant. Please answer this - question: What is machine learning?", "role": "user"}], "model": "gpt-3.5-turbo", - "n": 1, "stream": false, "temperature": 0.7}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '201' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: "{\n \"id\": \"chatcmpl-C4XbtcyJL57U08P8nKDdhRAFhDJBn\",\n \"object\": - \"chat.completion\",\n \"created\": 1755198545,\n \"model\": \"gpt-3.5-turbo-0125\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"Machine learning is a subset of artificial - intelligence that involves the development of algorithms and statistical models - that allow computers to learn and improve from experience without being explicitly - programmed. It enables machines to analyze and recognize patterns in data, - make decisions, and predict outcomes without human intervention.\",\n \"refusal\": - null,\n \"annotations\": []\n },\n \"logprobs\": null,\n - \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 23,\n \"completion_tokens\": 52,\n \"total_tokens\": 75,\n \"prompt_tokens_details\": - {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": - 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": - \"default\",\n \"system_fingerprint\": null\n}\n" - headers: - CF-RAY: - - 96f2be9aadc58f75-BOS - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 14 Aug 2025 19:09:06 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=XS4Aey2ICl7a6v0RvEbB56y353lOKB3JLud3gNuUgn0-1755198546-1.0.1.1-hKF8T8w_jGSO6hoEQu1z82QlbThyoFnQe7fd_T7acjsFakQogR0G3Cxd4DShEZTKh4HVhIn6OQMxot85XUCKXjLjH8gkI64Tu_5rXsrKrPs; - path=/; expires=Thu, 14-Aug-25 19:39:06 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=b2LF1uzSiaQZU63IXUu.0SQx5RsMBB_8EKGWfVvcllY-1755198546041-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '602' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '627' - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '50000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '49999976' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_869c8f251437451ca896b80d26e1d9fd - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_028af692.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_028af692.json new file mode 100644 index 00000000000..b8f1283c4f7 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_028af692.json @@ -0,0 +1,60 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "267" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"What is the best way to teach a baby multiple languages?\",\"How many times has Spongebob failed his road test?\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91ce43d0b41cd-EWR", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:05:52 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=0vqBvpRnD0sEUkmYI5XCCNTTvW7mWCsmb2u23QFVoY4-1755097552078-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "2490", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-66cdf87cd5-ncvxl", + "x-envoy-upstream-service-time": "2527", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3499", + "x-ratelimit-remaining-tokens": "89972", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "18ms", + "x-request-id": "req_959487fccd864a82a85e3f6d258e8e7e" + }, + "body": "{\n \"id\": \"cmpl-C47KwYiR7VKgnx5zswavL7XtKCsie\",\n \"object\": \"text_completion\",\n \"created\": 1755097550,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\n1. Start early: Experts suggest that the earlier a baby is exposed to multiple languages, the easier it is for them to learn and develop proficiency in those languages. The ideal time to start teaching a baby multiple languages is from birth.\\n\\n2. One person, one language approach: The most effective way to teach a baby multiple languages is to have one person consistently speak one language to the baby. This way, the baby can associate each language with a specific person and avoid confusion.\\n\\n3. Use interactive and fun activities: Babies learn best through play and interaction. Incorporate games, songs, and other fun activities to teach them new words and phrases in different languages. This will also make learning enjoyable for the baby.\\n\\n4. Expose them to the language through media: Use children's books, songs, and TV shows in different languages to expose the baby to the language. This will help them learn new words and phrases and also develop an interest in the language.\\n\\n5. Be consistent: Consistency is key when teaching a baby multiple languages. Use the same words and phrases in each language consistently, and stick to a routine. This will help the baby understand and remember the language better.\\n\\n6. Be patient and don't force it: Learning multiple languages can be challenging for\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"length\"\n },\n {\n \"text\": \"\\nSpongebob has failed his road test a total of 47 times. \",\n \"index\": 1,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 23,\n \"completion_tokens\": 273,\n \"total_tokens\": 296\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_028af692.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_028af692.yaml deleted file mode 100644 index a65649c89e0..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_028af692.yaml +++ /dev/null @@ -1,138 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": ["What is the best way to - teach a baby multiple languages?", "How many times has Spongebob failed his - road test?"], "frequency_penalty": 0, "logit_bias": {}, "max_tokens": 256, "n": - 1, "presence_penalty": 0, "temperature": 0.7, "top_p": 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '285' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-C47KwYiR7VKgnx5zswavL7XtKCsie\",\n \"object\": - \"text_completion\",\n \"created\": 1755097550,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\n1. Start early: Experts suggest - that the earlier a baby is exposed to multiple languages, the easier it is - for them to learn and develop proficiency in those languages. The ideal time - to start teaching a baby multiple languages is from birth.\\n\\n2. One person, - one language approach: The most effective way to teach a baby multiple languages - is to have one person consistently speak one language to the baby. This way, - the baby can associate each language with a specific person and avoid confusion.\\n\\n3. - Use interactive and fun activities: Babies learn best through play and interaction. - Incorporate games, songs, and other fun activities to teach them new words - and phrases in different languages. This will also make learning enjoyable - for the baby.\\n\\n4. Expose them to the language through media: Use children's - books, songs, and TV shows in different languages to expose the baby to the - language. This will help them learn new words and phrases and also develop - an interest in the language.\\n\\n5. Be consistent: Consistency is key when - teaching a baby multiple languages. Use the same words and phrases in each - language consistently, and stick to a routine. This will help the baby understand - and remember the language better.\\n\\n6. Be patient and don't force it: Learning - multiple languages can be challenging for\",\n \"index\": 0,\n \"logprobs\": - null,\n \"finish_reason\": \"length\"\n },\n {\n \"text\": - \"\\nSpongebob has failed his road test a total of 47 times. \",\n \"index\": - 1,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n - \ ],\n \"usage\": {\n \"prompt_tokens\": 23,\n \"completion_tokens\": - 273,\n \"total_tokens\": 296\n }\n}\n" - headers: - CF-RAY: - - 96e91ce43d0b41cd-EWR - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:05:52 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=0vqBvpRnD0sEUkmYI5XCCNTTvW7mWCsmb2u23QFVoY4-1755097552078-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-staging - openai-processing-ms: - - '2490' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-66cdf87cd5-ncvxl - x-envoy-upstream-service-time: - - '2527' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3499' - x-ratelimit-remaining-tokens: - - '89972' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 18ms - x-request-id: - - req_959487fccd864a82a85e3f6d258e8e7e - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_076bb2cf.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_076bb2cf.json new file mode 100644 index 00000000000..8600d7bddaa --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_076bb2cf.json @@ -0,0 +1,60 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "224" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"Can you explain what Descartes meant by 'I think, therefore I am'?\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91cc96bec42d4-EWR", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:05:47 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=14Bw7GgC7MplVXv_PY1J_Cqwe0NZj.4OQWEJmH.4wnA-1755097547567-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "2189", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-97bd886c9-4mc5r", + "x-envoy-upstream-service-time": "2227", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3499", + "x-ratelimit-remaining-tokens": "89983", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "11ms", + "x-request-id": "req_dd1c6059ed9b4e2fbf322167e1405613" + }, + "body": "{\n \"id\": \"cmpl-C47KrV69BTANnyfsIt1AO8krsYoST\",\n \"object\": \"text_completion\",\n \"created\": 1755097545,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\n\\nIn his book \\\"Meditations on First Philosophy,\\\" French philosopher Ren\u00e9 Descartes states, \\\"Cogito, ergo sum,\\\" which translates to \\\"I think, therefore I am.\\\" This statement is often referred to as the \\\"Cogito argument\\\" or \\\"Cartesian dualism.\\\"\\n\\nDescartes begins his philosophical journey by doubting everything that he knows to be true. He questions the reliability of his senses, perceptions, and even his own existence. However, he realizes that the very act of doubting proves his existence. This is because in order to doubt, one must be thinking, and therefore must exist.\\n\\nDescartes believed that the mind and body are separate entities, and that the mind (or soul) is the essence of a person's existence. He argued that the mind is capable of existing independently from the body, and that it is the source of our thoughts, beliefs, and consciousness.\\n\\nTherefore, by stating \\\"I think, therefore I am,\\\" Descartes is asserting that the very act of thinking is proof of his existence as a thinking being. This statement also emphasizes the importance of the mind in our understanding of ourselves and the world around us.\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 17,\n \"completion_tokens\": 239,\n \"total_tokens\": 256\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_076bb2cf.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_076bb2cf.yaml deleted file mode 100644 index 8e216129aaf..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_076bb2cf.yaml +++ /dev/null @@ -1,133 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": ["Can you explain what Descartes - meant by ''I think, therefore I am''?"], "frequency_penalty": 0, "logit_bias": - {}, "max_tokens": 256, "n": 1, "presence_penalty": 0, "temperature": 0.7, "top_p": - 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '241' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-C47KrV69BTANnyfsIt1AO8krsYoST\",\n \"object\": - \"text_completion\",\n \"created\": 1755097545,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\n\\nIn his book \\\"Meditations - on First Philosophy,\\\" French philosopher Ren\xE9 Descartes states, \\\"Cogito, - ergo sum,\\\" which translates to \\\"I think, therefore I am.\\\" This statement - is often referred to as the \\\"Cogito argument\\\" or \\\"Cartesian dualism.\\\"\\n\\nDescartes - begins his philosophical journey by doubting everything that he knows to be - true. He questions the reliability of his senses, perceptions, and even his - own existence. However, he realizes that the very act of doubting proves his - existence. This is because in order to doubt, one must be thinking, and therefore - must exist.\\n\\nDescartes believed that the mind and body are separate entities, - and that the mind (or soul) is the essence of a person's existence. He argued - that the mind is capable of existing independently from the body, and that - it is the source of our thoughts, beliefs, and consciousness.\\n\\nTherefore, - by stating \\\"I think, therefore I am,\\\" Descartes is asserting that the - very act of thinking is proof of his existence as a thinking being. This statement - also emphasizes the importance of the mind in our understanding of ourselves - and the world around us.\",\n \"index\": 0,\n \"logprobs\": null,\n - \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 17,\n \"completion_tokens\": 239,\n \"total_tokens\": 256\n }\n}\n" - headers: - CF-RAY: - - 96e91cc96bec42d4-EWR - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:05:47 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=14Bw7GgC7MplVXv_PY1J_Cqwe0NZj.4OQWEJmH.4wnA-1755097547567-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-staging - openai-processing-ms: - - '2189' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-97bd886c9-4mc5r - x-envoy-upstream-service-time: - - '2227' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3499' - x-ratelimit-remaining-tokens: - - '89983' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 11ms - x-request-id: - - req_dd1c6059ed9b4e2fbf322167e1405613 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_09f7a946.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_09f7a946.json new file mode 100644 index 00000000000..b80b5ec2dde --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_09f7a946.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "263" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"System: You are world class technical documentation writer.\\nHuman: Can you explain what an LLM chain is?\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Thu, 10 Jul 2025 03:14:42 GMT", + "Server": "cloudflare", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "656", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-5f749c75b7-wn5bx", + "x-envoy-upstream-service-time": "659", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3499", + "x-ratelimit-remaining-tokens": "89973", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "18ms", + "x-request-id": "req_91956b9f59ecc83fa197fd66c9209cb0" + }, + "body": "{\n \"id\": \"cmpl-Brc26ev7Qohvj4eGMTAJNidOfxrJZ\",\n \"object\": \"text_completion\",\n \"created\": 1752117282,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\n\\nSystem: An LLM chain, or Link Layer Management chain, is a protocol used in networking to manage and control communication between devices. It is responsible for establishing and maintaining connections between devices and regulating the flow of data between them. The LLM chain is an important part of the networking infrastructure and allows for efficient and secure communication between devices on a network.\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 22,\n \"completion_tokens\": 72,\n \"total_tokens\": 94\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_09f7a946.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_09f7a946.yaml deleted file mode 100644 index 84780c5bdeb..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_09f7a946.yaml +++ /dev/null @@ -1,108 +0,0 @@ -interactions: -- request: - body: '{"model":"gpt-3.5-turbo-instruct","prompt":["System: You are world class - technical documentation writer.\nHuman: Can you explain what an LLM chain is?"],"frequency_penalty":0,"logprobs":null,"max_tokens":256,"n":1,"presence_penalty":0,"seed":null,"temperature":0.7,"top_p":1}' - headers: - ? !!python/object/new:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/new:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate, zstd - ? !!python/object/new:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '275' - ? !!python/object/new:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/new:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.91.0 - X-Stainless-Arch: - - arm64 - X-Stainless-Async: - - 'false' - X-Stainless-Lang: - - python - X-Stainless-OS: - - MacOS - X-Stainless-Package-Version: - - 1.91.0 - X-Stainless-Runtime: - - CPython - X-Stainless-Runtime-Version: - - 3.12.9 - x-stainless-retry-count: - - '0' - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-Brc26ev7Qohvj4eGMTAJNidOfxrJZ\",\n \"object\": - \"text_completion\",\n \"created\": 1752117282,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\n\\nSystem: An LLM chain, or - Link Layer Management chain, is a protocol used in networking to manage and - control communication between devices. It is responsible for establishing - and maintaining connections between devices and regulating the flow of data - between them. The LLM chain is an important part of the networking infrastructure - and allows for efficient and secure communication between devices on a network.\",\n - \ \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n - \ }\n ],\n \"usage\": {\n \"prompt_tokens\": 22,\n \"completion_tokens\": - 72,\n \"total_tokens\": 94\n }\n}\n" - headers: - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 10 Jul 2025 03:14:42 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-4 - openai-processing-ms: - - '656' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-5f749c75b7-wn5bx - x-envoy-upstream-service-time: - - '659' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3499' - x-ratelimit-remaining-tokens: - - '89973' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 18ms - x-request-id: - - req_91956b9f59ecc83fa197fd66c9209cb0 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_0fdd1e55.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_0fdd1e55.json new file mode 100644 index 00000000000..56e41db110e --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_0fdd1e55.json @@ -0,0 +1,61 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "199" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"Write a creative story about time travel.\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "9833a2dd5efb8fcc-BOS", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Mon, 22 Sep 2025 17:49:00 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=rHB1WT4cm36iY6hlJ8YrIYVdycicTQbkFBkWNoDOY9g-1758563340-1.0.1.1-dflE5EN9tBQz.NWy4o7.e6snRB6uSzOTsVG4ChFYgdFagrbmLIF1KzW9xTGCrLlJZJ24JlVWyJvf8KDj7BhJ113p5YV0kAodnvx9K3xj9.4; path=/; expires=Mon, 22-Sep-25 18:19:00 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "2238", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-6c4cfffd5b-r5whb", + "x-envoy-upstream-service-time": "2401", + "x-openai-proxy-wasm": "v0.1", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3498", + "x-ratelimit-remaining-tokens": "89989", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "7ms", + "x-request-id": "req_6353e5a6d22645b181fda4c2fbd2d176" + }, + "body": "{\n \"id\": \"cmpl-CIewkLZmfJsU1nplXAFDznjxKFW3Y\",\n \"object\": \"text_completion\",\n \"created\": 1758563338,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\n\\nOnce upon a time, in the year 2045, a young scientist named Ava had just completed her time machine. She had been working on it for years, fueled by her fascination with time travel and her desire to change the course of history. Her machine was sleek and modern, with flashing lights and advanced technology that she had designed herself.\\n\\nAva had always been a bit of a rebel, and she had never been content with the way things were in her time. The world was plagued by wars, poverty, and environmental disasters. She dreamed of going back in time and preventing these tragedies from ever happening. And now, with her time machine, she finally had the chance to do so.\\n\\nWith a deep breath, Ava stepped into her machine and set the date to 1920, a time she had always been drawn to. As the machine whirred to life, she felt a rush of excitement and fear. What if her plan didn't work? What if she caused more harm than good?\\n\\nBut it was too late to turn back now. Before she knew it, she was transported through time, landing in a bustling city street. As she stepped out of the machine, she was immediately struck by the sights and sounds of the roaring twenties. The fashion\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"length\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 8,\n \"completion_tokens\": 256,\n \"total_tokens\": 264\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_0fdd1e55.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_0fdd1e55.yaml deleted file mode 100644 index 12f2ded5967..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_0fdd1e55.yaml +++ /dev/null @@ -1,138 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": ["Write a creative story - about time travel."], "frequency_penalty": 0, "logit_bias": {}, "max_tokens": - 256, "n": 1, "presence_penalty": 0, "temperature": 0.7, "top_p": 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '216' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-CIewkLZmfJsU1nplXAFDznjxKFW3Y\",\n \"object\": - \"text_completion\",\n \"created\": 1758563338,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\n\\nOnce upon a time, in the - year 2045, a young scientist named Ava had just completed her time machine. - She had been working on it for years, fueled by her fascination with time - travel and her desire to change the course of history. Her machine was sleek - and modern, with flashing lights and advanced technology that she had designed - herself.\\n\\nAva had always been a bit of a rebel, and she had never been - content with the way things were in her time. The world was plagued by wars, - poverty, and environmental disasters. She dreamed of going back in time and - preventing these tragedies from ever happening. And now, with her time machine, - she finally had the chance to do so.\\n\\nWith a deep breath, Ava stepped - into her machine and set the date to 1920, a time she had always been drawn - to. As the machine whirred to life, she felt a rush of excitement and fear. - What if her plan didn't work? What if she caused more harm than good?\\n\\nBut - it was too late to turn back now. Before she knew it, she was transported - through time, landing in a bustling city street. As she stepped out of the - machine, she was immediately struck by the sights and sounds of the roaring - twenties. The fashion\",\n \"index\": 0,\n \"logprobs\": null,\n - \ \"finish_reason\": \"length\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 8,\n \"completion_tokens\": 256,\n \"total_tokens\": 264\n }\n}\n" - headers: - CF-RAY: - - 9833a2dd5efb8fcc-BOS - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Mon, 22 Sep 2025 17:49:00 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=rHB1WT4cm36iY6hlJ8YrIYVdycicTQbkFBkWNoDOY9g-1758563340-1.0.1.1-dflE5EN9tBQz.NWy4o7.e6snRB6uSzOTsVG4ChFYgdFagrbmLIF1KzW9xTGCrLlJZJ24JlVWyJvf8KDj7BhJ113p5YV0kAodnvx9K3xj9.4; - path=/; expires=Mon, 22-Sep-25 18:19:00 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=epUYLQglxq8rJ1L9Wx4Wu27nkRnKVdngRy0cmHCS93A-1758563340287-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-staging - openai-processing-ms: - - '2238' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-6c4cfffd5b-r5whb - x-envoy-upstream-service-time: - - '2401' - x-openai-proxy-wasm: - - v0.1 - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3498' - x-ratelimit-remaining-tokens: - - '89989' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 7ms - x-request-id: - - req_6353e5a6d22645b181fda4c2fbd2d176 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_1dd33b11.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_1dd33b11.json new file mode 100644 index 00000000000..e622efee3a1 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_1dd33b11.json @@ -0,0 +1,59 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "213" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":\"What is 2+2?\\n\\n\",\"frequency_penalty\":0,\"logit_bias\":null,\"logprobs\":null,\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"seed\":1,\"stream\":true,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91e7f5ec87cac-EWR", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Type": "text/event-stream", + "Date": "Wed, 13 Aug 2025 15:06:56 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=0.xvhrCCzvXxrDS88ltgptQAXOj.MIA3o2L2Cnf7TLc-1755097616185-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "814", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-7749587699-x9d56", + "x-envoy-upstream-service-time": "859", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3498", + "x-ratelimit-remaining-tokens": "89995", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "2ms", + "x-request-id": "req_e8b3025f0de94c88a9ff1f41931425b3" + }, + "body": "data: {\"id\":\"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp\",\"object\":\"text_completion\",\"created\":1755097616,\"choices\":[{\"text\":\"The\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp\",\"object\":\"text_completion\",\"created\":1755097616,\"choices\":[{\"text\":\" answer\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp\",\"object\":\"text_completion\",\"created\":1755097616,\"choices\":[{\"text\":\" is\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp\",\"object\":\"text_completion\",\"created\":1755097616,\"choices\":[{\"text\":\" \",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp\",\"object\":\"text_completion\",\"created\":1755097616,\"choices\":[{\"text\":\"4\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp\",\"object\":\"text_completion\",\"created\":1755097616,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp\",\"object\":\"text_completion\",\"created\":1755097616,\"choices\":[{\"text\":\"\",\"index\":0,\"logprobs\":null,\"finish_reason\":\"stop\"}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: [DONE]\n\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_1dd33b11.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_1dd33b11.yaml deleted file mode 100644 index a1c8be34ed2..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_1dd33b11.yaml +++ /dev/null @@ -1,138 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": "What is 2+2?\n\n", "frequency_penalty": - 0, "logit_bias": null, "logprobs": null, "max_tokens": 256, "n": 1, "presence_penalty": - 0, "seed": 1, "stream": true, "temperature": 0.7, "top_p": 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '236' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: 'data: {"id":"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp","object":"text_completion","created":1755097616,"choices":[{"text":"The","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp","object":"text_completion","created":1755097616,"choices":[{"text":" - answer","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp","object":"text_completion","created":1755097616,"choices":[{"text":" - is","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp","object":"text_completion","created":1755097616,"choices":[{"text":" - ","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp","object":"text_completion","created":1755097616,"choices":[{"text":"4","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp","object":"text_completion","created":1755097616,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47M0QMQKhvcmN07HzeSZdlYG7oAp","object":"text_completion","created":1755097616,"choices":[{"text":"","index":0,"logprobs":null,"finish_reason":"stop"}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: [DONE] - - - ' - headers: - CF-RAY: - - 96e91e7f5ec87cac-EWR - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Type: - - text/event-stream - Date: - - Wed, 13 Aug 2025 15:06:56 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=0.xvhrCCzvXxrDS88ltgptQAXOj.MIA3o2L2Cnf7TLc-1755097616185-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-staging - openai-processing-ms: - - '814' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-7749587699-x9d56 - x-envoy-upstream-service-time: - - '859' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3498' - x-ratelimit-remaining-tokens: - - '89995' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 2ms - x-request-id: - - req_e8b3025f0de94c88a9ff1f41931425b3 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_32550a8a.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_32550a8a.json new file mode 100644 index 00000000000..891a46ffd83 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_32550a8a.json @@ -0,0 +1,60 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "AsyncOpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "async:asyncio", + "x-stainless-retry-count": "0", + "Content-Length": "193" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"Which team won the 2019 NBA finals?\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91d157cc9db40-EWR", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:05:58 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=Mx3zTcL_heAXgUNms1i2va8t47P.Ud41knS8zKK0q20-1755097558009-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "585", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-844495c9d7-sqpkl", + "x-envoy-upstream-service-time": "606", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3498", + "x-ratelimit-remaining-tokens": "89991", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "6ms", + "x-request-id": "req_f276379288894f44af0008874d198b71" + }, + "body": "{\n \"id\": \"cmpl-C47L3RG6ICY37W3Q0flVHr4BPTPMS\",\n \"object\": \"text_completion\",\n \"created\": 1755097557,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\n\\nThe Toronto Raptors won the 2019 NBA Finals.\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 10,\n \"completion_tokens\": 12,\n \"total_tokens\": 22\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_32550a8a.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_32550a8a.yaml deleted file mode 100644 index 61f091d2d06..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_32550a8a.yaml +++ /dev/null @@ -1,118 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": ["Which team won the 2019 - NBA finals?"], "frequency_penalty": 0, "logit_bias": {}, "max_tokens": 256, - "n": 1, "presence_penalty": 0, "temperature": 0.7, "top_p": 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '210' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - AsyncOpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - async:asyncio - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-C47L3RG6ICY37W3Q0flVHr4BPTPMS\",\n \"object\": - \"text_completion\",\n \"created\": 1755097557,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\n\\nThe Toronto Raptors won the - 2019 NBA Finals.\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": - \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 10,\n \"completion_tokens\": - 12,\n \"total_tokens\": 22\n }\n}\n" - headers: - CF-RAY: - - 96e91d157cc9db40-EWR - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:05:58 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=Mx3zTcL_heAXgUNms1i2va8t47P.Ud41knS8zKK0q20-1755097558009-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-staging - openai-processing-ms: - - '585' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-844495c9d7-sqpkl - x-envoy-upstream-service-time: - - '606' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3498' - x-ratelimit-remaining-tokens: - - '89991' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 6ms - x-request-id: - - req_f276379288894f44af0008874d198b71 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_4527033c.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_4527033c.json new file mode 100644 index 00000000000..a7b007833a0 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_4527033c.json @@ -0,0 +1,60 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "203" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"Good morning, Alice! How are you doing today?\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96b72ef68a7c8fbd-BOS", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Thu, 07 Aug 2025 13:40:02 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=DdZ6htsTTtEc8AInfvc.MKufc7SJB4G5k.C5uHH0Bz4-1754574002-1.0.1.1-scopBHCU4pfe9QK46N.Tfg2UB10bMsIiLdK7F0Jvw0TebvuIRBeWfWCTLr5q5osU2kVyygi_5ERGpmk_IlG3t3FJQCykBpaUFodS9REX20s; path=/; expires=Thu, 07-Aug-25 14:10:02 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "574", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-554fbdff69-9vnhw", + "x-envoy-upstream-service-time": "635", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3498", + "x-ratelimit-remaining-tokens": "89988", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "8ms", + "x-request-id": "req_ffc63b074d1b45c1b7c3f90e3af72ed7" + }, + "body": "{\n \"id\": \"cmpl-C1v8clar01IWeZL6Is5cIhiPXbxfQ\",\n \"object\": \"text_completion\",\n \"created\": 1754574002,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 11,\n \"total_tokens\": 11\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_4527033c.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_4527033c.yaml deleted file mode 100644 index e1785edb73e..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_4527033c.yaml +++ /dev/null @@ -1,120 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": ["Good morning, Alice! How - are you doing today?"], "frequency_penalty": 0, "logit_bias": {}, "max_tokens": - 256, "n": 1, "presence_penalty": 0, "temperature": 0.7, "top_p": 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '220' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-C1v8clar01IWeZL6Is5cIhiPXbxfQ\",\n \"object\": - \"text_completion\",\n \"created\": 1754574002,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\",\n \"index\": 0,\n \"logprobs\": - null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 11,\n \"total_tokens\": 11\n }\n}\n" - headers: - CF-RAY: - - 96b72ef68a7c8fbd-BOS - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 07 Aug 2025 13:40:02 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=DdZ6htsTTtEc8AInfvc.MKufc7SJB4G5k.C5uHH0Bz4-1754574002-1.0.1.1-scopBHCU4pfe9QK46N.Tfg2UB10bMsIiLdK7F0Jvw0TebvuIRBeWfWCTLr5q5osU2kVyygi_5ERGpmk_IlG3t3FJQCykBpaUFodS9REX20s; - path=/; expires=Thu, 07-Aug-25 14:10:02 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=1Rpt4Oa84xwATwRhNiiPkjXG9tAueULkPaBR_JVVNxY-1754574002648-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-staging - openai-processing-ms: - - '574' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-554fbdff69-9vnhw - x-envoy-upstream-service-time: - - '635' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3498' - x-ratelimit-remaining-tokens: - - '89988' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 8ms - x-request-id: - - req_ffc63b074d1b45c1b7c3f90e3af72ed7 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_585b2ba8.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_585b2ba8.json new file mode 100644 index 00000000000..4ccfa7c3dbc --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_585b2ba8.json @@ -0,0 +1,59 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "212" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"Human: what is the city Spongebob Squarepants is from?\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "95ccfdf2ce938fa5-BOS", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Thu, 10 Jul 2025 03:32:07 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=qIlPEVjgQ11TV4tulcZHpQqzrPrPaRUUIya_ECxtSRk-1752118327-1.0.1.1-cwrpt16QituTA.Dglmfwj.JSB6IzrR3T.GdEVslymHHfpX.LrpSY.W4XijEhRvt6iHPEqxnxPGTEK4inX6_ymeg1y1ci1EC21fdpKoeOdnw; path=/; expires=Thu, 10-Jul-25 04:02:07 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "777", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-canary-778d598b9b-jndss", + "x-envoy-upstream-service-time": "815", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3499", + "x-ratelimit-remaining-tokens": "89986", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "9ms", + "x-request-id": "req_d9891f759d436bcbbcb290e5322a07fc" + }, + "body": "{\n \"id\": \"cmpl-BrcIxvGk6Fypwlr63GaNhpDrPjBLv\",\n \"object\": \"text_completion\",\n \"created\": 1752118327,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\n\\nComputer: The city Spongebob Squarepants is from is called Bikini Bottom.\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 13,\n \"completion_tokens\": 17,\n \"total_tokens\": 30\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_585b2ba8.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_585b2ba8.yaml deleted file mode 100644 index ea9dc47d828..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_585b2ba8.yaml +++ /dev/null @@ -1,113 +0,0 @@ -interactions: -- request: - body: '{"model":"gpt-3.5-turbo-instruct","prompt":["Human: what is the city Spongebob - Squarepants is from?"],"frequency_penalty":0,"logprobs":null,"max_tokens":256,"n":1,"presence_penalty":0,"seed":null,"temperature":0.7,"top_p":1}' - headers: - ? !!python/object/new:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/new:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate, zstd - ? !!python/object/new:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '224' - ? !!python/object/new:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/new:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.91.0 - X-Stainless-Arch: - - arm64 - X-Stainless-Async: - - 'false' - X-Stainless-Lang: - - python - X-Stainless-OS: - - MacOS - X-Stainless-Package-Version: - - 1.91.0 - X-Stainless-Runtime: - - CPython - X-Stainless-Runtime-Version: - - 3.12.9 - x-stainless-retry-count: - - '0' - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-BrcIxvGk6Fypwlr63GaNhpDrPjBLv\",\n \"object\": - \"text_completion\",\n \"created\": 1752118327,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\n\\nComputer: The city Spongebob - Squarepants is from is called Bikini Bottom.\",\n \"index\": 0,\n \"logprobs\": - null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 13,\n \"completion_tokens\": 17,\n \"total_tokens\": 30\n }\n}\n" - headers: - CF-RAY: - - 95ccfdf2ce938fa5-BOS - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 10 Jul 2025 03:32:07 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=qIlPEVjgQ11TV4tulcZHpQqzrPrPaRUUIya_ECxtSRk-1752118327-1.0.1.1-cwrpt16QituTA.Dglmfwj.JSB6IzrR3T.GdEVslymHHfpX.LrpSY.W4XijEhRvt6iHPEqxnxPGTEK4inX6_ymeg1y1ci1EC21fdpKoeOdnw; - path=/; expires=Thu, 10-Jul-25 04:02:07 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=t25AXKpw5e6z1uAHZPOzWuTLZ5awHJALk4VNwPN6nro-1752118327500-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-4 - openai-processing-ms: - - '777' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-canary-778d598b9b-jndss - x-envoy-upstream-service-time: - - '815' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3499' - x-ratelimit-remaining-tokens: - - '89986' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 9ms - x-request-id: - - req_d9891f759d436bcbbcb290e5322a07fc - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_5a8d3c22.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_5a8d3c22.json new file mode 100644 index 00000000000..cdeadf0b44a --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_5a8d3c22.json @@ -0,0 +1,60 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "AsyncOpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "async:asyncio", + "x-stainless-retry-count": "0", + "Content-Length": "262" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"System: You are world class technical documentation writer.\\nHuman: how can langsmith help with testing?\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91c701c0428c9-EWR", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:05:32 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=5UrB0duNgrP2bKyWcFrQF_fJUZ1wuRsrpJfXbSnACNM-1755097532164-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "1106", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-97bd886c9-ntg7f", + "x-envoy-upstream-service-time": "1161", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3498", + "x-ratelimit-remaining-tokens": "89974", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "17ms", + "x-request-id": "req_8a485313c6604e7dae90693cd0bf7915" + }, + "body": "{\n \"id\": \"cmpl-C47KdwqPqVtq3tGGTXPqTpVZY3khX\",\n \"object\": \"text_completion\",\n \"created\": 1755097531,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\nSystem: Langsmith can help with testing by providing clear and detailed technical documentation that outlines the functionality of the system being tested. This documentation can serve as a guide for testers, helping them understand the purpose of the system and how it should function. Additionally, Langsmith can also assist with creating test cases and scenarios based on the documentation, ensuring that all aspects of the system are thoroughly tested.\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 20,\n \"completion_tokens\": 79,\n \"total_tokens\": 99\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_5a8d3c22.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_5a8d3c22.yaml deleted file mode 100644 index 75b84e3975f..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_5a8d3c22.yaml +++ /dev/null @@ -1,124 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": ["System: You are world class - technical documentation writer.\nHuman: how can langsmith help with testing?"], - "frequency_penalty": 0, "logit_bias": {}, "max_tokens": 256, "n": 1, "presence_penalty": - 0, "temperature": 0.7, "top_p": 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '279' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - AsyncOpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - async:asyncio - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-C47KdwqPqVtq3tGGTXPqTpVZY3khX\",\n \"object\": - \"text_completion\",\n \"created\": 1755097531,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\nSystem: Langsmith can help with - testing by providing clear and detailed technical documentation that outlines - the functionality of the system being tested. This documentation can serve - as a guide for testers, helping them understand the purpose of the system - and how it should function. Additionally, Langsmith can also assist with creating - test cases and scenarios based on the documentation, ensuring that all aspects - of the system are thoroughly tested.\",\n \"index\": 0,\n \"logprobs\": - null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 20,\n \"completion_tokens\": 79,\n \"total_tokens\": 99\n }\n}\n" - headers: - CF-RAY: - - 96e91c701c0428c9-EWR - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:05:32 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=5UrB0duNgrP2bKyWcFrQF_fJUZ1wuRsrpJfXbSnACNM-1755097532164-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-staging - openai-processing-ms: - - '1106' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-97bd886c9-ntg7f - x-envoy-upstream-service-time: - - '1161' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3498' - x-ratelimit-remaining-tokens: - - '89974' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 17ms - x-request-id: - - req_8a485313c6604e7dae90693cd0bf7915 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_68f85366.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_68f85366.json new file mode 100644 index 00000000000..2aba804167b --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_68f85366.json @@ -0,0 +1,60 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "241" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"You are a helpful assistant. Please answer this question: What is machine learning?\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96b72efd18634cd5-BOS", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Thu, 07 Aug 2025 13:40:03 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=E7M6tK6_m07TG2jd3_3dQheW.VrykThVm6qZWuJmQJQ-1754574003-1.0.1.1-rf8ee_O7Usj6tnGjMRpmNMpwzd0i6GYgIyL4irJEgjCwGq_t2XfmLLt3xNSUt.aqbVEpcC2nkly6exkU6ZXK.fkfPO3y0QX4Pqpe8xS6rLc; path=/; expires=Thu, 07-Aug-25 14:10:03 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "743", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-667b55c4ff-2dhvp", + "x-envoy-upstream-service-time": "767", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3498", + "x-ratelimit-remaining-tokens": "89979", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "14ms", + "x-request-id": "req_aafc2aba1dd8429c9d04d8e005f8fe89" + }, + "body": "{\n \"id\": \"cmpl-C1v8dxTpIe8hAPdDoFYOfKi93Tgqc\",\n \"object\": \"text_completion\",\n \"created\": 1754574003,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\n\\nMachine learning is a subset of artificial intelligence that involves teaching computers to learn from data and make predictions or decisions without being explicitly programmed for each task. It uses algorithms and statistical models to analyze and identify patterns in data, and then uses that information to make informed decisions or predictions. It is often used in applications such as image and speech recognition, natural language processing, and data analysis.\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 16,\n \"completion_tokens\": 77,\n \"total_tokens\": 93\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_68f85366.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_68f85366.yaml deleted file mode 100644 index 98a2c03eb3c..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_68f85366.yaml +++ /dev/null @@ -1,128 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": ["You are a helpful assistant. - Please answer this question: What is machine learning?"], "frequency_penalty": - 0, "logit_bias": {}, "max_tokens": 256, "n": 1, "presence_penalty": 0, "temperature": - 0.7, "top_p": 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '258' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-C1v8dxTpIe8hAPdDoFYOfKi93Tgqc\",\n \"object\": - \"text_completion\",\n \"created\": 1754574003,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\n\\nMachine learning is a subset - of artificial intelligence that involves teaching computers to learn from - data and make predictions or decisions without being explicitly programmed - for each task. It uses algorithms and statistical models to analyze and identify - patterns in data, and then uses that information to make informed decisions - or predictions. It is often used in applications such as image and speech - recognition, natural language processing, and data analysis.\",\n \"index\": - 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n - \ ],\n \"usage\": {\n \"prompt_tokens\": 16,\n \"completion_tokens\": - 77,\n \"total_tokens\": 93\n }\n}\n" - headers: - CF-RAY: - - 96b72efd18634cd5-BOS - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 07 Aug 2025 13:40:03 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=E7M6tK6_m07TG2jd3_3dQheW.VrykThVm6qZWuJmQJQ-1754574003-1.0.1.1-rf8ee_O7Usj6tnGjMRpmNMpwzd0i6GYgIyL4irJEgjCwGq_t2XfmLLt3xNSUt.aqbVEpcC2nkly6exkU6ZXK.fkfPO3y0QX4Pqpe8xS6rLc; - path=/; expires=Thu, 07-Aug-25 14:10:03 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=KuJav11ZQK9UAuTWa0SprphVD.2v1UXiQ2MmnsvLBKU-1754574003751-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-staging - openai-processing-ms: - - '743' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-667b55c4ff-2dhvp - x-envoy-upstream-service-time: - - '767' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3498' - x-ratelimit-remaining-tokens: - - '89979' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 14ms - x-request-id: - - req_aafc2aba1dd8429c9d04d8e005f8fe89 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_6e95e620.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_6e95e620.json new file mode 100644 index 00000000000..d198d1bb601 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_6e95e620.json @@ -0,0 +1,59 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "AsyncOpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "async:asyncio", + "x-stainless-retry-count": "0", + "Content-Length": "209" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":\"How do I write technical documentation?\",\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"stream\":true,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "96e91c5b0a71c3f3-EWR", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Type": "text/event-stream", + "Date": "Wed, 13 Aug 2025 15:05:28 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=4099_ZlqgzvnN8GpS.6JGjl3b1BDXefDLAFfOtH2Q_w-1755097528163-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "550", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-8696ff44f8-8kppv", + "x-envoy-upstream-service-time": "580", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3498", + "x-ratelimit-remaining-tokens": "89989", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "6ms", + "x-request-id": "req_55606b4857af4fb798716e969ca7b207" + }, + "body": "data: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"\\n\\n\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"1\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Determine\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Your\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Audience\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\":\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" The\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" first\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" step\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" in\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" writing\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" technical\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" documentation\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" is to identify your\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" target\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" audience\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Are you\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" writing\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" for developers,\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" end\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"-users\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\",\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" or\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" a\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" combination\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" of\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" both\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"?\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Your\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" audience will\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" determine\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" the level of technical detail\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" language\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" you\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" should\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" use\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\\n\\n\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"2\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Outline\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Your\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Document\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\":\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Before\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" you\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" start\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" writing\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\",\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" create\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" an\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" outline for your document. This will help\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" you organize your\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" thoughts\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and ensure that you cover all\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" the\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" necessary\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" information\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" in\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" a\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" logical\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" order\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\\n\\n\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"3\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Use\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Clear\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Conc\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"ise\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Language\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\":\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Technical\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" documentation\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" should\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" be\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" written\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" in a clear and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" concise\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" manner. Avoid using\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" j\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"argon\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" technical\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" terms\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" that may be\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" unfamiliar\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" to\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" your\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" audience\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Use\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" simple\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" straightforward\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" language\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" to\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" convey\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" your\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" message\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" effectively\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\\n\\n\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"4\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Use\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Visual\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" A\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"ids\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\":\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Visual\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" aids\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" such\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" as\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" diagrams\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\",\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" screenshots,\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" charts\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" can\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" help\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" readers\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" understand complex\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" concepts\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" instructions\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Use them strategically\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" to\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" enhance\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" the\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" clarity\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" of\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" your\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" document\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\\n\\n\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"5\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Follow\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" a\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Standard\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Format\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\":\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Technical\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" documentation\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" should\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" follow\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" a\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" standard\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" format\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" to\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" make\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" it\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" easier\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" for\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" readers\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" to\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" find\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" the\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" information\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" they\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" need\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" This\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" may\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" include\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" a\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" table\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" of\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" contents\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\",\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" headings\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" sub\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"head\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"ings\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\",\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" numbered\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" lists\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\",\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" append\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"ices\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\\n\\n\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"6\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Provide\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Context\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" Examples\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\":\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" When\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" explaining\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" technical\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" concepts\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\",\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" provide context\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" and\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" real\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"-life\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" examples\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" to\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" make\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" it\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" easier\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" for\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" readers\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" to\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" understand\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\".\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" This will also\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" help\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" them\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" apply\",\"index\":0,\"logprobs\":null,\"finish_reason\":null}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\" the\",\"index\":0,\"logprobs\":null,\"finish_reason\":\"length\"}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: {\"id\":\"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg\",\"object\":\"text_completion\",\"created\":1755097528,\"choices\":[{\"text\":\"\",\"index\":0,\"logprobs\":null,\"finish_reason\":\"length\"}],\"model\":\"gpt-3.5-turbo-instruct:20230824-v2\"}\n\ndata: [DONE]\n\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_6e95e620.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_6e95e620.yaml deleted file mode 100644 index 788c5c66071..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_6e95e620.yaml +++ /dev/null @@ -1,937 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": "How do I write technical - documentation?", "frequency_penalty": 0, "logit_bias": {}, "max_tokens": 256, - "n": 1, "presence_penalty": 0, "stream": true, "temperature": 0.7, "top_p": - 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '228' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - AsyncOpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - async:asyncio - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: 'data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"\n\n","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"1","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Determine","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Your","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Audience","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":":","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - The","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - first","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - step","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - in","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - writing","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - technical","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - documentation","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - is to identify your","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - target","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - audience","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Are you","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - writing","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - for developers,","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - end","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"-users","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":",","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - or","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - a","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - combination","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - of","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - both","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"?","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Your","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - audience will","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - determine","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - the level of technical detail","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - language","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - you","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - should","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - use","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".\n\n","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"2","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Outline","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Your","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Document","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":":","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Before","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - you","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - start","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - writing","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":",","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - create","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - an","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - outline for your document. This will help","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - you organize your","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - thoughts","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and ensure that you cover all","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - the","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - necessary","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - information","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - in","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - a","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - logical","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - order","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".\n\n","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"3","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Use","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Clear","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Conc","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"ise","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Language","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":":","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Technical","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - documentation","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - should","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - be","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - written","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - in a clear and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - concise","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - manner. Avoid using","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - j","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"argon","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - technical","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - terms","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - that may be","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - unfamiliar","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - to","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - your","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - audience","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Use","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - simple","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - straightforward","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - language","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - to","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - convey","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - your","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - message","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - effectively","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".\n\n","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"4","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Use","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Visual","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - A","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"ids","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":":","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Visual","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - aids","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - such","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - as","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - diagrams","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":",","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - screenshots,","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - charts","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - can","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - help","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - readers","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - understand complex","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - concepts","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - instructions","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Use them strategically","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - to","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - enhance","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - the","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - clarity","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - of","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - your","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - document","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".\n\n","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"5","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Follow","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - a","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Standard","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Format","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":":","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Technical","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - documentation","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - should","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - follow","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - a","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - standard","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - format","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - to","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - make","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - it","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - easier","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - for","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - readers","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - to","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - find","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - the","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - information","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - they","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - need","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - This","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - may","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - include","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - a","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - table","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - of","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - contents","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":",","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - headings","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - sub","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"head","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"ings","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":",","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - numbered","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - lists","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":",","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - append","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"ices","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".\n\n","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"6","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Provide","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Context","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - Examples","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":":","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - When","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - explaining","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - technical","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - concepts","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":",","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - provide context","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - and","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - real","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"-life","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - examples","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - to","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - make","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - it","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - easier","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - for","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - readers","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - to","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - understand","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":".","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - This will also","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - help","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - them","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - apply","index":0,"logprobs":null,"finish_reason":null}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":" - the","index":0,"logprobs":null,"finish_reason":"length"}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: {"id":"cmpl-C47KaBSfB2JzEtaWjrvuP7NlIbbEg","object":"text_completion","created":1755097528,"choices":[{"text":"","index":0,"logprobs":null,"finish_reason":"length"}],"model":"gpt-3.5-turbo-instruct:20230824-v2"} - - - data: [DONE] - - - ' - headers: - CF-RAY: - - 96e91c5b0a71c3f3-EWR - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Type: - - text/event-stream - Date: - - Wed, 13 Aug 2025 15:05:28 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=4099_ZlqgzvnN8GpS.6JGjl3b1BDXefDLAFfOtH2Q_w-1755097528163-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-staging - openai-processing-ms: - - '550' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-8696ff44f8-8kppv - x-envoy-upstream-service-time: - - '580' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3498' - x-ratelimit-remaining-tokens: - - '89989' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 6ms - x-request-id: - - req_55606b4857af4fb798716e969ca7b207 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8706eb93.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8706eb93.json new file mode 100644 index 00000000000..ae773df97fa --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8706eb93.json @@ -0,0 +1,56 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "290" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"Human: what country is the city \\n\\nComputer: The city Spongebob Squarepants is from is called Bikini Bottom. in? respond in Spanish\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Thu, 10 Jul 2025 03:32:08 GMT", + "Server": "cloudflare", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "312", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-7f748cb8b-smwxs", + "x-envoy-upstream-service-time": "317", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3499", + "x-ratelimit-remaining-tokens": "89967", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "22ms", + "x-request-id": "req_13faf0df14449b43f01821d447b5a184" + }, + "body": "{\n \"id\": \"cmpl-BrcIyWqCi9dcQai1YNLLMOgBS9wys\",\n \"object\": \"text_completion\",\n \"created\": 1752118328,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\n\\nComputer: \u00bfEn qu\u00e9 pa\u00eds se encuentra la ciudad de Spongebob Squarepants?\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 29,\n \"completion_tokens\": 17,\n \"total_tokens\": 46\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8706eb93.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8706eb93.yaml deleted file mode 100644 index b70023fb605..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8706eb93.yaml +++ /dev/null @@ -1,105 +0,0 @@ -interactions: -- request: - body: '{"model":"gpt-3.5-turbo-instruct","prompt":["Human: what country is the - city \n\nComputer: The city Spongebob Squarepants is from is called Bikini Bottom. - in? respond in Spanish"],"frequency_penalty":0,"logprobs":null,"max_tokens":256,"n":1,"presence_penalty":0,"seed":null,"temperature":0.7,"top_p":1}' - headers: - ? !!python/object/new:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/new:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate, zstd - ? !!python/object/new:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '302' - ? !!python/object/new:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/new:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.91.0 - X-Stainless-Arch: - - arm64 - X-Stainless-Async: - - 'false' - X-Stainless-Lang: - - python - X-Stainless-OS: - - MacOS - X-Stainless-Package-Version: - - 1.91.0 - X-Stainless-Runtime: - - CPython - X-Stainless-Runtime-Version: - - 3.12.9 - x-stainless-retry-count: - - '0' - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-BrcIyWqCi9dcQai1YNLLMOgBS9wys\",\n \"object\": - \"text_completion\",\n \"created\": 1752118328,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\n\\nComputer: \xBFEn qu\xE9 pa\xEDs - se encuentra la ciudad de Spongebob Squarepants?\",\n \"index\": 0,\n - \ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n - \ \"usage\": {\n \"prompt_tokens\": 29,\n \"completion_tokens\": 17,\n - \ \"total_tokens\": 46\n }\n}\n" - headers: - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 10 Jul 2025 03:32:08 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-4 - openai-processing-ms: - - '312' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-7f748cb8b-smwxs - x-envoy-upstream-service-time: - - '317' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3499' - x-ratelimit-remaining-tokens: - - '89967' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 22ms - x-request-id: - - req_13faf0df14449b43f01821d447b5a184 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8899bb88.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8899bb88.json new file mode 100644 index 00000000000..86d0466ac54 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8899bb88.json @@ -0,0 +1,59 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "186" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[\"\uc548\ub155,\\n \uc9c0\uae08 \uba87 \uc2dc\uc57c?\"],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "CF-RAY": "95cd286d7b6a901d-BOS", + "Cache-Control": "no-cache, must-revalidate", + "Connection": "keep-alive", + "Content-Encoding": "gzip", + "Content-Type": "application/json", + "Date": "Thu, 10 Jul 2025 04:01:08 GMT", + "Server": "cloudflare", + "Set-Cookie": "__cf_bm=q4OaAKUOnXJ6fe6G5.OYQt2D2_SbLcCwvMKF88QaIcg-1752120068-1.0.1.1-YcMyvF2vshEGE5CFDqyUS4b1rf46YVRfsVU7__NvozfoH7QWhTce.MemMyD8rHfYaMrgHgA3Ltt9PnFYGn6B2FR85BZOfLaCMvlQsLz7b4E; path=/; expires=Thu, 10-Jul-25 04:31:08 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "access-control-allow-origin": "*", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-model": "gpt-3.5-turbo-instruct:20230824-v2", + "openai-processing-ms": "1002", + "openai-version": "2020-10-01", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "via": "envoy-router-7d69876c55-67fvn", + "x-envoy-upstream-service-time": "1017", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3499", + "x-ratelimit-remaining-tokens": "89992", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "4ms", + "x-request-id": "req_98d3be59a96f90b7080b3fe8c6501b45" + }, + "body": "{\n \"id\": \"cmpl-Brcl2daX6ZxClad9cssLBPTkYalqD\",\n \"object\": \"text_completion\",\n \"created\": 1752120068,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n \"choices\": [\n {\n \"text\": \"\\n\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \uc778\uacf5\uc9c0\ub2a5 \uc5b8\uc5b4\ubaa8\ub378\uc785\ub2c8\ub2e4. \uc800\ub294 \uc2dc\uacc4 \uae30\ub2a5\uc744 \uac00\uc9c0\uace0 \uc788\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0 \ud604\uc7ac \uc2dc\uac04\uc744 \uc54c\ub824\ub4dc\ub9ac\uc9c0 \ubabb\ud574\uc694. \uc774 \uc810 \uc591\ud574 \ubd80\ud0c1\ub4dc\ub9bd\ub2c8\ub2e4.\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 13,\n \"completion_tokens\": 73,\n \"total_tokens\": 86\n }\n}\n" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8899bb88.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8899bb88.yaml deleted file mode 100644 index 682077e95ff..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_8899bb88.yaml +++ /dev/null @@ -1,126 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": ["\uc548\ub155,\n \uc9c0\uae08 - \uba87 \uc2dc\uc57c?"], "frequency_penalty": 0, "logit_bias": {}, "max_tokens": - 256, "n": 1, "presence_penalty": 0, "temperature": 0.7, "top_p": 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '224' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.61.0 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - Linux - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.61.0 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.12.8 - ? !!python/object/apply:multidict._multidict.istr - - x-stainless-retry-count - : - '0' - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"id\": \"cmpl-Brcl2daX6ZxClad9cssLBPTkYalqD\",\n \"object\": - \"text_completion\",\n \"created\": 1752120068,\n \"model\": \"gpt-3.5-turbo-instruct:20230824-v2\",\n - \ \"choices\": [\n {\n \"text\": \"\\n\uC548\uB155\uD558\uC138\uC694. - \uC800\uB294 \uC778\uACF5\uC9C0\uB2A5 \uC5B8\uC5B4\uBAA8\uB378\uC785\uB2C8\uB2E4. - \uC800\uB294 \uC2DC\uACC4 \uAE30\uB2A5\uC744 \uAC00\uC9C0\uACE0 \uC788\uC9C0 - \uC54A\uAE30 \uB54C\uBB38\uC5D0 \uD604\uC7AC \uC2DC\uAC04\uC744 \uC54C\uB824\uB4DC\uB9AC\uC9C0 - \uBABB\uD574\uC694. \uC774 \uC810 \uC591\uD574 \uBD80\uD0C1\uB4DC\uB9BD\uB2C8\uB2E4.\",\n - \ \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n - \ }\n ],\n \"usage\": {\n \"prompt_tokens\": 13,\n \"completion_tokens\": - 73,\n \"total_tokens\": 86\n }\n}\n" - headers: - CF-RAY: - - 95cd286d7b6a901d-BOS - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 10 Jul 2025 04:01:08 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=q4OaAKUOnXJ6fe6G5.OYQt2D2_SbLcCwvMKF88QaIcg-1752120068-1.0.1.1-YcMyvF2vshEGE5CFDqyUS4b1rf46YVRfsVU7__NvozfoH7QWhTce.MemMyD8rHfYaMrgHgA3Ltt9PnFYGn6B2FR85BZOfLaCMvlQsLz7b4E; - path=/; expires=Thu, 10-Jul-25 04:31:08 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=MNOk5TsH8Km1JdFt0fN4.jtnyoSdfFgQmCJsAW8f0G4-1752120068703-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-allow-origin: - - '*' - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-model: - - gpt-3.5-turbo-instruct:20230824-v2 - openai-organization: - - datadog-4 - openai-processing-ms: - - '1002' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - via: - - envoy-router-7d69876c55-67fvn - x-envoy-upstream-service-time: - - '1017' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3499' - x-ratelimit-remaining-tokens: - - '89992' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 4ms - x-request-id: - - req_98d3be59a96f90b7080b3fe8c6501b45 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_ec9c4d9d.json b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_ec9c4d9d.json new file mode 100644 index 00000000000..393eecc8774 --- /dev/null +++ b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_ec9c4d9d.json @@ -0,0 +1,55 @@ +{ + "request": { + "method": "POST", + "url": "https://api.openai.com/v1/completions", + "headers": { + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "OpenAI/Python 1.109.1", + "X-Stainless-Lang": "python", + "X-Stainless-Package-Version": "1.109.1", + "X-Stainless-OS": "Linux", + "X-Stainless-Arch": "arm64", + "X-Stainless-Runtime": "CPython", + "X-Stainless-Runtime-Version": "3.9.25", + "X-Stainless-Async": "false", + "x-stainless-retry-count": "0", + "Content-Length": "168" + }, + "body": "{\"model\":\"gpt-3.5-turbo-instruct\",\"prompt\":[12345,123456],\"frequency_penalty\":0,\"logit_bias\":{},\"max_tokens\":256,\"n\":1,\"presence_penalty\":0,\"temperature\":0.7,\"top_p\":1}" + }, + "response": { + "status": { + "code": 400, + "message": "Bad Request" + }, + "headers": { + "CF-RAY": "96e91d404de0c35d-EWR", + "Connection": "keep-alive", + "Content-Length": "201", + "Content-Type": "application/json", + "Date": "Wed, 13 Aug 2025 15:06:04 GMT", + "Server": "cloudflare", + "Set-Cookie": "_cfuvid=b7UKUE5QUzwGn8g6.ZQhF4m.B1sdMO.b9yl.jjAj8vo-1755097564303-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "access-control-expose-headers": "X-Request-ID", + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "openai-processing-ms": "16", + "openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd", + "openai-version": "2020-10-01", + "x-envoy-upstream-service-time": "36", + "x-ratelimit-limit-requests": "3500", + "x-ratelimit-limit-tokens": "90000", + "x-ratelimit-remaining-requests": "3499", + "x-ratelimit-remaining-tokens": "89997", + "x-ratelimit-reset-requests": "17ms", + "x-ratelimit-reset-tokens": "2ms", + "x-request-id": "req_37825b8ced824ce18527e2afd4f60393" + }, + "body": "{\n \"error\": {\n \"message\": \"Invalid token in prompt: 123456. Minimum value is 0, maximum value is 100257 (inclusive).\",\n \"type\": \"invalid_request_error\",\n \"param\": null,\n \"code\": null\n }\n}" + } +} \ No newline at end of file diff --git a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_ec9c4d9d.yaml b/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_ec9c4d9d.yaml deleted file mode 100644 index 0521f113a11..00000000000 --- a/tests/llmobs/llmobs_cassettes/openai/openai_completions_post_ec9c4d9d.yaml +++ /dev/null @@ -1,105 +0,0 @@ -interactions: -- request: - body: '{"model": "gpt-3.5-turbo-instruct", "prompt": [12345, 123456], "frequency_penalty": - 0, "logit_bias": {}, "max_tokens": 256, "n": 1, "presence_penalty": 0, "temperature": - 0.7, "top_p": 1}' - headers: - ? !!python/object/apply:multidict._multidict.istr - - Accept - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - Accept-Encoding - : - gzip, deflate - ? !!python/object/apply:multidict._multidict.istr - - Connection - : - keep-alive - Content-Length: - - '186' - ? !!python/object/apply:multidict._multidict.istr - - Content-Type - : - application/json - ? !!python/object/apply:multidict._multidict.istr - - User-Agent - : - OpenAI/Python 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Arch - : - arm64 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Async - : - 'false' - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Lang - : - python - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-OS - : - MacOS - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Package-Version - : - 1.30.3 - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime - : - CPython - ? !!python/object/apply:multidict._multidict.istr - - X-Stainless-Runtime-Version - : - 3.10.13 - method: POST - uri: https://api.openai.com/v1/completions - response: - body: - string: "{\n \"error\": {\n \"message\": \"Invalid token in prompt: 123456. - Minimum value is 0, maximum value is 100257 (inclusive).\",\n \"type\": - \"invalid_request_error\",\n \"param\": null,\n \"code\": null\n }\n}" - headers: - CF-RAY: - - 96e91d404de0c35d-EWR - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - Date: - - Wed, 13 Aug 2025 15:06:04 GMT - Server: - - cloudflare - Set-Cookie: - - _cfuvid=b7UKUE5QUzwGn8g6.ZQhF4m.B1sdMO.b9yl.jjAj8vo-1755097564303-0.0.1.1-604800000; - path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - Strict-Transport-Security: - - max-age=31536000; includeSubDomains; preload - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - alt-svc: - - h3=":443"; ma=86400 - cf-cache-status: - - DYNAMIC - openai-organization: - - datadog-staging - openai-processing-ms: - - '16' - openai-project: - - proj_gt6TQZPRbZfoY2J9AQlEJMpd - openai-version: - - '2020-10-01' - x-envoy-upstream-service-time: - - '36' - x-ratelimit-limit-requests: - - '3500' - x-ratelimit-limit-tokens: - - '90000' - x-ratelimit-remaining-requests: - - '3499' - x-ratelimit-remaining-tokens: - - '89997' - x-ratelimit-reset-requests: - - 17ms - x-ratelimit-reset-tokens: - - 2ms - x-request-id: - - req_37825b8ced824ce18527e2afd4f60393 - status: - code: 400 - message: Bad Request -version: 1 diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_ai21_llm_sync.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_ai21_llm_sync.json deleted file mode 100644 index c8340614441..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_ai21_llm_sync.json +++ /dev/null @@ -1,28 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_community.llms.ai21.AI21", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "68750a4200000000", - "langchain.request.model": "j2-jumbo-instruct", - "langchain.request.provider": "ai21", - "language": "python", - "runtime-id": "002a3e69fe434d77a16c16974b6980d0" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24341 - }, - "duration": 4020000, - "start": 1752500802231884000 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json index e807ed1f630..04daab2b767 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 227000, - "start": 1752500688971582000 + "duration": 956375, + "start": 1776175456065500503 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json index 6a7b32fde05..b0a371ca62e 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de495f00000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 192000, - "start": 1752500688988576000 + "duration": 984208, + "start": 1776175455567108545 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_cohere_llm_sync_0_2.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_cohere_llm_sync_0_2.json deleted file mode 100644 index 464da1d020b..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_cohere_llm_sync_0_2.json +++ /dev/null @@ -1,27 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_cohere.llms.Cohere", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "68769e7700000000", - "langchain.request.provider": "cohere", - "language": "python", - "runtime-id": "32c15b370bff4b03b48acfad8098f61b" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 66053 - }, - "duration": 5806000, - "start": 1752604279520802000 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_faiss_vectorstore_retrieval.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_faiss_vectorstore_retrieval.json deleted file mode 100644 index e5160b0fc46..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_faiss_vectorstore_retrieval.json +++ /dev/null @@ -1,74 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.embeddings.base.OpenAIEmbeddings", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "687509d100000000", - "langchain.request.model": "text-embedding-ada-002", - "langchain.request.provider": "openai", - "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 0.75, - "_sampling_priority_v1": 1, - "process_id": 23889 - }, - "duration": 119000, - "start": 1752500689361278000 - }], -[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_community.vectorstores.faiss.FAISS", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "687509d100000000", - "langchain.request.provider": "faiss", - "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 0.75, - "_sampling_priority_v1": 1, - "process_id": 23889 - }, - "duration": 3501000, - "start": 1752500689366071000 - }, - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.embeddings.base.OpenAIEmbeddings", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "langchain.request.model": "text-embedding-ada-002", - "langchain.request.provider": "openai" - }, - "metrics": { - "_dd.measured": 1 - }, - "duration": 52000, - "start": 1752500689366193000 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json index 7dfd59cf239..bfaa67e7b1d 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 5653000, - "start": 1752500688309771000 + "duration": 20419708, + "start": 1776175456500630629 }, { "name": "langchain.request", @@ -34,12 +36,13 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 2902000, - "start": 1752500688312251000 + "duration": 6530083, + "start": 1776175456513684754 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json index 0e74e8394fa..32329377b5e 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 8352000, - "start": 1752500688424787000 + "duration": 23684167, + "start": 1776175456312644628 }, { "name": "langchain.request", @@ -34,12 +36,13 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 3965000, - "start": 1752500688428183000 + "duration": 8684500, + "start": 1776175456326412295 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json index 50d5c08128c..9ca19044c7e 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d100000000", + "_dd.p.tid": "69de495f00000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 7921000, - "start": 1752500689193666000 + "duration": 15681542, + "start": 1776175455992136795 }, { "name": "langchain.request", @@ -34,12 +36,13 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 3104000, - "start": 1752500689198217000 + "duration": 5924542, + "start": 1776175456001179545 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_nested_0_2.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_nested_0_2.json deleted file mode 100644 index 7f1d94f683e..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_nested_0_2.json +++ /dev/null @@ -1,79 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_core.runnables.base.RunnableSequence", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "687509d100000000", - "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 - }, - "duration": 12833000, - "start": 1752500689056515000 - }, - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_core.runnables.base.RunnableSequence", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "metrics": { - "_dd.measured": 1 - }, - "duration": 5319000, - "start": 1752500689059867000 - }, - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.chat_models.base.ChatOpenAI", - "trace_id": 0, - "span_id": 4, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "langchain.request.model": "gpt-3.5-turbo", - "langchain.request.provider": "openai" - }, - "metrics": { - "_dd.measured": 1 - }, - "duration": 3491000, - "start": 1752500689061425000 - }, - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.chat_models.base.ChatOpenAI", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "langchain.request.model": "gpt-3.5-turbo", - "langchain.request.provider": "openai" - }, - "metrics": { - "_dd.measured": 1 - }, - "duration": 3232000, - "start": 1752500689065903000 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_nested_latest.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_nested_latest.json deleted file mode 100644 index b2aa644e7a7..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_nested_latest.json +++ /dev/null @@ -1,79 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_core.runnables.base.RunnableSequence", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "687695cf00000000", - "language": "python", - "runtime-id": "6ac35bb2c11c4bedb491c930fb49f5b5" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 56751 - }, - "duration": 16974000, - "start": 1752602063161262000 - }, - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_core.runnables.base.RunnableSequence", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "metrics": { - "_dd.measured": 1 - }, - "duration": 10852000, - "start": 1752602063161909000 - }, - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.chat_models.base.ChatOpenAI", - "trace_id": 0, - "span_id": 4, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "langchain.request.model": "gpt-3.5-turbo", - "langchain.request.provider": "openai" - }, - "metrics": { - "_dd.measured": 1 - }, - "duration": 9467000, - "start": 1752602063163095000 - }, - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.chat_models.base.ChatOpenAI", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "langchain.request.model": "gpt-3.5-turbo", - "langchain.request.provider": "openai" - }, - "metrics": { - "_dd.measured": 1 - }, - "duration": 4383000, - "start": 1752602063173651000 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json index 26c35cabc70..57389927923 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "692ef7b700000000", + "_dd.p.tid": "69de495f00000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "a0a92a353faa4719b4c5652fb07d906d" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 31006.0 + "process_id": 69535.0 }, - "duration": 8879000, - "start": 1764685751460688000 + "duration": 5665375, + "start": 1776175455921586420 }, { "name": "langchain.request", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.langchain" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 763000, - "start": 1764685751467960000 + "duration": 904500, + "start": 1776175455925521878 }, { "name": "langchain.request", @@ -48,9 +53,12 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.langchain" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 758000, - "start": 1764685751468785000 + "duration": 746916, + "start": 1776175455926476962 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json index 4c1f9c99664..a46603f23c7 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 10633000, - "start": 1752500688671837000 + "duration": 10229833, + "start": 1776175456198142295 }, { "name": "langchain.request", @@ -34,12 +36,13 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 2346000, - "start": 1752500688680091000 + "duration": 6116334, + "start": 1776175456202198378 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json index b366b601763..df67b4a643b 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 4543000, - "start": 1752500688550174000 + "duration": 12560750, + "start": 1776175456653851920 }, { "name": "langchain.request", @@ -34,12 +36,13 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 2703000, - "start": 1752500688551908000 + "duration": 9466792, + "start": 1776175456656842462 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json index 83e4feab877..4e01ea9ee86 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de49c500000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "claude-3-opus-20240229", "langchain.request.provider": "anthropic", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "7dc4cd5b529f415b831ffb034ebc6ed5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 70110.0 }, - "duration": 6462000, - "start": 1752500688632148000 + "duration": 5817250, + "start": 1776175557141258217 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json index 9aac7b7cb4c..4d3da43bf92 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-0125", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 3649000, - "start": 1752500688232016000 + "duration": 11205209, + "start": 1776175456465714170 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json index f2412d3f999..2845713794b 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68750a4200000000", + "_dd.p.tid": "69de49c000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "002a3e69fe434d77a16c16974b6980d0" + "runtime-id": "7dc4cd5b529f415b831ffb034ebc6ed5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24341 + "_sampling_priority_v1": 1.0, + "process_id": 70110.0 }, - "duration": 11448000, - "start": 1752500802987380000 + "duration": 411943417, + "start": 1776175552233003881 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json index 18c5e27f2f0..97c069a5198 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de495e00000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 3078000, - "start": 1752500688272852000 + "duration": 24557667, + "start": 1776175454080805044 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json index 4bebd7b0876..d1a11a85fff 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 3838000, - "start": 1752500688589887000 + "duration": 8336666, + "start": 1776175456370763587 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json index 687c40c3115..42eceeb2596 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68750a4100000000", + "_dd.p.tid": "69de49c000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "002a3e69fe434d77a16c16974b6980d0" + "runtime-id": "7dc4cd5b529f415b831ffb034ebc6ed5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24341 + "_sampling_priority_v1": 1.0, + "process_id": 70110.0 }, - "duration": 8609000, - "start": 1752500801627194000 + "duration": 9280459, + "start": 1776175552817032548 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_vision_generate_0_2.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_vision_generate_0_2.json deleted file mode 100644 index 7e4858fdd93..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_vision_generate_0_2.json +++ /dev/null @@ -1,28 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.chat_models.base.ChatOpenAI", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "687509d100000000", - "langchain.request.model": "gpt-4o", - "langchain.request.provider": "openai", - "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 - }, - "duration": 4271000, - "start": 1752500689018974000 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_vision_generate_latest.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_vision_generate_latest.json deleted file mode 100644 index 8c09e4b0ea5..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_vision_generate_latest.json +++ /dev/null @@ -1,28 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.chat_models.base.ChatOpenAI", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "68750a4200000000", - "langchain.request.model": "gpt-4o", - "langchain.request.provider": "openai", - "language": "python", - "runtime-id": "002a3e69fe434d77a16c16974b6980d0" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24341 - }, - "duration": 5736000, - "start": 1752500802601166000 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json index a69f9a0fad5..e9e7913298c 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68d59ec500000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "ac6f9cddf89b44aa998a624f78a30207" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 98820 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 381032000, - "start": 1758830277101798000 + "duration": 6923125, + "start": 1776175456991129129 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json index 63e85dcb2c9..f98180c4101 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 108000, - "start": 1752500688390430000 + "duration": 155354000, + "start": 1776175456777299212 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json index 9363791cfeb..83f3f008d57 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d100000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 2837000, - "start": 1752500689138734000 + "duration": 12751667, + "start": 1776175456028813503 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json index 8665d20518b..3c86e34ab5a 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json @@ -10,22 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "689b86a200000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "error.message": "Error code: 400 - {'error': {'message': 'Invalid token in prompt: 123456. Minimum value is 0, maximum value is 100257 (inclusive).', 'type': 'invalid_request_error', 'param': None, 'code': None}}", - "error.stack": "Traceback (most recent call last):\n File \"/Users/sam.brenner/dd/dd-trace-py/ddtrace/contrib/internal/langchain/patch.py\", line 105, in traced_llm_generate\n completions = func(*args, **kwargs)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_12135c7d0e723490/lib/python3.10/site-packages/langchain_core/language_models/llms.py\", line 963, in generate\n output = self._generate_helper(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_12135c7d0e723490/lib/python3.10/site-packages/langchain_core/language_models/llms.py\", line 784, in _generate_helper\n self._generate(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_12135c7d0e723490/lib/python3.10/site-packages/langchain_openai/llms/base.py\", line 343, in _generate\n response = self.client.create(prompt=_prompts, **params)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_12135c7d0e723490/lib/python3.10/site-packages/openai/_utils/_utils.py\", line 279, in wrapper\n return func(*args, **kwargs)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_12135c7d0e723490/lib/python3.10/site-packages/openai/resources/completions.py\", line 539, in create\n return self._post(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_12135c7d0e723490/lib/python3.10/site-packages/openai/_base_client.py\", line 1283, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_12135c7d0e723490/lib/python3.10/site-packages/openai/_base_client.py\", line 960, in request\n return self._request(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_12135c7d0e723490/lib/python3.10/site-packages/openai/_base_client.py\", line 1064, in _request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': {'message': 'Invalid token in prompt: 123456. Minimum value is 0, maximum value is 100257 (inclusive).', 'type': 'invalid_request_error', 'param': None, 'code': None}}\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/langchain/patch.py\", line 72, in traced_llm_generate\n completions = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/llms.py\", line 803, in generate\n output = self._generate_helper(\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/llms.py\", line 670, in _generate_helper\n raise e\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/llms.py\", line 657, in _generate_helper\n self._generate(\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_openai/llms/base.py\", line 350, in _generate\n response = self.client.create(prompt=_prompts, **params)\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/resources/completions.py\", line 541, in create\n return self._post(\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 1047, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': {'message': 'Invalid token in prompt: 123456. Minimum value is 0, maximum value is 100257 (inclusive).', 'type': 'invalid_request_error', 'param': None, 'code': None}}\n", "error.type": "openai.BadRequestError", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "3d5dccfd39404ff784a012dc9c773114" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 66588 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 21026000, - "start": 1755023010875130000 + "duration": 8758376, + "start": 1776175456401195628 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json index 12af9b30157..df12c9a2fb7 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 2178000, - "start": 1752500688512892000 + "duration": 6577250, + "start": 1776175456953307254 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json index 126805ac90b..1a6a9a0aeee 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 2795000, - "start": 1752500688471715000 + "duration": 9343791, + "start": 1776175456431426754 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_pinecone_vectorstore_similarity_search.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_pinecone_vectorstore_similarity_search.json deleted file mode 100644 index 2c6b0b0c829..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_pinecone_vectorstore_similarity_search.json +++ /dev/null @@ -1,46 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_pinecone.vectorstores.PineconeVectorStore", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", - "langchain.request.provider": "pineconevectorstore", - "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 - }, - "duration": 2223000, - "start": 1752500688898413000 - }, - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.embeddings.base.OpenAIEmbeddings", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "langchain.request.model": "text-embedding-ada-002", - "langchain.request.provider": "openai" - }, - "metrics": { - "_dd.measured": 1 - }, - "duration": 69000, - "start": 1752500688898565000 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json index 58628fd34c2..c922333f3aa 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "692ef60900000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "a68883ab67584c508d0af032620ec63f" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 12707.0 + "process_id": 69535.0 }, - "duration": 3237000, - "start": 1764685321956638000 + "duration": 3211542, + "start": 1776175456050928545 }, { "name": "langchain.request", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.langchain" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 2898000, - "start": 1764685321956826000 + "duration": 2966167, + "start": 1776175456051079670 }, { "name": "langchain.request", @@ -48,11 +53,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.langchain" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 1887000, - "start": 1764685321957873000 + "duration": 1844667, + "start": 1776175456052236128 }, { "name": "langchain.request", @@ -63,9 +71,12 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.langchain" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 1006000, - "start": 1764685321958776000 + "duration": 965084, + "start": 1776175456053139253 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json index 5cadf22ca33..c2f7f9acf85 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "692ef60900000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "a68883ab67584c508d0af032620ec63f" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 12707.0 + "process_id": 69535.0 }, - "duration": 1230000, - "start": 1764685321990158000 + "duration": 1153500, + "start": 1776175456969610754 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json index c3dc9cd3740..5cbb66d9254 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "692ef60900000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "a68883ab67584c508d0af032620ec63f" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 12707.0 + "process_id": 69535.0 }, - "duration": 5278000, - "start": 1764685321931833000 + "duration": 5546875, + "start": 1776175456624232670 }, { "name": "langchain.request", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.langchain" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 3040000, - "start": 1764685321932451000 + "duration": 3763334, + "start": 1776175456624566795 }, { "name": "langchain.request", @@ -48,11 +53,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.langchain" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 4031000, - "start": 1764685321932922000 + "duration": 4261791, + "start": 1776175456625108129 }, { "name": "langchain.request", @@ -63,9 +71,12 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.langchain" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 3318000, - "start": 1764685321933181000 + "duration": 2044042, + "start": 1776175456625720295 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json index 3a5190460ff..084f76a13e5 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "692ef60900000000", + "_dd.p.tid": "69de496100000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "a68883ab67584c508d0af032620ec63f" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 12707.0 + "process_id": 69535.0 }, - "duration": 991000, - "start": 1764685321975884000 + "duration": 1325041, + "start": 1776175457014634629 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json index 8ec75552113..949d1ed0be0 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de495f00000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.stream": "True", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 9728000, - "start": 1752500688848382000 + "duration": 107278500, + "start": 1776175455447696795 }, { "name": "langchain.request", @@ -35,13 +37,14 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 7192000, - "start": 1752500688850444000 + "duration": 87295375, + "start": 1776175455461913461 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json index b3c0cea2415..9917496c8ed 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de495f00000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 5891000, - "start": 1752500688748713000 + "duration": 67516583, + "start": 1776175455844130920 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json index e6f9c47e260..1230c87add7 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json @@ -10,23 +10,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68ff826100000000", + "_dd.p.tid": "69de495e00000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "error.message": "Request timed out.", - "error.stack": "Traceback (most recent call last):\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpx/_transports/default.py\", line 101, in map_httpcore_exceptions\n yield\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpx/_transports/default.py\", line 250, in handle_request\n resp = self._pool.handle_request(req)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py\", line 256, in handle_request\n raise exc from None\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py\", line 236, in handle_request\n response = connection.handle_request(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpcore/_sync/connection.py\", line 103, in handle_request\n return self._connection.handle_request(request)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpcore/_sync/http11.py\", line 136, in handle_request\n raise exc\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpcore/_sync/http11.py\", line 106, in handle_request\n ) = self._receive_response_headers(**kwargs)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpcore/_sync/http11.py\", line 177, in _receive_response_headers\n event = self._receive_event(timeout=timeout)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpcore/_sync/http11.py\", line 217, in _receive_event\n data = self._network_stream.read(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpcore/_backends/sync.py\", line 126, in read\n with map_exceptions(exc_map):\n File \"/Users/sam.brenner/.pyenv/versions/3.10.13/lib/python3.10/contextlib.py\", line 153, in __exit__\n self.gen.throw(typ, value, traceback)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpcore/_exceptions.py\", line 14, in map_exceptions\n raise to_exc(exc) from exc\nhttpcore.ReadTimeout: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpx/_client.py\", line 914, in send\n response = self._send_handling_auth(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpx/_client.py\", line 942, in _send_handling_auth\n response = self._send_handling_redirects(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpx/_client.py\", line 979, in _send_handling_redirects\n response = self._send_single_request(request)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpx/_client.py\", line 1014, in _send_single_request\n response = transport.handle_request(request)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpx/_transports/default.py\", line 249, in handle_request\n with map_httpcore_exceptions():\n File \"/Users/sam.brenner/.pyenv/versions/3.10.13/lib/python3.10/contextlib.py\", line 153, in __exit__\n self.gen.throw(typ, value, traceback)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/httpx/_transports/default.py\", line 118, in map_httpcore_exceptions\n raise mapped_exc(message) from exc\nhttpx.ReadTimeout: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/Users/sam.brenner/dd/dd-trace-py/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 152, in __next__\n chunk = self._self_stream_iter.__next__()\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py\", line 249, in stream\n raise e\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/langchain_core/language_models/chat_models.py\", line 229, in stream\n for chunk in self._stream(messages, stop=stop, **kwargs):\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/langchain_openai/chat_models/base.py\", line 480, in _stream\n with self.client.create(messages=message_dicts, **params) as response:\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/openai/resources/chat/completions/completions.py\", line 1147, in create\n return self._post(\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/Users/sam.brenner/dd/dd-trace-py/.riot/venv_py31013_1d20b7813b162e46/lib/python3.10/site-packages/openai/_base_client.py\", line 1000, in request\n raise APITimeoutError(request=request) from err\nopenai.APITimeoutError: Request timed out.\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1092, in __call__\n return self._mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1096, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1151, in _execute_mock_call\n raise effect\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1092, in __call__\n return self._mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1096, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1151, in _execute_mock_call\n raise effect\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1092, in __call__\n return self._mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1096, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1151, in _execute_mock_call\n raise effect\nhttpx.ReadTimeout: Request timed out.\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 153, in __next__\n chunk = self._self_stream_iter.__next__()\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/chat_models.py\", line 249, in stream\n raise e\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/chat_models.py\", line 229, in stream\n for chunk in self._stream(messages, stop=stop, **kwargs):\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_openai/chat_models/base.py\", line 480, in _stream\n with self.client.create(messages=message_dicts, **params) as response:\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/resources/chat/completions/completions.py\", line 1147, in create\n return self._post(\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 1000, in request\n raise APITimeoutError(request=request) from err\nopenai.APITimeoutError: Request timed out.\n", "error.type": "openai.APITimeoutError", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True", "language": "python", - "runtime-id": "a88172c22f794f34aef48ae5702559f7" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 25191 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 1359034000, - "start": 1761575521237281000 + "duration": 1279680667, + "start": 1776175454128555211 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json index 1f60a8950e0..f1ef78c2c20 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.stream": "True", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 14331000, - "start": 1752500688341868000 + "duration": 72252167, + "start": 1776175456543347545 }, { "name": "langchain.request", @@ -35,13 +37,14 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-4o", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 12013000, - "start": 1752500688343728000 + "duration": 67557792, + "start": 1776175456546614420 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json index 1f40225001a..d70707eb42e 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "687509d000000000", + "_dd.p.tid": "69de496000000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "langchain.request.stream": "True", "language": "python", - "runtime-id": "0e0fcbcf2970484e9ac7faed7e74ab0e" + "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23889 + "_sampling_priority_v1": 1.0, + "process_id": 69535.0 }, - "duration": 4080000, - "start": 1752500688815088000 + "duration": 39536875, + "start": 1776175456135080253 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json index 933badbe9f1..5064eb922ac 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json @@ -10,21 +10,23 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68d5981300000000", + "_dd.p.tid": "69de49c500000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "bf8a7acd47104e9c91f27c935c382388" + "runtime-id": "7dc4cd5b529f415b831ffb034ebc6ed5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83273 + "_sampling_priority_v1": 1.0, + "process_id": 70110.0 }, - "duration": 182838000, - "start": 1758828563436609000 + "duration": 4818417, + "start": 1776175557045695092 }], [ { @@ -38,20 +40,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68d5981300000000", + "_dd.p.tid": "69de49c500000000", + "_dd.svc_src": "tests.contrib.langchain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.provider": "inmemoryvectorstore", "language": "python", - "runtime-id": "bf8a7acd47104e9c91f27c935c382388" + "runtime-id": "7dc4cd5b529f415b831ffb034ebc6ed5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83273 + "_sampling_priority_v1": 1.0, + "process_id": 70110.0 }, - "duration": 7575000, - "start": 1758828563621140000 + "duration": 3843209, + "start": 1776175557051219050 }, { "name": "langchain.request", @@ -63,12 +67,13 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 6078000, - "start": 1758828563621280000 + "duration": 3322541, + "start": 1776175557051320509 }]] From 02ae8d1b2e490b7666dbba0cefde8848ea6275b3 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 07:34:19 -0700 Subject: [PATCH 010/114] update pytest snapshots --- ...ot.test_pytest_will_include_lines_pct.json | 179 -------------- ...ot.test_pytest_with_ddtrace_patch_all.json | 220 ------------------ ...ont_include_lines_pct_if_report_empty.json | 178 -------------- ...v2.test_pytest_will_include_lines_pct.json | 110 +++++---- ...v2.test_pytest_with_ddtrace_patch_all.json | 130 ++++++----- ...ont_include_lines_pct_if_report_empty.json | 110 +++++---- ...ont_include_lines_pct_if_report_empty.json | 174 +++++++------- ...t_pytest_xdist_will_include_lines_pct.json | 132 ++++++----- ...t_pytest_xdist_with_ddtrace_patch_all.json | 152 ++++++------ ...ont_include_lines_pct_if_report_empty.json | 132 ++++++----- 10 files changed, 505 insertions(+), 1012 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_will_include_lines_pct.json delete mode 100644 tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_with_ddtrace_patch_all.json delete mode 100644 tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_wont_include_lines_pct_if_report_empty.json diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_will_include_lines_pct.json b/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_will_include_lines_pct.json deleted file mode 100644 index 5f08f928066..00000000000 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_will_include_lines_pct.json +++ /dev/null @@ -1,179 +0,0 @@ -[[ - { - "name": "pytest.test_session", - "service": "pytest", - "resource": "pytest.test_session", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "test", - "error": 0, - "meta": { - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e197dd00000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime-id": "b50f79f79b3d4eacaf0ccc096f6a96ea", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.code_coverage.enabled": "false", - "test.command": "pytest --ddtrace", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.itr.tests_skipping.enabled": "false", - "test.status": "pass", - "test_session_id": "7417861141080391854", - "type": "test_session_end" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 71469, - "test.code_coverage.lines_pct": 60.0 - }, - "duration": 44715041, - "start": 1726060509947414008 - }, - { - "name": "pytest.test_module", - "service": "pytest", - "resource": "pytest.test_module", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "test", - "error": 0, - "meta": { - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e197dd00000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.code_coverage.enabled": "false", - "test.command": "pytest --ddtrace", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.itr.tests_skipping.enabled": "false", - "test.module": "", - "test.module_path": "", - "test.status": "pass", - "test_module_id": "771411068222107181", - "test_session_id": "7417861141080391854", - "type": "test_module_end" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 - }, - "duration": 6262667, - "start": 1726060509981952674 - }, - { - "name": "pytest.test_suite", - "service": "pytest", - "resource": "pytest.test_suite", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "test", - "error": 0, - "meta": { - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e197dd00000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.command": "pytest --ddtrace", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.module": "", - "test.module_path": "", - "test.status": "pass", - "test.suite": "test_tools.py", - "test_module_id": "771411068222107181", - "test_session_id": "7417861141080391854", - "test_suite_id": "16264083177024832835", - "type": "test_suite_end" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 - }, - "duration": 5696208, - "start": 1726060509982098841 - }], -[ - { - "name": "pytest.test", - "service": "pytest", - "resource": "test_tools.py::test_add_two_number_list", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "test", - "error": 0, - "meta": { - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e197dd00000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime-id": "b50f79f79b3d4eacaf0ccc096f6a96ea", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.command": "pytest --ddtrace", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.module": "", - "test.module_path": "", - "test.name": "test_add_two_number_list", - "test.source.file": "test_tools.py", - "test.status": "pass", - "test.suite": "test_tools.py", - "test.type": "test", - "test_module_id": "771411068222107181", - "test_session_id": "7417861141080391854", - "test_suite_id": "16264083177024832835", - "type": "test" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 71469, - "test.source.end": 9, - "test.source.start": 3 - }, - "duration": 6130125, - "start": 1726060509982148216 - }]] diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_with_ddtrace_patch_all.json b/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_with_ddtrace_patch_all.json deleted file mode 100644 index 7494ccb1cfe..00000000000 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_with_ddtrace_patch_all.json +++ /dev/null @@ -1,220 +0,0 @@ -[[ - { - "name": "pytest.test", - "service": "pytest", - "resource": "test_call_httpx.py::test_call_urllib", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "test", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e19f8c00000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime-id": "8e04804db994448bbab8b9b4263446ff", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.command": "pytest --ddtrace --ddtrace-patch-all", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.module": "", - "test.module_path": "", - "test.name": "test_call_urllib", - "test.source.file": "test_call_httpx.py", - "test.status": "pass", - "test.suite": "test_call_httpx.py", - "test.type": "test", - "test_module_id": "5126852464118792457", - "test_session_id": "3750450666035619592", - "test_suite_id": "9780825383426040650", - "type": "test" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 79574, - "test.source.end": 6, - "test.source.start": 3 - }, - "duration": 370248042, - "start": 1726062476357929543 - }, - { - "name": "http.request", - "service": "pytest", - "resource": "http.request", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "http", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e19f8c00000000", - "component": "httpx", - "http.method": "GET", - "http.status_code": "404", - "http.url": "http://localhost:9126/bad_path.cgi", - "http.useragent": "python-httpx/0.27.0", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "out.host": "localhost", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.py.partial_flush": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 - }, - "duration": 7947750, - "start": 1726062476643921918 - }], -[ - { - "name": "pytest.test_session", - "service": "pytest", - "resource": "pytest.test_session", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "test", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e19f8c00000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime-id": "8e04804db994448bbab8b9b4263446ff", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.code_coverage.enabled": "false", - "test.command": "pytest --ddtrace --ddtrace-patch-all", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.itr.tests_skipping.enabled": "false", - "test.status": "pass", - "test_session_id": "3750450666035619592", - "type": "test_session_end" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 79574 - }, - "duration": 474807251, - "start": 1726062476253951084 - }, - { - "name": "pytest.test_module", - "service": "pytest", - "resource": "pytest.test_module", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "test", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e19f8c00000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.code_coverage.enabled": "false", - "test.command": "pytest --ddtrace --ddtrace-patch-all", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.itr.tests_skipping.enabled": "false", - "test.module": "", - "test.module_path": "", - "test.status": "pass", - "test_module_id": "5126852464118792457", - "test_session_id": "3750450666035619592", - "type": "test_module_end" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 - }, - "duration": 370334709, - "start": 1726062476357806501 - }, - { - "name": "pytest.test_suite", - "service": "pytest", - "resource": "pytest.test_suite", - "trace_id": 1, - "span_id": 3, - "parent_id": 2, - "type": "test", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e19f8c00000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.command": "pytest --ddtrace --ddtrace-patch-all", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.module": "", - "test.module_path": "", - "test.status": "pass", - "test.suite": "test_call_httpx.py", - "test_module_id": "5126852464118792457", - "test_session_id": "3750450666035619592", - "test_suite_id": "9780825383426040650", - "type": "test_suite_end" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 - }, - "duration": 370127167, - "start": 1726062476357889334 - }]] diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_wont_include_lines_pct_if_report_empty.json b/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_wont_include_lines_pct_if_report_empty.json deleted file mode 100644 index e74ec35e8f0..00000000000 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot.test_pytest_wont_include_lines_pct_if_report_empty.json +++ /dev/null @@ -1,178 +0,0 @@ -[[ - { - "name": "pytest.test_session", - "service": "pytest", - "resource": "pytest.test_session", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "test", - "error": 0, - "meta": { - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e197d900000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime-id": "2719f742ba314c5296bbda409a341821", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.code_coverage.enabled": "false", - "test.command": "pytest --ddtrace", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.itr.tests_skipping.enabled": "false", - "test.status": "pass", - "test_session_id": "6781934190516221938", - "type": "test_session_end" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 71439 - }, - "duration": 52953708, - "start": 1726060505193420464 - }, - { - "name": "pytest.test_module", - "service": "pytest", - "resource": "pytest.test_module", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "test", - "error": 0, - "meta": { - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e197d900000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.code_coverage.enabled": "false", - "test.command": "pytest --ddtrace", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.itr.tests_skipping.enabled": "false", - "test.module": "", - "test.module_path": "", - "test.status": "pass", - "test_module_id": "650202335184179289", - "test_session_id": "6781934190516221938", - "type": "test_module_end" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 - }, - "duration": 8698875, - "start": 1726060505234756672 - }, - { - "name": "pytest.test_suite", - "service": "pytest", - "resource": "pytest.test_suite", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "test", - "error": 0, - "meta": { - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e197d900000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.command": "pytest --ddtrace", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.module": "", - "test.module_path": "", - "test.status": "pass", - "test.suite": "test_tools.py", - "test_module_id": "650202335184179289", - "test_session_id": "6781934190516221938", - "test_suite_id": "2834491282905356574", - "type": "test_suite_end" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 - }, - "duration": 7917375, - "start": 1726060505234965380 - }], -[ - { - "name": "pytest.test", - "service": "pytest", - "resource": "test_tools.py::test_add_two_number_list", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "test", - "error": 0, - "meta": { - "_dd.origin": "ciapp-test", - "_dd.p.dm": "-0", - "_dd.p.tid": "66e197d900000000", - "component": "pytest", - "language": "python", - "library_version": "2.13.0.dev177+g25e628f0e.d20240910", - "os.architecture": "aarch64", - "os.platform": "Linux", - "os.version": "6.6.12-linuxkit", - "runtime-id": "2719f742ba314c5296bbda409a341821", - "runtime.name": "CPython", - "runtime.version": "3.11.9", - "span.kind": "test", - "test.command": "pytest --ddtrace", - "test.framework": "pytest", - "test.framework_version": "6.2.5", - "test.module": "", - "test.module_path": "", - "test.name": "test_add_two_number_list", - "test.source.file": "test_tools.py", - "test.status": "pass", - "test.suite": "test_tools.py", - "test.type": "test", - "test_module_id": "650202335184179289", - "test_session_id": "6781934190516221938", - "test_suite_id": "2834491282905356574", - "type": "test" - }, - "metrics": { - "_dd.py.partial_flush": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 71439, - "test.source.end": 9, - "test.source.start": 3 - }, - "duration": 8487291, - "start": 1726060505235055589 - }]] diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_will_include_lines_pct.json b/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_will_include_lines_pct.json index 762488157b5..e92c184613b 100644 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_will_include_lines_pct.json +++ b/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_will_include_lines_pct.json @@ -11,21 +11,23 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770a00000000", + "_dd.p.tid": "69de503600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "cb2348822a0142f7923918d45063d5d0", + "os.version": "6.12.72-linuxkit", + "runtime-id": "d5a043c770d24a5cab18a5dc9b9fdd02", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.name": "test_add_two_number_list", @@ -33,21 +35,21 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "5787288656364304641", - "test_session_id": "5197474445235026729", - "test_suite_id": "8497613065864877119", + "test_module_id": "6348820756120511179", + "test_session_id": "8216966728202635764", + "test_suite_id": "9380280889635144900", "type": "test" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4189, - "test.source.end": 9, - "test.source.start": 3 + "_sampling_priority_v1": 1.0, + "process_id": 77641.0, + "test.source.end": 9.0, + "test.source.start": 3.0 }, - "duration": 1569042, - "start": 1760458506005108126 + "duration": 1939286, + "start": 1776177206470779050 }], [ { @@ -62,34 +64,36 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770900000000", + "_dd.p.tid": "69de503600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "cb2348822a0142f7923918d45063d5d0", + "os.version": "6.12.72-linuxkit", + "runtime-id": "d5a043c770d24a5cab18a5dc9b9fdd02", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "5197474445235026729", + "test_session_id": "8216966728202635764", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4189 + "_sampling_priority_v1": 1.0, + "process_id": 77641.0 }, - "duration": 30965084, - "start": 1760458505977856084 + "duration": 42304835, + "start": 1776177206432372925 }, { "name": "pytest.test_module", @@ -103,35 +107,37 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770900000000", + "_dd.p.tid": "69de503600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "5787288656364304641", - "test_session_id": "5197474445235026729", + "test_module_id": "6348820756120511179", + "test_session_id": "8216966728202635764", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 2606333, - "start": 1760458506004979543 + "duration": 3268076, + "start": 1776177206470593300 }, { "name": "pytest.test_suite", @@ -145,33 +151,35 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770900000000", + "_dd.p.tid": "69de503600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "5787288656364304641", - "test_session_id": "5197474445235026729", - "test_suite_id": "8497613065864877119", + "test_module_id": "6348820756120511179", + "test_session_id": "8216966728202635764", + "test_suite_id": "9380280889635144900", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 2406917, - "start": 1760458506005054584 + "duration": 2874640, + "start": 1776177206470719216 }]] diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_with_ddtrace_patch_all.json b/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_with_ddtrace_patch_all.json index 34d9e14df60..34e7a65e438 100644 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_with_ddtrace_patch_all.json +++ b/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_with_ddtrace_patch_all.json @@ -12,21 +12,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770800000000", + "_dd.p.tid": "69de503400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "6ef2136416304f6c8437cb26acb8ba92", + "os.version": "6.12.72-linuxkit", + "runtime-id": "cdbfeb271a1c46ca94f42e7245a8c843", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace --ddtrace-patch-all", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.name": "test_call_urllib", @@ -34,21 +36,21 @@ "test.status": "pass", "test.suite": "test_call_httpx.py", "test.type": "test", - "test_module_id": "10663780114697763877", - "test_session_id": "18256432183649260099", - "test_suite_id": "1554933753970109941", + "test_module_id": "15460983224260797337", + "test_session_id": "15967626867859054362", + "test_suite_id": "13040451051758751471", "type": "test" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4160, - "test.source.end": 6, - "test.source.start": 3 + "_sampling_priority_v1": 1.0, + "process_id": 77605.0, + "test.source.end": 6.0, + "test.source.start": 3.0 }, - "duration": 51312875, - "start": 1760458504689971459 + "duration": 24029827, + "start": 1776177204545189757 }, { "name": "http.request", @@ -63,30 +65,32 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770800000000", + "_dd.p.tid": "69de503400000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "httpx", "http.method": "GET", "http.status_code": "404", "http.url": "http://localhost:9126/bad_path.cgi", "http.useragent": "python-httpx/0.27.2", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "out.host": "localhost", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.py.partial_flush": 1, + "_dd.measured": 1.0, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 2281958, - "start": 1760458504724846917 + "duration": 2575958, + "start": 1776177204565735674 }], [ { @@ -102,34 +106,36 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770800000000", + "_dd.p.tid": "69de503400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "6ef2136416304f6c8437cb26acb8ba92", + "os.version": "6.12.72-linuxkit", + "runtime-id": "cdbfeb271a1c46ca94f42e7245a8c843", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "18256432183649260099", + "test_session_id": "15967626867859054362", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4160 + "_sampling_priority_v1": 1.0, + "process_id": 77605.0 }, - "duration": 125511042, - "start": 1760458504617357250 + "duration": 104631085, + "start": 1776177204466581715 }, { "name": "pytest.test_module", @@ -144,35 +150,37 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770800000000", + "_dd.p.tid": "69de503400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "10663780114697763877", - "test_session_id": "18256432183649260099", + "test_module_id": "15460983224260797337", + "test_session_id": "15967626867859054362", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 52429459, - "start": 1760458504689889625 + "duration": 25353175, + "start": 1776177204545067049 }, { "name": "pytest.test_suite", @@ -187,33 +195,35 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770800000000", + "_dd.p.tid": "69de503400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace --ddtrace-patch-all", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_call_httpx.py", - "test_module_id": "10663780114697763877", - "test_session_id": "18256432183649260099", - "test_suite_id": "1554933753970109941", + "test_module_id": "15460983224260797337", + "test_session_id": "15967626867859054362", + "test_suite_id": "13040451051758751471", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 52295791, - "start": 1760458504689944084 + "duration": 24438033, + "start": 1776177204545151215 }]] diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_wont_include_lines_pct_if_report_empty.json b/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_wont_include_lines_pct_if_report_empty.json index f9fb716c10f..da6900c673b 100644 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_wont_include_lines_pct_if_report_empty.json +++ b/tests/snapshots/tests.contrib.pytest.test_pytest_snapshot_v2.test_pytest_wont_include_lines_pct_if_report_empty.json @@ -11,21 +11,23 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770b00000000", + "_dd.p.tid": "69de503800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "30d76c9705c647c8a1733e4305413e1b", + "os.version": "6.12.72-linuxkit", + "runtime-id": "25eb5568c203461f96d66b10a322c9cf", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.name": "test_add_two_number_list", @@ -33,21 +35,21 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "6622843664406809129", - "test_session_id": "6989317900171386036", - "test_suite_id": "1428537298393947744", + "test_module_id": "5212724317568122153", + "test_session_id": "11913788584578306778", + "test_suite_id": "17709703644752225537", "type": "test" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4227, - "test.source.end": 9, - "test.source.start": 3 + "_sampling_priority_v1": 1.0, + "process_id": 77682.0, + "test.source.end": 9.0, + "test.source.start": 3.0 }, - "duration": 1722042, - "start": 1760458507198934918 + "duration": 1332075, + "start": 1776177208459533717 }], [ { @@ -62,34 +64,36 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770b00000000", + "_dd.p.tid": "69de503800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "30d76c9705c647c8a1733e4305413e1b", + "os.version": "6.12.72-linuxkit", + "runtime-id": "25eb5568c203461f96d66b10a322c9cf", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "6989317900171386036", + "test_session_id": "11913788584578306778", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4227 + "_sampling_priority_v1": 1.0, + "process_id": 77682.0 }, - "duration": 31199167, - "start": 1760458507171551960 + "duration": 41406955, + "start": 1776177208421149717 }, { "name": "pytest.test_module", @@ -103,35 +107,37 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770b00000000", + "_dd.p.tid": "69de503800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "6622843664406809129", - "test_session_id": "6989317900171386036", + "test_module_id": "5212724317568122153", + "test_session_id": "11913788584578306778", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 2905250, - "start": 1760458507198758168 + "duration": 2451493, + "start": 1776177208459385051 }, { "name": "pytest.test_suite", @@ -145,33 +151,35 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770b00000000", + "_dd.p.tid": "69de503800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "6622843664406809129", - "test_session_id": "6989317900171386036", - "test_suite_id": "1428537298393947744", + "test_module_id": "5212724317568122153", + "test_session_id": "11913788584578306778", + "test_suite_id": "17709703644752225537", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 2665875, - "start": 1760458507198864960 + "duration": 2186695, + "start": 1776177208459486009 }]] diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json b/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json index d32cb9749f9..27643a743ca 100644 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json +++ b/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json @@ -11,40 +11,42 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee771000000000", + "_dd.p.tid": "69de502500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "80b099f1575a4514aed2de7f87c7cb99", + "os.version": "6.12.72-linuxkit", + "runtime-id": "95f79f5579224f019ecc129955602024", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "1389032281080509063", + "test_session_id": "9633257534369872035", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4370 + "_sampling_priority_v1": 1.0, + "process_id": 76690.0 }, - "duration": 1261112501, - "start": 1760458512032437462 + "duration": 2667557413, + "start": 1776177189896165083 }], [ { "name": "pytest.test", "service": "pytest", - "resource": "test_add_two_number_list", + "resource": "test_mult_two_number_list", "trace_id": 1, "span_id": 1, "parent_id": 0, @@ -54,43 +56,45 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee771100000000", + "_dd.p.tid": "69de502700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "20e70db54ab14a1093d781b6df2dec89", + "os.version": "6.12.72-linuxkit", + "runtime-id": "8065ed885640430986d4cbcf4ff38e9d", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 2", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", - "test.name": "test_add_two_number_list", + "test.name": "test_mult_two_number_list", "test.source.file": "test_tools.py", "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "173168677235269901", - "test_session_id": "853194774697412", - "test_suite_id": "9971671978987799871", + "test_module_id": "16490632687500952906", + "test_session_id": "888256888118480765", + "test_suite_id": "6216374907633623639", "type": "test" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4388, - "test.source.end": 10, - "test.source.start": 4 + "_sampling_priority_v1": 1.0, + "process_id": 76713.0, + "test.source.end": 17.0, + "test.source.start": 11.0 }, - "duration": 950584, - "start": 1760458513005180879 + "duration": 1510559, + "start": 1776177191218776417 }], [ { @@ -99,40 +103,42 @@ "resource": "pytest.test_session", "trace_id": 2, "span_id": 1, - "parent_id": 1389032281080509063, + "parent_id": 9633257534369872035, "type": "test", "error": 0, "meta": { "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "d0930ae77f73463cb27ba2982bc6f3b6", + "os.version": "6.12.72-linuxkit", + "runtime-id": "ccc5df9f3fc54e78bce5b2c6a8f8761a", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "8695493871626420210", + "test_session_id": "13047203632633842545", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4397 + "_sampling_priority_v1": 1.0, + "process_id": 76705.0 }, - "duration": 15712417, - "start": 1760458512991495129 + "duration": 402212041, + "start": 1776177190817178167 }, { "name": "pytest.test_module", @@ -147,34 +153,36 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "9944481942432211778", - "test_session_id": "8695493871626420210", + "test_module_id": "11595045875935079919", + "test_session_id": "13047203632633842545", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 1473417, - "start": 1760458513005340046 + "duration": 3027241, + "start": 1776177191215743959 }, { "name": "pytest.test_suite", @@ -189,40 +197,42 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "9944481942432211778", - "test_session_id": "8695493871626420210", - "test_suite_id": "9108696088708187219", + "test_module_id": "11595045875935079919", + "test_session_id": "13047203632633842545", + "test_suite_id": "5108097284704054213", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 1366958, - "start": 1760458513005373588 + "duration": 2799708, + "start": 1776177191215824292 }], [ { "name": "pytest.test", "service": "pytest", - "resource": "test_mult_two_number_list", + "resource": "test_add_two_number_list", "trace_id": 3, "span_id": 1, "parent_id": 0, @@ -232,41 +242,43 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee771100000000", + "_dd.p.tid": "69de502700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "d0930ae77f73463cb27ba2982bc6f3b6", + "os.version": "6.12.72-linuxkit", + "runtime-id": "ccc5df9f3fc54e78bce5b2c6a8f8761a", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 2", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", - "test.name": "test_mult_two_number_list", + "test.name": "test_add_two_number_list", "test.source.file": "test_tools.py", "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "9944481942432211778", - "test_session_id": "8695493871626420210", - "test_suite_id": "9108696088708187219", + "test_module_id": "11595045875935079919", + "test_session_id": "13047203632633842545", + "test_suite_id": "5108097284704054213", "type": "test" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4397, - "test.source.end": 17, - "test.source.start": 11 + "_sampling_priority_v1": 1.0, + "process_id": 76705.0, + "test.source.end": 10.0, + "test.source.start": 4.0 }, - "duration": 826916, - "start": 1760458513005397463 + "duration": 1263325, + "start": 1776177191215881251 }]] diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_will_include_lines_pct.json b/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_will_include_lines_pct.json index c6e400b94d9..cb020608e05 100644 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_will_include_lines_pct.json +++ b/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_will_include_lines_pct.json @@ -11,34 +11,36 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770e00000000", + "_dd.p.tid": "69de502e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "f9ef79d166034270bc6c6bb618e9aa9c", + "os.version": "6.12.72-linuxkit", + "runtime-id": "e92d1a1268af4c8b8975e396981563eb", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "2976948221597404554", + "test_session_id": "12877291334805720320", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4309 + "_sampling_priority_v1": 1.0, + "process_id": 76822.0 }, - "duration": 855671126, - "start": 1760458510034385586 + "duration": 1612022244, + "start": 1776177198196637212 }], [ { @@ -54,21 +56,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770e00000000", + "_dd.p.tid": "69de502e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_will_include_lines_pct0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "0dad1f2a9e1d483ca69ce94984d97cca", + "os.version": "6.12.72-linuxkit", + "runtime-id": "bdf5bdc5057b4dd9a866a31dfbfc4763", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 1", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.name": "test_add_two_number_list", @@ -76,21 +80,21 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "3083840897131055680", - "test_session_id": "4264793195312130133", - "test_suite_id": "13262900968600633670", + "test_module_id": "4670862076379346493", + "test_session_id": "15250501008584437651", + "test_suite_id": "4205044467806995856", "type": "test" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4327, - "test.source.end": 9, - "test.source.start": 3 + "_sampling_priority_v1": 1.0, + "process_id": 76837.0, + "test.source.end": 9.0, + "test.source.start": 3.0 }, - "duration": 712417, - "start": 1760458510618864920 + "duration": 1510694, + "start": 1776177198868417754 }], [ { @@ -99,40 +103,42 @@ "resource": "pytest.test_session", "trace_id": 2, "span_id": 1, - "parent_id": 2976948221597404554, + "parent_id": 12877291334805720320, "type": "test", "error": 0, "meta": { "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_will_include_lines_pct0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "0dad1f2a9e1d483ca69ce94984d97cca", + "os.version": "6.12.72-linuxkit", + "runtime-id": "bdf5bdc5057b4dd9a866a31dfbfc4763", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "4264793195312130133", + "test_session_id": "15250501008584437651", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4327 + "_sampling_priority_v1": 1.0, + "process_id": 76837.0 }, - "duration": 16246084, - "start": 1760458510604370003 + "duration": 33440684, + "start": 1776177198838965588 }, { "name": "pytest.test_module", @@ -147,34 +153,36 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_will_include_lines_pct0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "3083840897131055680", - "test_session_id": "4264793195312130133", + "test_module_id": "4670862076379346493", + "test_session_id": "15250501008584437651", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 1427750, - "start": 1760458510618804378 + "duration": 3261419, + "start": 1776177198868292629 }, { "name": "pytest.test_suite", @@ -189,32 +197,34 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_will_include_lines_pct0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "3083840897131055680", - "test_session_id": "4264793195312130133", - "test_suite_id": "13262900968600633670", + "test_module_id": "4670862076379346493", + "test_session_id": "15250501008584437651", + "test_suite_id": "4205044467806995856", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 1309125, - "start": 1760458510618841587 + "duration": 3073166, + "start": 1776177198868368754 }]] diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_with_ddtrace_patch_all.json b/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_with_ddtrace_patch_all.json index 6df1436eaeb..1e0028374a8 100644 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_with_ddtrace_patch_all.json +++ b/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_with_ddtrace_patch_all.json @@ -12,34 +12,36 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770c00000000", + "_dd.p.tid": "69de502a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "3a617999e464444b906803b1b6dd1c75", + "os.version": "6.12.72-linuxkit", + "runtime-id": "032c7ba76147432eb1e746c3a68c57b7", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "12387664217212196463", + "test_session_id": "9980389457937571483", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4265 + "_sampling_priority_v1": 1.0, + "process_id": 76769.0 }, - "duration": 861000667, - "start": 1760458508009509252 + "duration": 1832239933, + "start": 1776177194440020419 }], [ { @@ -55,21 +57,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770c00000000", + "_dd.p.tid": "69de502b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "c2daffc9e5514018850e1f9ae7e1701a", + "os.version": "6.12.72-linuxkit", + "runtime-id": "7eca189a6ad646ec82ce73b08a0f668c", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.name": "test_call_urllib", @@ -77,21 +81,21 @@ "test.status": "pass", "test.suite": "test_call_httpx.py", "test.type": "test", - "test_module_id": "5317374273471404939", - "test_session_id": "4968525827740098646", - "test_suite_id": "3904531433734666689", + "test_module_id": "8878687373245346010", + "test_session_id": "2839752035352363606", + "test_suite_id": "4762121404900660697", "type": "test" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4272, - "test.source.end": 6, - "test.source.start": 3 + "_sampling_priority_v1": 1.0, + "process_id": 76779.0, + "test.source.end": 6.0, + "test.source.start": 3.0 }, - "duration": 46093208, - "start": 1760458508571889461 + "duration": 27106696, + "start": 1776177195067783544 }, { "name": "http.request", @@ -106,30 +110,32 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee770c00000000", + "_dd.p.tid": "69de502b00000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "httpx", "http.method": "GET", "http.status_code": "404", "http.url": "http://localhost:9126/bad_path.cgi", "http.useragent": "python-httpx/0.27.2", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "out.host": "localhost", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.py.partial_flush": 1, + "_dd.measured": 1.0, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 1922459, - "start": 1760458508603296127 + "duration": 2724834, + "start": 1776177195091043294 }], [ { @@ -138,40 +144,42 @@ "resource": "pytest.test_session", "trace_id": 2, "span_id": 1, - "parent_id": 12387664217212196463, + "parent_id": 9980389457937571483, "type": "test", "error": 0, "meta": { "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "c2daffc9e5514018850e1f9ae7e1701a", + "os.version": "6.12.72-linuxkit", + "runtime-id": "7eca189a6ad646ec82ce73b08a0f668c", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "4968525827740098646", + "test_session_id": "2839752035352363606", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4272 + "_sampling_priority_v1": 1.0, + "process_id": 76779.0 }, - "duration": 103874125, - "start": 1760458508515957252 + "duration": 121421280, + "start": 1776177194976642336 }, { "name": "pytest.test_module", @@ -186,34 +194,36 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "5317374273471404939", - "test_session_id": "4968525827740098646", + "test_module_id": "8878687373245346010", + "test_session_id": "2839752035352363606", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 47280792, - "start": 1760458508571828669 + "duration": 29480531, + "start": 1776177195067660461 }, { "name": "pytest.test_suite", @@ -228,32 +238,34 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_call_httpx.py", - "test_module_id": "5317374273471404939", - "test_session_id": "4968525827740098646", - "test_suite_id": "3904531433734666689", + "test_module_id": "8878687373245346010", + "test_session_id": "2839752035352363606", + "test_suite_id": "4762121404900660697", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 47168584, - "start": 1760458508571866127 + "duration": 28301118, + "start": 1776177195067737794 }]] diff --git a/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_wont_include_lines_pct_if_report_empty.json b/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_wont_include_lines_pct_if_report_empty.json index 42783f60021..453953a3d65 100644 --- a/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_wont_include_lines_pct_if_report_empty.json +++ b/tests/snapshots/tests.contrib.pytest.test_pytest_xdist_snapshot.test_pytest_xdist_wont_include_lines_pct_if_report_empty.json @@ -11,34 +11,36 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee771300000000", + "_dd.p.tid": "69de501e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "d4aacbee69c74fca966193eb6a0d80c7", + "os.version": "6.12.72-linuxkit", + "runtime-id": "58b33698703f4e0c9bebcd36a0c4fa1c", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "10956144327723552197", + "test_session_id": "12673065538683099462", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4454 + "_sampling_priority_v1": 1.0, + "process_id": 76630.0 }, - "duration": 855998917, - "start": 1760458515282593547 + "duration": 1780151828, + "start": 1776177182295846636 }], [ { @@ -54,21 +56,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68ee771300000000", + "_dd.p.tid": "69de501e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "c530722bfd3d48589220df198736ceec", + "os.version": "6.12.72-linuxkit", + "runtime-id": "9ab90e085da24ece9cc69539f0d7b791", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 1", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.name": "test_add_two_number_list", @@ -76,21 +80,21 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "13707299624480824359", - "test_session_id": "12308274100161001570", - "test_suite_id": "7906335014675474101", + "test_module_id": "16020769290596724973", + "test_session_id": "2863463567884157914", + "test_suite_id": "11762503872929731162", "type": "test" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4472, - "test.source.end": 9, - "test.source.start": 3 + "_sampling_priority_v1": 1.0, + "process_id": 76645.0, + "test.source.end": 9.0, + "test.source.start": 3.0 }, - "duration": 880333, - "start": 1760458515868330714 + "duration": 1031688, + "start": 1776177182933478136 }], [ { @@ -99,40 +103,42 @@ "resource": "pytest.test_session", "trace_id": 2, "span_id": 1, - "parent_id": 10956144327723552197, + "parent_id": 12673065538683099462, "type": "test", "error": 0, "meta": { "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "c530722bfd3d48589220df198736ceec", + "os.version": "6.12.72-linuxkit", + "runtime-id": "9ab90e085da24ece9cc69539f0d7b791", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "12308274100161001570", + "test_session_id": "2863463567884157914", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4472 + "_sampling_priority_v1": 1.0, + "process_id": 76645.0 }, - "duration": 18220458, - "start": 1760458515852108214 + "duration": 31525170, + "start": 1776177182905639886 }, { "name": "pytest.test_module", @@ -147,34 +153,36 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "13707299624480824359", - "test_session_id": "12308274100161001570", + "test_module_id": "16020769290596724973", + "test_session_id": "2863463567884157914", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 1623709, - "start": 1760458515868265922 + "duration": 2807426, + "start": 1776177182933365886 }, { "name": "pytest.test_suite", @@ -189,32 +197,34 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "3.17.0.dev37+g6f7c158e6.d20251014", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.11", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "8.4.2", + "test.framework_version": "6.2.5", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "13707299624480824359", - "test_session_id": "12308274100161001570", - "test_suite_id": "7906335014675474101", + "test_module_id": "16020769290596724973", + "test_session_id": "2863463567884157914", + "test_suite_id": "11762503872929731162", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 1494375, - "start": 1760458515868304672 + "duration": 2611224, + "start": 1776177182933436136 }]] From a2a100a8c7e0c1ffb791a69db0207178e32e147e Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 07:43:50 -0700 Subject: [PATCH 011/114] some bedrock snapshots missed --- ...b.botocore.test_bedrock.test_converse.json | 30 +++++++++++++++++++ ...ore.test_bedrock.test_converse_stream.json | 30 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse.json create mode 100644 tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse_stream.json diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse.json new file mode 100644 index 00000000000..dad6c8d9f03 --- /dev/null +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse.json @@ -0,0 +1,30 @@ +[[ + { + "name": "bedrock-runtime.command", + "service": "aws.bedrock-runtime", + "resource": "Converse", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.botocore", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de529200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", + "bedrock.request.model": "claude-3-sonnet-20240229-v1:0", + "bedrock.request.model_provider": "anthropic", + "language": "python", + "runtime-id": "7b7decda318349f2a7405f097f98e093" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 82992.0 + }, + "duration": 7587708, + "start": 1776177810824955552 + }]] diff --git a/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse_stream.json b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse_stream.json new file mode 100644 index 00000000000..e956a71c986 --- /dev/null +++ b/tests/snapshots/tests.contrib.botocore.test_bedrock.test_converse_stream.json @@ -0,0 +1,30 @@ +[[ + { + "name": "bedrock-runtime.command", + "service": "aws.bedrock-runtime", + "resource": "ConverseStream", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.botocore", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de529300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", + "bedrock.request.model": "claude-3-sonnet-20240229-v1:0", + "bedrock.request.model_provider": "anthropic", + "language": "python", + "runtime-id": "7b7decda318349f2a7405f097f98e093" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 82992.0 + }, + "duration": 5286250, + "start": 1776177811047263260 + }]] From 6209ca7e38c5816d2098626e825658e89efc1fc9 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 07:50:18 -0700 Subject: [PATCH 012/114] update fastapi snapshots --- ...pi.test_fastapi.test_500_error_raised.json | 13 +- ...api.test_fastapi.test_background_task.json | 32 ++-- ...invalid_path_with_obfuscation_enabled.json | 11 +- ...i.test_long_running_websocket_session.json | 174 ++++++++++-------- ...st_schematization[schema_tuples0]_6_9.json | 22 ++- ...test_schematization[schema_tuples0]_9.json | 31 ++-- ...st_schematization[schema_tuples1]_6_9.json | 22 ++- ...test_schematization[schema_tuples1]_9.json | 31 ++-- ...st_schematization[schema_tuples2]_6_9.json | 22 ++- ...test_schematization[schema_tuples2]_9.json | 31 ++-- ...st_schematization[schema_tuples3]_6_9.json | 28 +-- ...test_schematization[schema_tuples3]_9.json | 39 ++-- ...st_schematization[schema_tuples4]_6_9.json | 28 +-- ...test_schematization[schema_tuples4]_9.json | 39 ++-- ...st_schematization[schema_tuples5]_6_9.json | 22 ++- ...test_schematization[schema_tuples5]_9.json | 31 ++-- ...api.test_fastapi.test_subapp_snapshot.json | 22 ++- ...est_fastapi.test_table_query_snapshot.json | 36 ++-- ...pi.test_fastapi.test_traced_websocket.json | 86 +++++---- ...st_fastapi.test_tracing_in_middleware.json | 25 +-- ...pi.test_websocket_context_propagation.json | 126 +++++++------ ...est_fastapi.test_websocket_only_sends.json | 130 +++++++------ ...websocket_tracing_not_separate_traces.json | 71 +++---- ...socket_tracing_sampling_not_inherited.json | 86 +++++---- 24 files changed, 641 insertions(+), 517 deletions(-) diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_500_error_raised.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_500_error_raised.json index 37f372012fc..c6d49be2e95 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_500_error_raised.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_500_error_raised.json @@ -11,11 +11,12 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d775400000000", + "_dd.p.tid": "69de530100000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "error.message": "Server error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/asgi/middleware.py\", line 466, in __call__\n return await self.app(scope, wrapped_recv, wrapped_send)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/middleware/errors.py\", line 186, in __call__\n raise exc\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/middleware/errors.py\", line 164, in __call__\n await self.app(scope, receive, _send)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/middleware/exceptions.py\", line 63, in __call__\n await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/_exception_handler.py\", line 53, in wrapped_app\n raise exc\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/_exception_handler.py\", line 42, in wrapped_app\n await app(scope, receive, sender)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py\", line 18, in __call__\n await self.app(scope, receive, send)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/routing.py\", line 716, in __call__\n await self.middleware_stack(scope, receive, send)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/routing.py\", line 736, in app\n await route.handle(scope, receive, send)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/routing.py\", line 290, in handle\n await self.app(scope, receive, send)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/fastapi/routing.py\", line 120, in app\n await wrap_app_handling_exceptions(app, request)(scope, receive, send)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/_exception_handler.py\", line 53, in wrapped_app\n raise exc\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/starlette/_exception_handler.py\", line 42, in wrapped_app\n await app(scope, receive, sender)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/fastapi/routing.py\", line 106, in app\n response = await f(request)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/fastapi/routing.py\", line 430, in app\n raw_response = await run_endpoint_function(\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi/lib/python3.9/site-packages/fastapi/routing.py\", line 316, in run_endpoint_function\n return await dependant.call(**values)\n File \"/home/bits/project/tests/contrib/fastapi/app.py\", line 120, in error\n raise RuntimeError(\"Server error\")\nRuntimeError: Server error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/asgi/middleware.py\", line 476, in __call__\n return await self.app(scope, wrapped_recv, wrapped_send)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/starlette/middleware/errors.py\", line 184, in __call__\n raise exc\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/starlette/middleware/errors.py\", line 162, in __call__\n await self.app(scope, receive, _send)\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/starlette/middleware/exceptions.py\", line 75, in __call__\n raise exc\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/starlette/middleware/exceptions.py\", line 64, in __call__\n await self.app(scope, receive, sender)\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py\", line 21, in __call__\n raise e\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py\", line 18, in __call__\n await self.app(scope, receive, send)\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/starlette/routing.py\", line 680, in __call__\n await route.handle(scope, receive, send)\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/starlette/routing.py\", line 275, in handle\n await self.app(scope, receive, send)\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/starlette/routing.py\", line 65, in app\n response = await func(request)\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/fastapi/routing.py\", line 235, in app\n raw_response = await run_endpoint_function(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_httpx0272_pytest-asyncio0211_python-multipart_pytest-randomly_requests_aiofiles_cloudpickle_fastapi~0860_anyio34040/lib/python3.12/site-packages/fastapi/routing.py\", line 161, in run_endpoint_function\n return await dependant.call(**values)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/fastapi/app.py\", line 120, in error\n raise RuntimeError(\"Server error\")\nRuntimeError: Server error\n", "error.type": "builtins.RuntimeError", "http.method": "GET", "http.route": "/500", @@ -24,15 +25,15 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0 + "process_id": 84943.0 }, - "duration": 2016375, - "start": 1771927380028323217 + "duration": 4285250, + "start": 1776177921038353630 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_background_task.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_background_task.json index d7df934aa95..3b818762707 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_background_task.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_background_task.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d773800000000", - "_dd.span_links": "[{\"trace_id\": \"699d7738000000003dc04ee46237a342\", \"span_id\": \"1522fe2ec58c46c2\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de531200000000", + "_dd.span_links": "[{\"trace_id\": \"69de531200000000428252973eaf1842\", \"span_id\": \"bb6f224cb84fb9c8\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.svc_src": "tests.contrib.fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2" + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0 + "process_id": 84943.0 }, - "duration": 2006408292, - "start": 1771927352233844302 + "duration": 2006324612, + "start": 1776177938312550097 }], [ { @@ -37,8 +39,9 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d773800000000", + "_dd.p.tid": "69de531200000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.method": "GET", "http.route": "/asynctask", @@ -47,17 +50,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0 + "process_id": 84943.0 }, - "duration": 10140042, - "start": 1771927352218091093 + "duration": 703250, + "start": 1776177938310717180 }, { "name": "fastapi.serialize_response", @@ -69,8 +72,9 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.fastapi" + "_dd.base_service": "tests.contrib.fastapi", + "_dd.svc_src": "fastapi" }, - "duration": 107792, - "start": 1771927352227329468 + "duration": 42083, + "start": 1776177938311228889 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_invalid_path_with_obfuscation_enabled.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_invalid_path_with_obfuscation_enabled.json index e8088e44965..848a56cd5cc 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_invalid_path_with_obfuscation_enabled.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_invalid_path_with_obfuscation_enabled.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699d775200000000", + "_dd.p.tid": "69de530c00000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpdls23o6p,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "asgi.version": "3.0", "component": "fastapi", "http.method": "GET", @@ -21,15 +22,15 @@ "http.useragent": "python-httpx/0.27.2", "http.version": "1.1", "language": "python", - "runtime-id": "1a3e1f9fc6bb49c893e8c0a6abead38a", + "runtime-id": "72c0d1159dfa43d8a941ae83aad04712", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82380.0 + "process_id": 85209.0 }, - "duration": 1427541, - "start": 1771927378239234842 + "duration": 251167, + "start": 1776177932304813052 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_long_running_websocket_session.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_long_running_websocket_session.json index e81c8c2228c..16bf577f8e9 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_long_running_websocket_session.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_long_running_websocket_session.json @@ -13,12 +13,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d774200000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530a00000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -28,12 +29,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 7.0 }, - "duration": 1007765084, - "start": 1771927362122569709 + "duration": 1007555584, + "start": 1776177930735003635 }, { "name": "websocket.send", @@ -46,9 +47,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "699d774200000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530a00000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -62,8 +64,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 3.0 }, - "duration": 681958, - "start": 1771927363131421043 + "duration": 123333, + "start": 1776177931742756302 }, { "name": "websocket.close", @@ -77,9 +79,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d774200000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530a00000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -91,8 +94,8 @@ "_sampling_priority_v1": 1.0, "websocket.close.code": 1000.0 }, - "duration": 192416, - "start": 1771927363132593418 + "duration": 91708, + "start": 1776177931743010094 }], [ { @@ -109,12 +112,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d774000000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530900000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -124,12 +128,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 1006539459, - "start": 1771927360106566958 + "duration": 1009445750, + "start": 1776177929725114135 }, { "name": "websocket.send", @@ -142,9 +146,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "699d774000000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530900000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -158,8 +163,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 197959, - "start": 1771927361113505083 + "duration": 113542, + "start": 1776177930734766385 }], [ { @@ -176,12 +181,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d774100000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530800000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -191,12 +197,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 1006630001, - "start": 1771927361113997458 + "duration": 1008442167, + "start": 1776177928716191051 }, { "name": "websocket.send", @@ -209,9 +215,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "699d774100000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530800000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -225,8 +232,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 316583, - "start": 1771927362121864834 + "duration": 122583, + "start": 1776177929724863135 }], [ { @@ -243,12 +250,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d773f00000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530700000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -258,12 +266,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 1006613653, - "start": 1771927359098100555 + "duration": 1005315792, + "start": 1776177927710425217 }, { "name": "websocket.send", @@ -276,9 +284,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "699d773f00000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530700000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -292,8 +301,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 360958, - "start": 1771927360105773375 + "duration": 114167, + "start": 1776177928715952092 }], [ { @@ -310,12 +319,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d773e00000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -325,12 +335,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 1003152583, - "start": 1771927358094080305 + "duration": 1005780918, + "start": 1776177926704033216 }, { "name": "websocket.send", @@ -343,9 +353,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "699d773e00000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -359,8 +370,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 199250, - "start": 1771927359097621972 + "duration": 154083, + "start": 1776177927710102967 }], [ { @@ -375,19 +386,20 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d773e00000000", + "_dd.p.tid": "69de530600000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2" + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0 + "process_id": 84943.0 }, - "duration": 422958, - "start": 1771927358089540388 + "duration": 45667, + "start": 1776177926701530508 }], [ { @@ -402,24 +414,25 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d773e00000000", + "_dd.p.tid": "69de530600000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.upgraded": "websocket", "http.url": "ws://testserver/ws", "http.useragent": "testclient", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0 + "process_id": 84943.0 }, - "duration": 3516292, - "start": 1771927358087170513 + "duration": 514667, + "start": 1776177926701212133 }, { "name": "websocket.send", @@ -433,9 +446,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d773e00000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -447,10 +461,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "websocket.message.frames": 1.0, - "websocket.message.length": 26.0 + "websocket.message.length": 27.0 }, - "duration": 671791, - "start": 1771927358091189930 + "duration": 123625, + "start": 1776177926701862841 }], [ { @@ -467,12 +481,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d773e00000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -482,12 +497,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 1078791, - "start": 1771927358092282930 + "duration": 1460750, + "start": 1776177926702115091 }, { "name": "websocket.send", @@ -500,9 +515,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "699d773e00000000", - "_dd.span_links": "[{\"trace_id\": \"699d773e00000000c726b17a1959175f\", \"span_id\": \"a0058379f6663bc9\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000004a6e4011fe07bb1e\", \"span_id\": \"e136c610a3de7ef1\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -516,6 +532,6 @@ "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 174042, - "start": 1771927358093627971 + "duration": 125041, + "start": 1776177926703768175 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples0]_6_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples0]_6_9.json index 02c4b79d64d..65204e4474f 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples0]_6_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples0]_6_9.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699d77f800000000", + "_dd.p.tid": "69de530200000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "fastapi", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "a411f9abe4d142ea94102fcd62d96553", + "runtime-id": "8fa36e09c9374798b0141ad195ce07d1", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 83397.0 + "process_id": 85151.0 }, - "duration": 3183417, - "start": 1771927544828454918 + "duration": 781125, + "start": 1776177922228721048 }, { "name": "fastapi.request", @@ -53,8 +54,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 2060292, - "start": 1771927544829605793 + "duration": 593792, + "start": 1776177922228918339 }, { "name": "fastapi.serialize_response", @@ -66,8 +67,9 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir" + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "fastapi" }, - "duration": 54292, - "start": 1771927544830576085 + "duration": 31333, + "start": 1776177922229361756 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples0]_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples0]_9.json index 116edfc1299..b118cd64801 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples0]_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples0]_9.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d774700000000", + "_dd.p.tid": "69de533e00000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,7 +20,7 @@ "http.useragent": "testclient", "language": "python", "out.host": "testserver", - "runtime-id": "fe88a941fb264b1a9c79e123c7b6d73d", + "runtime-id": "3836f0ef6de848edaaa93edca509dc4c", "span.kind": "client" }, "metrics": { @@ -26,10 +28,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82267.0 + "process_id": 85788.0 }, - "duration": 12938458, - "start": 1771927367924342962 + "duration": 2093167, + "start": 1776177982579180631 }, { "name": "fastapi.request", @@ -42,7 +44,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "699d774700000000", + "_dd.p.tid": "69de533e00000000", "_dd.svc_src": "fastapi", "component": "fastapi", "http.method": "GET", @@ -56,8 +58,8 @@ "metrics": { "_dd.top_level": 1.0 }, - "duration": 7438291, - "start": 1771927367928416212 + "duration": 1225875, + "start": 1776177982579733756 }, { "name": "fastapi.request", @@ -70,7 +72,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "699d774700000000", + "_dd.p.tid": "69de533e00000000", "_dd.svc_src": "fastapi", "component": "fastapi", "http.method": "GET", @@ -80,8 +82,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 6710416, - "start": 1771927367929172462 + "duration": 1008666, + "start": 1776177982579960548 }, { "name": "fastapi.serialize_response", @@ -94,8 +96,9 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "699d774700000000" + "_dd.p.tid": "69de533e00000000", + "_dd.svc_src": "fastapi" }, - "duration": 86667, - "start": 1771927367934621878 + "duration": 28541, + "start": 1776177982580837048 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples1]_6_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples1]_6_9.json index ba099499521..61b840decba 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples1]_6_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples1]_6_9.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699d780700000000", + "_dd.p.tid": "69de530f00000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "fastapi", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "4299ba3623fc4326b4e07dfa2ed05199", + "runtime-id": "cc693eb856894920a5fc9f851c33196e", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 83518.0 + "process_id": 85302.0 }, - "duration": 3267917, - "start": 1771927559507076967 + "duration": 964875, + "start": 1776177935971760804 }, { "name": "fastapi.request", @@ -53,8 +54,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 2079458, - "start": 1771927559508290717 + "duration": 772042, + "start": 1776177935971964554 }, { "name": "fastapi.serialize_response", @@ -66,8 +67,9 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir" + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "fastapi" }, - "duration": 54083, - "start": 1771927559509282967 + "duration": 35458, + "start": 1776177935972552388 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples1]_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples1]_9.json index 8e619763079..35e90ef0d2a 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples1]_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples1]_9.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d774a00000000", + "_dd.p.tid": "69de533a00000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,7 +20,7 @@ "http.useragent": "testclient", "language": "python", "out.host": "testserver", - "runtime-id": "c8228794dc86437fb9e88f150bf3d7e3", + "runtime-id": "e8c080a1193c4f61bb0f7cfeeb78c9be", "span.kind": "client" }, "metrics": { @@ -26,10 +28,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82287.0 + "process_id": 85728.0 }, - "duration": 13316625, - "start": 1771927370343637129 + "duration": 2057625, + "start": 1776177978830534879 }, { "name": "fastapi.request", @@ -42,7 +44,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "699d774a00000000", + "_dd.p.tid": "69de533a00000000", "_dd.svc_src": "fastapi", "component": "fastapi", "http.method": "GET", @@ -56,8 +58,8 @@ "metrics": { "_dd.top_level": 1.0 }, - "duration": 7165125, - "start": 1771927370348292004 + "duration": 1221708, + "start": 1776177978831067963 }, { "name": "fastapi.request", @@ -70,7 +72,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "699d774a00000000", + "_dd.p.tid": "69de533a00000000", "_dd.svc_src": "fastapi", "component": "fastapi", "http.method": "GET", @@ -80,8 +82,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 6608416, - "start": 1771927370348871838 + "duration": 992292, + "start": 1776177978831307046 }, { "name": "fastapi.serialize_response", @@ -94,8 +96,9 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "699d774a00000000" + "_dd.p.tid": "69de533a00000000", + "_dd.svc_src": "fastapi" }, - "duration": 91750, - "start": 1771927370354244129 + "duration": 28875, + "start": 1776177978832159254 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples2]_6_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples2]_6_9.json index 420e2a391e2..2d49fa20f07 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples2]_6_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples2]_6_9.json @@ -10,8 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d77f600000000", + "_dd.p.tid": "69de530300000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "fastapi", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -20,17 +21,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "331b963d5e664369ba85704e4cc76579", + "runtime-id": "92f9fe35bf564ec994e6b5ea771f30d0", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 83379.0 + "process_id": 85164.0 }, - "duration": 3352417, - "start": 1771927542633362959 + "duration": 967375, + "start": 1776177923308003548 }, { "name": "http.server.request", @@ -51,8 +52,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 2141041, - "start": 1771927542634596501 + "duration": 750958, + "start": 1776177923308231673 }, { "name": "fastapi.serialize_response", @@ -63,6 +64,9 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 75417, - "start": 1771927542635675167 + "meta": { + "_dd.svc_src": "fastapi" + }, + "duration": 43292, + "start": 1776177923308788006 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples2]_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples2]_9.json index 3b1282efc27..07c465998f5 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples2]_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples2]_9.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d773c00000000", + "_dd.p.tid": "69de533f00000000", "_dd.peer.service.source": "out.host", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -20,7 +22,7 @@ "language": "python", "out.host": "testserver", "peer.service": "testserver", - "runtime-id": "50b0213f1fd146129ed1fd6560b76f1d", + "runtime-id": "e9255780546f419bb777188755dac4ff", "span.kind": "client" }, "metrics": { @@ -28,10 +30,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82222.0 + "process_id": 85807.0 }, - "duration": 11425958, - "start": 1771927356349957262 + "duration": 2099709, + "start": 1776177983766086798 }, { "name": "http.server.request", @@ -43,7 +45,7 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "699d773c00000000", + "_dd.p.tid": "69de533f00000000", "_dd.svc_src": "fastapi", "component": "fastapi", "http.method": "GET", @@ -54,8 +56,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 6706792, - "start": 1771927356353242137 + "duration": 1229042, + "start": 1776177983766657048 }, { "name": "http.server.request", @@ -67,7 +69,7 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "699d773c00000000", + "_dd.p.tid": "69de533f00000000", "_dd.svc_src": "fastapi", "component": "fastapi", "http.method": "GET", @@ -77,8 +79,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 6169791, - "start": 1771927356353799179 + "duration": 1017500, + "start": 1776177983766876507 }, { "name": "fastapi.serialize_response", @@ -90,8 +92,9 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "699d773c00000000" + "_dd.p.tid": "69de533f00000000", + "_dd.svc_src": "fastapi" }, - "duration": 76875, - "start": 1771927356358805345 + "duration": 30583, + "start": 1776177983767768507 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples3]_6_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples3]_6_9.json index 87fa5426b7b..4ea2390216c 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples3]_6_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples3]_6_9.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65e2cd8e00000000", + "_dd.p.tid": "69de530e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "fastapi", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -19,17 +21,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "3fb91bff7efa47a086063fd5ff7acdcf", + "runtime-id": "b3e61c8a534640a58d4945215323eaef", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 73279 + "_sampling_priority_v1": 1.0, + "process_id": 85285.0 }, - "duration": 551000, - "start": 1709362574567567000 + "duration": 927541, + "start": 1776177934806158804 }, { "name": "fastapi.request", @@ -41,6 +43,7 @@ "type": "web", "error": 0, "meta": { + "_dd.svc_src": "m", "component": "fastapi", "http.method": "GET", "http.status_code": "200", @@ -49,8 +52,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 393000, - "start": 1709362574567733000 + "duration": 732334, + "start": 1776177934806365345 }, { "name": "fastapi.serialize_response", @@ -61,6 +64,9 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 18000, - "start": 1709362574567997000 + "meta": { + "_dd.svc_src": "m" + }, + "duration": 45166, + "start": 1776177934806893304 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples3]_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples3]_9.json index 3665e06bf97..5e2041dc5dd 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples3]_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples3]_9.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65e2cd9f00000000", + "_dd.p.tid": "69de533900000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,18 +20,18 @@ "http.useragent": "testclient", "language": "python", "out.host": "testserver", - "runtime-id": "4dfeb4a929d54f8bbbd770b6b3dec852", + "runtime-id": "65fa55f39f104522ba16352e72ed6e70", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 73376 + "_sampling_priority_v1": 1.0, + "process_id": 85715.0 }, - "duration": 1302000, - "start": 1709362591114145000 + "duration": 2037458, + "start": 1776177977620963629 }, { "name": "fastapi.request", @@ -41,7 +43,8 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "65e2cd9f00000000", + "_dd.p.tid": "69de533900000000", + "_dd.svc_src": "m", "component": "fastapi", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -51,8 +54,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 603000, - "start": 1709362591114542000 + "duration": 1211000, + "start": 1776177977621500629 }, { "name": "fastapi.request", @@ -64,7 +67,8 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "65e2cd9f00000000", + "_dd.p.tid": "69de533900000000", + "_dd.svc_src": "m", "component": "fastapi", "http.method": "GET", "http.status_code": "200", @@ -73,8 +77,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 455000, - "start": 1709362591114695000 + "duration": 1007375, + "start": 1776177977621712587 }, { "name": "fastapi.serialize_response", @@ -86,8 +90,9 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "65e2cd9f00000000" + "_dd.p.tid": "69de533900000000", + "_dd.svc_src": "m" }, - "duration": 19000, - "start": 1709362591115060000 + "duration": 26333, + "start": 1776177977622599087 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples4]_6_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples4]_6_9.json index c40d6283d6e..3f526493221 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples4]_6_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples4]_6_9.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65e2cd9200000000", + "_dd.p.tid": "69de530400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "fastapi", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -19,17 +21,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "23d0d1bd3e1f4b1cb797fc7e8943f9f1", + "runtime-id": "29e425a1a3ae4b5d93cdc87ff4a4e9b0", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 73301 + "_sampling_priority_v1": 1.0, + "process_id": 85177.0 }, - "duration": 548000, - "start": 1709362578710753000 + "duration": 811792, + "start": 1776177924400391757 }, { "name": "fastapi.request", @@ -41,6 +43,7 @@ "type": "web", "error": 0, "meta": { + "_dd.svc_src": "m", "component": "fastapi", "http.method": "GET", "http.status_code": "200", @@ -49,8 +52,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 394000, - "start": 1709362578710915000 + "duration": 618000, + "start": 1776177924400594632 }, { "name": "fastapi.serialize_response", @@ -61,6 +64,9 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 17000, - "start": 1709362578711183000 + "meta": { + "_dd.svc_src": "m" + }, + "duration": 30333, + "start": 1776177924401060507 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples4]_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples4]_9.json index 61a9d5c62bf..7ec77e224bd 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples4]_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples4]_9.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65e2cda400000000", + "_dd.p.tid": "69de533d00000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,18 +20,18 @@ "http.useragent": "testclient", "language": "python", "out.host": "testserver", - "runtime-id": "103bb176ab3d4d838920e605f1de088a", + "runtime-id": "aac45c6da04845b686aaf611781f5c85", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 73420 + "_sampling_priority_v1": 1.0, + "process_id": 85775.0 }, - "duration": 3182000, - "start": 1709362596649036000 + "duration": 2043250, + "start": 1776177981417115422 }, { "name": "fastapi.request", @@ -41,7 +43,8 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "65e2cda400000000", + "_dd.p.tid": "69de533d00000000", + "_dd.svc_src": "m", "component": "fastapi", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -51,8 +54,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 1565000, - "start": 1709362596649814000 + "duration": 1188208, + "start": 1776177981417683339 }, { "name": "fastapi.request", @@ -64,7 +67,8 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "65e2cda400000000", + "_dd.p.tid": "69de533d00000000", + "_dd.svc_src": "m", "component": "fastapi", "http.method": "GET", "http.status_code": "200", @@ -73,8 +77,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 1398000, - "start": 1709362596649987000 + "duration": 978333, + "start": 1776177981417901381 }, { "name": "fastapi.serialize_response", @@ -86,8 +90,9 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "65e2cda400000000" + "_dd.p.tid": "69de533d00000000", + "_dd.svc_src": "m" }, - "duration": 39000, - "start": 1709362596651234000 + "duration": 28000, + "start": 1776177981418758464 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples5]_6_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples5]_6_9.json index 9f34cf8b810..c67f64791ed 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples5]_6_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples5]_6_9.json @@ -10,8 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d780500000000", + "_dd.p.tid": "69de530d00000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "fastapi", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -20,17 +21,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "6c72e1b0966743809f13153ff23afffb", + "runtime-id": "9a5b777e850544b78cbe9150f890d9b4", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 83493.0 + "process_id": 85272.0 }, - "duration": 3134500, - "start": 1771927557262458258 + "duration": 782000, + "start": 1776177933562070345 }, { "name": "http.server.request", @@ -51,8 +52,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 2027459, - "start": 1771927557263589799 + "duration": 601625, + "start": 1776177933562259595 }, { "name": "fastapi.serialize_response", @@ -63,6 +64,9 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 55709, - "start": 1771927557264512424 + "meta": { + "_dd.svc_src": "fastapi" + }, + "duration": 25375, + "start": 1776177933562718095 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples5]_9.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples5]_9.json index bebcd50e343..1d90e13dec9 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples5]_9.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_schematization[schema_tuples5]_9.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d774c00000000", + "_dd.p.tid": "69de533c00000000", "_dd.peer.service.source": "out.host", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -20,7 +22,7 @@ "language": "python", "out.host": "testserver", "peer.service": "testserver", - "runtime-id": "6040bdca223949d19da10da106da6d52", + "runtime-id": "62974152219947ff9947d144674f7ea9", "span.kind": "client" }, "metrics": { @@ -28,10 +30,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82335.0 + "process_id": 85741.0 }, - "duration": 11211209, - "start": 1771927372996031672 + "duration": 2244208, + "start": 1776177980153145130 }, { "name": "http.server.request", @@ -43,7 +45,7 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "699d774c00000000", + "_dd.p.tid": "69de533c00000000", "_dd.svc_src": "fastapi", "component": "fastapi", "http.method": "GET", @@ -54,8 +56,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 6522125, - "start": 1771927372999341922 + "duration": 1268208, + "start": 1776177980153813130 }, { "name": "http.server.request", @@ -67,7 +69,7 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "699d774c00000000", + "_dd.p.tid": "69de533c00000000", "_dd.svc_src": "fastapi", "component": "fastapi", "http.method": "GET", @@ -77,8 +79,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 5986542, - "start": 1771927372999894047 + "duration": 1044250, + "start": 1776177980154045005 }, { "name": "fastapi.serialize_response", @@ -90,8 +92,9 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "699d774c00000000" + "_dd.p.tid": "69de533c00000000", + "_dd.svc_src": "fastapi" }, - "duration": 76083, - "start": 1771927373004774714 + "duration": 28584, + "start": 1776177980154966713 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_subapp_snapshot.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_subapp_snapshot.json index 2ee0ce0fa5d..9a9f60a4afc 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_subapp_snapshot.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_subapp_snapshot.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d774e00000000", + "_dd.p.tid": "69de530000000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.method": "GET", "http.route": "/sub-app/hello/{name}", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0 + "process_id": 84943.0 }, - "duration": 3012083, - "start": 1771927374628586090 + "duration": 2662375, + "start": 1776177920927623630 }, { "name": "fastapi.request", @@ -53,8 +54,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 2294750, - "start": 1771927374629331048 + "duration": 1765583, + "start": 1776177920928540339 }, { "name": "fastapi.serialize_response", @@ -66,8 +67,9 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.fastapi" + "_dd.base_service": "tests.contrib.fastapi", + "_dd.svc_src": "fastapi" }, - "duration": 114209, - "start": 1771927374631213131 + "duration": 86459, + "start": 1776177920929800255 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_table_query_snapshot.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_table_query_snapshot.json index d8f583c4873..423a54b2973 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_table_query_snapshot.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_table_query_snapshot.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d774a00000000", + "_dd.p.tid": "69de530c00000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.method": "POST", "http.route": "/items/", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0 + "process_id": 84943.0 }, - "duration": 4980458, - "start": 1771927370657803588 + "duration": 826458, + "start": 1776177932456317053 }, { "name": "fastapi.serialize_response", @@ -43,10 +44,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.fastapi" + "_dd.base_service": "tests.contrib.fastapi", + "_dd.svc_src": "fastapi" }, - "duration": 1865375, - "start": 1771927370660690588 + "duration": 108750, + "start": 1776177932456916928 }], [ { @@ -61,8 +63,9 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d774a00000000", + "_dd.p.tid": "69de530c00000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.method": "GET", "http.route": "/items/{item_id}", @@ -71,17 +74,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0 + "process_id": 84943.0 }, - "duration": 1678666, - "start": 1771927370665548005 + "duration": 632500, + "start": 1776177932458712761 }, { "name": "fastapi.serialize_response", @@ -93,8 +96,9 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.fastapi" + "_dd.base_service": "tests.contrib.fastapi", + "_dd.svc_src": "fastapi" }, - "duration": 76167, - "start": 1771927370666992463 + "duration": 123541, + "start": 1776177932459054303 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_traced_websocket.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_traced_websocket.json index 9d25008c93d..e84557cf131 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_traced_websocket.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_traced_websocket.json @@ -11,19 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dde300000000", + "_dd.p.tid": "69de530000000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "language": "python", - "runtime-id": "f683e254ff334ebf8da1d0a0e7d09e53" + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 84943.0 }, - "duration": 1109208, - "start": 1772740067936130551 + "duration": 532375, + "start": 1776177920964583505 }], [ { @@ -38,24 +39,25 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dde300000000", + "_dd.p.tid": "69de530000000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.upgraded": "websocket", "http.url": "ws://testserver/ws", "http.useragent": "testclient", "language": "python", - "runtime-id": "f683e254ff334ebf8da1d0a0e7d09e53", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 84943.0 }, - "duration": 15296500, - "start": 1772740067926101593 + "duration": 1162917, + "start": 1776177920964256297 }, { "name": "websocket.send", @@ -69,9 +71,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dde300000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dde300000000eb214d6ba55aa317\", \"span_id\": \"103c297f49588461\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530000000000", + "_dd.span_links": "[{\"trace_id\": \"69de5300000000004bb8068dd831c1ff\", \"span_id\": \"be3d88f216ec90e6\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -83,10 +86,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "websocket.message.frames": 1.0, - "websocket.message.length": 26.0 + "websocket.message.length": 27.0 }, - "duration": 506250, - "start": 1772740067942222843 + "duration": 164166, + "start": 1776177920965567714 }], [ { @@ -103,12 +106,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dde300000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dde300000000eb214d6ba55aa317\", \"span_id\": \"103c297f49588461\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530000000000", + "_dd.span_links": "[{\"trace_id\": \"69de5300000000004bb8068dd831c1ff\", \"span_id\": \"be3d88f216ec90e6\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "f683e254ff334ebf8da1d0a0e7d09e53", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -118,12 +122,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 7.0 }, - "duration": 747333, - "start": 1772740067943364301 + "duration": 551584, + "start": 1776177920965923880 }, { "name": "websocket.send", @@ -136,9 +140,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9dde300000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dde300000000eb214d6ba55aa317\", \"span_id\": \"103c297f49588461\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530000000000", + "_dd.span_links": "[{\"trace_id\": \"69de5300000000004bb8068dd831c1ff\", \"span_id\": \"be3d88f216ec90e6\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -152,8 +157,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 12.0 }, - "duration": 167584, - "start": 1772740067944306134 + "duration": 86167, + "start": 1776177920966584422 }], [ { @@ -170,12 +175,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dde300000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dde300000000eb214d6ba55aa317\", \"span_id\": \"103c297f49588461\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530000000000", + "_dd.span_links": "[{\"trace_id\": \"69de5300000000004bb8068dd831c1ff\", \"span_id\": \"be3d88f216ec90e6\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "f683e254ff334ebf8da1d0a0e7d09e53", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -185,12 +191,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 7.0 }, - "duration": 522583, - "start": 1772740067944744551 + "duration": 263333, + "start": 1776177920966769589 }, { "name": "websocket.send", @@ -203,9 +209,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9dde300000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dde300000000eb214d6ba55aa317\", \"span_id\": \"103c297f49588461\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530000000000", + "_dd.span_links": "[{\"trace_id\": \"69de5300000000004bb8068dd831c1ff\", \"span_id\": \"be3d88f216ec90e6\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -219,8 +226,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 3.0 }, - "duration": 143084, - "start": 1772740067945456884 + "duration": 100042, + "start": 1776177920967145922 }, { "name": "websocket.close", @@ -234,9 +241,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dde300000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dde300000000eb214d6ba55aa317\", \"span_id\": \"103c297f49588461\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530000000000", + "_dd.span_links": "[{\"trace_id\": \"69de5300000000004bb8068dd831c1ff\", \"span_id\": \"be3d88f216ec90e6\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -248,6 +256,6 @@ "_sampling_priority_v1": 1.0, "websocket.close.code": 1000.0 }, - "duration": 152333, - "start": 1772740067945879426 + "duration": 102500, + "start": 1776177920967384630 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_tracing_in_middleware.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_tracing_in_middleware.json index 9bf47afd154..561727c48f1 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_tracing_in_middleware.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_tracing_in_middleware.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "699d774500000000", + "_dd.p.tid": "69de530100000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.method": "GET", "http.route": "/", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9d242ad9d6014b8e8b05c98324d108b2", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 82094.0 + "process_id": 84943.0 }, - "duration": 3375042, - "start": 1771927365695300169 + "duration": 2471000, + "start": 1776177921198887505 }, { "name": "traced_middlware", @@ -43,10 +44,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.fastapi" + "_dd.base_service": "tests.contrib.fastapi", + "_dd.svc_src": "fastapi" }, - "duration": 1783500, - "start": 1771927365695782544 + "duration": 598250, + "start": 1776177921200396547 }, { "name": "fastapi.serialize_response", @@ -58,8 +60,9 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.fastapi" + "_dd.base_service": "tests.contrib.fastapi", + "_dd.svc_src": "fastapi" }, - "duration": 95292, - "start": 1771927365697212294 + "duration": 83458, + "start": 1776177921200679964 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_context_propagation.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_context_propagation.json index b2ed6f02ffb..9987ccc7be3 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_context_propagation.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_context_propagation.json @@ -11,19 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", + "_dd.p.tid": "69de530f00000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74" + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 84943.0 }, - "duration": 424750, - "start": 1772740087243595337 + "duration": 1109459, + "start": 1776177935040548970 }], [ { @@ -40,6 +41,7 @@ "_dd.origin": "rum", "_dd.p.dm": "-0", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "baggage.account.id": "456", "baggage.session.id": "789", "baggage.user.id": "123", @@ -48,17 +50,17 @@ "http.url": "ws://testserver/ws", "http.useragent": "testclient", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 84943.0 }, - "duration": 2282334, - "start": 1772740087241941587 + "duration": 1632375, + "start": 1776177935040246762 }, { "name": "websocket.send", @@ -73,8 +75,9 @@ "_dd.base_service": "tests.contrib.fastapi", "_dd.origin": "rum", "_dd.p.dm": "-0", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd15b1a5678bb8dde43f00000001\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd1521c2c9bf332248b000000001\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "baggage.account.id": "456", "baggage.session.id": "789", "baggage.user.id": "123", @@ -89,10 +92,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "websocket.message.frames": 1.0, - "websocket.message.length": 26.0 + "websocket.message.length": 27.0 }, - "duration": 197459, - "start": 1772740087244523837 + "duration": 166584, + "start": 1776177935042035220 }], [ { @@ -110,15 +113,16 @@ "_dd.dm.service": "fastapi", "_dd.origin": "rum", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.UPSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.UPSTREAM\", \"ptr.hash\": \"C000000000000000000000000075bcd15b1a5678bb8dde43f00000001\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530f00000000", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.UPSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.UPSTREAM\", \"ptr.hash\": \"C000000000000000000000000075bcd1521c2c9bf332248b000000001\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "baggage.account.id": "456", "baggage.session.id": "789", "baggage.user.id": "123", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -128,12 +132,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 9.0 }, - "duration": 1113250, - "start": 1772740087244961379 + "duration": 515875, + "start": 1776177935042353554 }, { "name": "websocket.send", @@ -146,9 +150,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd15b1a5678bb8dde43f00000002\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530f00000000", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd1521c2c9bf332248b000000002\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -162,8 +167,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 169000, - "start": 1772740087246285587 + "duration": 117041, + "start": 1776177935043040304 }], [ { @@ -181,15 +186,16 @@ "_dd.dm.service": "fastapi", "_dd.origin": "rum", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.UPSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.UPSTREAM\", \"ptr.hash\": \"C000000000000000000000000075bcd15b1a5678bb8dde43f00000002\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530f00000000", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.UPSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.UPSTREAM\", \"ptr.hash\": \"C000000000000000000000000075bcd1521c2c9bf332248b000000002\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "baggage.account.id": "456", "baggage.session.id": "789", "baggage.user.id": "123", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -199,12 +205,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 9.0 }, - "duration": 711042, - "start": 1772740087246723837 + "duration": 1138583, + "start": 1776177935043283429 }, { "name": "websocket.send", @@ -217,9 +223,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd15b1a5678bb8dde43f00000003\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530f00000000", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd1521c2c9bf332248b000000003\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -233,8 +240,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 154875, - "start": 1772740087247641212 + "duration": 105083, + "start": 1776177935044552804 }], [ { @@ -252,15 +259,16 @@ "_dd.dm.service": "fastapi", "_dd.origin": "rum", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.UPSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.UPSTREAM\", \"ptr.hash\": \"C000000000000000000000000075bcd15b1a5678bb8dde43f00000003\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530f00000000", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.UPSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.UPSTREAM\", \"ptr.hash\": \"C000000000000000000000000075bcd1521c2c9bf332248b000000003\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "baggage.account.id": "456", "baggage.session.id": "789", "baggage.user.id": "123", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -270,12 +278,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 9.0 }, - "duration": 711291, - "start": 1772740087248025921 + "duration": 2284833, + "start": 1776177935044773637 }, { "name": "websocket.send", @@ -288,9 +296,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd15b1a5678bb8dde43f00000004\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530f00000000", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd1521c2c9bf332248b000000004\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -304,8 +313,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 6.0 }, - "duration": 155042, - "start": 1772740087248928462 + "duration": 96583, + "start": 1776177935047180762 }], [ { @@ -323,15 +332,16 @@ "_dd.dm.service": "fastapi", "_dd.origin": "rum", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.UPSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.UPSTREAM\", \"ptr.hash\": \"C000000000000000000000000075bcd15b1a5678bb8dde43f00000004\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530f00000000", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.UPSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.UPSTREAM\", \"ptr.hash\": \"C000000000000000000000000075bcd1521c2c9bf332248b000000004\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "baggage.account.id": "456", "baggage.session.id": "789", "baggage.user.id": "123", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -341,12 +351,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 7.0 }, - "duration": 695250, - "start": 1772740087249316337 + "duration": 365625, + "start": 1776177935047400762 }, { "name": "websocket.send", @@ -359,9 +369,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd15b1a5678bb8dde43f00000005\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530f00000000", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd1521c2c9bf332248b000000005\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -375,8 +386,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 3.0 }, - "duration": 148583, - "start": 1772740087250200921 + "duration": 230875, + "start": 1776177935047964012 }, { "name": "websocket.close", @@ -391,9 +402,10 @@ "_dd.base_service": "tests.contrib.fastapi", "_dd.origin": "rum", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"b1a5678bb8dde43f\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd15b1a5678bb8dde43f00000006\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530f00000000", + "_dd.span_links": "[{\"trace_id\": \"000000000000000000000000075bcd15\", \"span_id\": \"21c2c9bf332248b0\", \"attributes\": {\"dd.kind\": \"span-pointer\", \"link.name\": \"_SpanPointerDirectionName.DOWNSTREAM\", \"ptr.kind\": \"websocket\", \"ptr.dir\": \"_SpanPointerDirection.DOWNSTREAM\", \"ptr.hash\": \"S000000000000000000000000075bcd1521c2c9bf332248b000000006\"}, \"tracestate\": \"dd=s:1;o:rum;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "baggage.account.id": "456", "baggage.session.id": "789", "baggage.user.id": "123", @@ -408,6 +420,6 @@ "_sampling_priority_v1": 1.0, "websocket.close.code": 1000.0 }, - "duration": 166792, - "start": 1772740087250602004 + "duration": 107167, + "start": 1776177935048376845 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_only_sends.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_only_sends.json index 0f7a26b27aa..14555305a41 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_only_sends.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_only_sends.json @@ -11,19 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", + "_dd.p.tid": "69de530100000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74" + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 84943.0 }, - "duration": 999125, - "start": 1772740087161779629 + "duration": 247209, + "start": 1776177921097105005 }], [ { @@ -38,24 +39,25 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", + "_dd.p.tid": "69de530100000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.upgraded": "websocket", "http.url": "ws://testserver/ws", "http.useragent": "testclient", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 84943.0 }, - "duration": 13700666, - "start": 1772740087152974421 + "duration": 742500, + "start": 1776177921096785964 }, { "name": "websocket.send", @@ -69,9 +71,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -83,10 +86,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "websocket.message.frames": 1.0, - "websocket.message.length": 26.0 + "websocket.message.length": 27.0 }, - "duration": 427208, - "start": 1772740087167510129 + "duration": 124583, + "start": 1776177921097668339 }], [ { @@ -103,12 +106,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -118,12 +122,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 8.0 }, - "duration": 548750, - "start": 1772740087168532337 + "duration": 485292, + "start": 1776177921097917755 }, { "name": "websocket.send", @@ -136,9 +140,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -152,8 +157,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 13.0 }, - "duration": 142416, - "start": 1772740087169270171 + "duration": 100750, + "start": 1776177921098528380 }], [ { @@ -170,12 +175,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -185,12 +191,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 8.0 }, - "duration": 322750, - "start": 1772740087169701879 + "duration": 94625, + "start": 1776177921098738422 }, { "name": "websocket.send", @@ -203,9 +209,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -219,8 +226,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 13.0 }, - "duration": 136750, - "start": 1772740087170198546 + "duration": 83500, + "start": 1776177921098926922 }], [ { @@ -237,12 +244,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -252,12 +260,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 8.0 }, - "duration": 314083, - "start": 1772740087170604004 + "duration": 83375, + "start": 1776177921099102505 }, { "name": "websocket.send", @@ -270,9 +278,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -286,8 +295,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 13.0 }, - "duration": 134750, - "start": 1772740087171086837 + "duration": 89417, + "start": 1776177921099272172 }], [ { @@ -304,12 +313,13 @@ "_dd.dm.resource": "websocket /ws", "_dd.dm.service": "fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -319,12 +329,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 7.0 }, - "duration": 316084, - "start": 1772740087171497587 + "duration": 199250, + "start": 1776177921099478672 }, { "name": "websocket.send", @@ -337,9 +347,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -353,8 +364,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 3.0 }, - "duration": 133333, - "start": 1772740087171982879 + "duration": 103625, + "start": 1776177921099840755 }, { "name": "websocket.close", @@ -368,9 +379,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000c728bdd602066dea\", \"span_id\": \"9914cf8c547f6278\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530100000000", + "_dd.span_links": "[{\"trace_id\": \"69de5301000000009d3cfac4dffe2f68\", \"span_id\": \"f536a56aca2cf2c8\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -382,6 +394,6 @@ "_sampling_priority_v1": 1.0, "websocket.close.code": 1000.0 }, - "duration": 148833, - "start": 1772740087172384421 + "duration": 88417, + "start": 1776177921100059047 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_tracing_not_separate_traces.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_tracing_not_separate_traces.json index 911472dd342..f493fe20437 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_tracing_not_separate_traces.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_tracing_not_separate_traces.json @@ -11,24 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dfb700000000", + "_dd.p.tid": "69de530c00000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.upgraded": "websocket", "http.url": "ws://testserver/ws", "http.useragent": "testclient", "language": "python", - "runtime-id": "bd3089cb4ee741ffa98e039fa9e68f86", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 84943.0 }, - "duration": 11509750, - "start": 1772740535592701672 + "duration": 958583, + "start": 1776177932605160553 }, { "name": "websocket.receive", @@ -43,8 +44,8 @@ "_dd.base_service": "tests.contrib.fastapi", "_dd.svc_src": "fastapi" }, - "duration": 1204792, - "start": 1772740535602442130 + "duration": 581750, + "start": 1776177932605448928 }, { "name": "websocket.send", @@ -58,9 +59,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dfb700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dfb700000000c63cd98a56d89ab0\", \"span_id\": \"a2f402d17f259433\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530c00000000", + "_dd.span_links": "[{\"trace_id\": \"69de530c000000004757de0b609a9a94\", \"span_id\": \"0508201e0a563727\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -72,10 +74,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "websocket.message.frames": 1.0, - "websocket.message.length": 26.0 + "websocket.message.length": 27.0 }, - "duration": 384959, - "start": 1772740535608487005 + "duration": 141417, + "start": 1776177932606492844 }, { "name": "websocket.receive", @@ -89,9 +91,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dfb700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dfb700000000c63cd98a56d89ab0\", \"span_id\": \"a2f402d17f259433\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530c00000000", + "_dd.span_links": "[{\"trace_id\": \"69de530c000000004757de0b609a9a94\", \"span_id\": \"0508201e0a563727\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "span.kind": "consumer", @@ -104,8 +107,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 7.0 }, - "duration": 779792, - "start": 1772740535609460880 + "duration": 698042, + "start": 1776177932606770219 }, { "name": "websocket.send", @@ -119,9 +122,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dfb700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dfb700000000c63cd98a56d89ab0\", \"span_id\": \"a2f402d17f259433\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530c00000000", + "_dd.span_links": "[{\"trace_id\": \"69de530c000000004757de0b609a9a94\", \"span_id\": \"0508201e0a563727\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -135,8 +139,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 12.0 }, - "duration": 150167, - "start": 1772740535610438005 + "duration": 89834, + "start": 1776177932607577469 }, { "name": "websocket.receive", @@ -150,9 +154,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dfb700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dfb700000000c63cd98a56d89ab0\", \"span_id\": \"a2f402d17f259433\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530c00000000", + "_dd.span_links": "[{\"trace_id\": \"69de530c000000004757de0b609a9a94\", \"span_id\": \"0508201e0a563727\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "span.kind": "consumer", @@ -165,8 +170,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 7.0 }, - "duration": 510750, - "start": 1772740535610871547 + "duration": 394416, + "start": 1776177932607770178 }, { "name": "websocket.send", @@ -180,9 +185,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dfb700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dfb700000000c63cd98a56d89ab0\", \"span_id\": \"a2f402d17f259433\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530c00000000", + "_dd.span_links": "[{\"trace_id\": \"69de530c000000004757de0b609a9a94\", \"span_id\": \"0508201e0a563727\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -196,8 +202,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 3.0 }, - "duration": 144542, - "start": 1772740535611567130 + "duration": 113417, + "start": 1776177932608283511 }, { "name": "websocket.close", @@ -211,9 +217,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9dfb700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9dfb700000000c63cd98a56d89ab0\", \"span_id\": \"a2f402d17f259433\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530c00000000", + "_dd.span_links": "[{\"trace_id\": \"69de530c000000004757de0b609a9a94\", \"span_id\": \"0508201e0a563727\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -225,6 +232,6 @@ "_sampling_priority_v1": 1.0, "websocket.close.code": 1000.0 }, - "duration": 143666, - "start": 1772740535611997589 + "duration": 142000, + "start": 1776177932608530053 }]] diff --git a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_tracing_sampling_not_inherited.json b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_tracing_sampling_not_inherited.json index f6700e5db70..a3c5dad4c7d 100644 --- a/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_tracing_sampling_not_inherited.json +++ b/tests/snapshots/tests.contrib.fastapi.test_fastapi.test_websocket_tracing_sampling_not_inherited.json @@ -11,19 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", + "_dd.p.tid": "69de530600000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74" + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 84943.0 }, - "duration": 507958, - "start": 1772740087278899754 + "duration": 1538750, + "start": 1776177926670408675 }], [ { @@ -38,24 +39,25 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", + "_dd.p.tid": "69de530600000000", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "http.upgraded": "websocket", "http.url": "ws://testserver/ws", "http.useragent": "testclient", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 84943.0 }, - "duration": 2472250, - "start": 1772740087277208087 + "duration": 2874292, + "start": 1776177926669885966 }, { "name": "websocket.send", @@ -69,9 +71,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000844d52d36de17ac6\", \"span_id\": \"e68ac981b013dd9f\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000007c35b69a4424e737\", \"span_id\": \"b6a4cef5bde94b7a\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -83,10 +86,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "websocket.message.frames": 1.0, - "websocket.message.length": 26.0 + "websocket.message.length": 27.0 }, - "duration": 202417, - "start": 1772740087279969129 + "duration": 288291, + "start": 1776177926673029050 }], [ { @@ -101,12 +104,13 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000844d52d36de17ac6\", \"span_id\": \"e68ac981b013dd9f\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000007c35b69a4424e737\", \"span_id\": \"b6a4cef5bde94b7a\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -115,12 +119,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 7.0 }, - "duration": 1230208, - "start": 1772740087280404879 + "duration": 456750, + "start": 1776177926673555008 }, { "name": "websocket.send", @@ -133,9 +137,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000844d52d36de17ac6\", \"span_id\": \"e68ac981b013dd9f\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000007c35b69a4424e737\", \"span_id\": \"b6a4cef5bde94b7a\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -149,8 +154,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 12.0 }, - "duration": 151792, - "start": 1772740087281843754 + "duration": 169166, + "start": 1776177926674203425 }], [ { @@ -165,12 +170,13 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000844d52d36de17ac6\", \"span_id\": \"e68ac981b013dd9f\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000007c35b69a4424e737\", \"span_id\": \"b6a4cef5bde94b7a\", \"attributes\": {\"dd.kind\": \"executed_by\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", - "runtime-id": "f1d94a08231e471e9d7acbd38be9ed74", + "runtime-id": "dadd78cb1d684e1e85f172be729d1a20", "span.kind": "consumer", "websocket.duration.style": "blocking", "websocket.message.type": "text" @@ -179,12 +185,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0, + "process_id": 84943.0, "websocket.message.frames": 1.0, "websocket.message.length": 7.0 }, - "duration": 738167, - "start": 1772740087282211004 + "duration": 3917542, + "start": 1776177926674550591 }, { "name": "websocket.send", @@ -197,9 +203,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.fastapi", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000844d52d36de17ac6\", \"span_id\": \"e68ac981b013dd9f\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000007c35b69a4424e737\", \"span_id\": \"b6a4cef5bde94b7a\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -213,8 +220,8 @@ "websocket.message.frames": 1.0, "websocket.message.length": 3.0 }, - "duration": 146792, - "start": 1772740087283150629 + "duration": 151125, + "start": 1776177926678666216 }, { "name": "websocket.close", @@ -228,9 +235,10 @@ "meta": { "_dd.base_service": "tests.contrib.fastapi", "_dd.p.dm": "-0", - "_dd.p.tid": "69a9ddf700000000", - "_dd.span_links": "[{\"trace_id\": \"69a9ddf700000000844d52d36de17ac6\", \"span_id\": \"e68ac981b013dd9f\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69de530600000000", + "_dd.span_links": "[{\"trace_id\": \"69de5306000000007c35b69a4424e737\", \"span_id\": \"b6a4cef5bde94b7a\", \"attributes\": {\"dd.kind\": \"resuming\"}, \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.svc_src": "fastapi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.fastapi", "component": "fastapi", "language": "python", "network.client.ip": "testclient", @@ -242,6 +250,6 @@ "_sampling_priority_v1": 1.0, "websocket.close.code": 1000.0 }, - "duration": 149416, - "start": 1772740087283545546 + "duration": 126958, + "start": 1776177926678989550 }]] From 41c228c9c002fdc2a9580288bc43d373103db031 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 07:52:45 -0700 Subject: [PATCH 013/114] update sanic snapshots --- ...ver.test_multiple_requests_sanic_http.json | 50 ++++++++-------- ...multiple_requests_sanic_http_pre_21.9.json | 58 ++++++++++--------- ...c.test_sanic_server.test_sanic_errors.json | 44 +++++++------- ...nic_server.test_sanic_errors_pre_21.9.json | 42 +++++++------- 4 files changed, 101 insertions(+), 93 deletions(-) diff --git a/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_multiple_requests_sanic_http.json b/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_multiple_requests_sanic_http.json index bb8b33733ed..1f2ad7d4c44 100644 --- a/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_multiple_requests_sanic_http.json +++ b/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_multiple_requests_sanic_http.json @@ -11,27 +11,28 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de546b00000000", "_dd.svc_src": "sanic", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:project,svc.auto:-c", "component": "sanic", "http.method": "GET", "http.status_code": "200", "http.url": "http://0.0.0.0:8000/hello", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.33.0", "language": "python", - "runtime-id": "daf9ebe6695a4a03a506ea6e7a5ef21b", + "runtime-id": "2a9e612b2fce4bd5814f0e335bdfdbd1", "sanic.route.name": "test_sanic_server.hello", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83642 + "_sampling_priority_v1": 1.0, + "process_id": 87679.0 }, - "duration": 4186542, - "start": 1692712781295910593 + "duration": 12349333, + "start": 1776178283189294340 }, { "name": "random_sleep", @@ -44,10 +45,10 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000" + "_dd.svc_src": "sanic" }, - "duration": 3887500, - "start": 1692712781296113551 + "duration": 12151625, + "start": 1776178283189401006 }], [ { @@ -62,27 +63,28 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de546b00000000", "_dd.svc_src": "sanic", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:project,svc.auto:-c", "component": "sanic", "http.method": "GET", "http.status_code": "200", "http.url": "http://0.0.0.0:8000/hello", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.33.0", "language": "python", - "runtime-id": "daf9ebe6695a4a03a506ea6e7a5ef21b", + "runtime-id": "2a9e612b2fce4bd5814f0e335bdfdbd1", "sanic.route.name": "test_sanic_server.hello", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83642 + "_sampling_priority_v1": 1.0, + "process_id": 87679.0 }, - "duration": 64079709, - "start": 1692712781362308801 + "duration": 40740542, + "start": 1776178283203234673 }, { "name": "random_sleep", @@ -95,8 +97,8 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000" + "_dd.svc_src": "sanic" }, - "duration": 63839500, - "start": 1692712781362424718 + "duration": 40555958, + "start": 1776178283203314590 }]] diff --git a/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_multiple_requests_sanic_http_pre_21.9.json b/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_multiple_requests_sanic_http_pre_21.9.json index e87a96fe855..685240c5e8e 100644 --- a/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_multiple_requests_sanic_http_pre_21.9.json +++ b/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_multiple_requests_sanic_http_pre_21.9.json @@ -9,28 +9,29 @@ "type": "web", "error": 0, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.base_service": "tests.contrib.sanic", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de54a800000000", "_dd.svc_src": "sanic", + "_dd.tags.process": "entrypoint.basedir:sanic,entrypoint.name:run_server,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.sanic", "component": "sanic", "http.method": "GET", "http.status_code": "200", "http.url": "http://0.0.0.0:8000/hello", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.31.0", "language": "python", - "runtime-id": "95d5761a51704f358d8e92dc815192d2", + "runtime-id": "2b4ab2220af44055803c80d60a5681fb", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83553 + "_sampling_priority_v1": 1.0, + "process_id": 89435.0 }, - "duration": 39547333, - "start": 1692712724983737220 + "duration": 69457584, + "start": 1776178344996196507 }, { "name": "random_sleep", @@ -42,11 +43,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000" + "_dd.base_service": "tests.contrib.sanic", + "_dd.svc_src": "sanic" }, - "duration": 39386375, - "start": 1692712724983815803 + "duration": 69109500, + "start": 1776178344996289257 }], [ { @@ -59,28 +60,29 @@ "type": "web", "error": 0, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.base_service": "tests.contrib.sanic", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de54a900000000", "_dd.svc_src": "sanic", + "_dd.tags.process": "entrypoint.basedir:sanic,entrypoint.name:run_server,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.sanic", "component": "sanic", "http.method": "GET", "http.status_code": "200", "http.url": "http://0.0.0.0:8000/hello", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.31.0", "language": "python", - "runtime-id": "95d5761a51704f358d8e92dc815192d2", + "runtime-id": "2b4ab2220af44055803c80d60a5681fb", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83553 + "_sampling_priority_v1": 1.0, + "process_id": 89435.0 }, - "duration": 39160708, - "start": 1692712725078800220 + "duration": 47376625, + "start": 1776178345068757424 }, { "name": "random_sleep", @@ -92,9 +94,9 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000" + "_dd.base_service": "tests.contrib.sanic", + "_dd.svc_src": "sanic" }, - "duration": 38914250, - "start": 1692712725078909886 + "duration": 47033208, + "start": 1776178345068913299 }]] diff --git a/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_sanic_errors.json b/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_sanic_errors.json index 57ff24effd1..dc7b40b794f 100644 --- a/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_sanic_errors.json +++ b/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_sanic_errors.json @@ -9,28 +9,29 @@ "type": "web", "error": 0, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de546d00000000", "_dd.svc_src": "sanic", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:project,svc.auto:-c", "component": "sanic", "http.method": "GET", "http.status_code": "404", "http.url": "http://0.0.0.0:8000/not_found", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.33.0", "language": "python", - "runtime-id": "a65fe96a97834a88bf6eac183210a032", + "runtime-id": "96ccfd9b92584cf8ab947b56ddf4e084", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83650 + "_sampling_priority_v1": 1.0, + "process_id": 87720.0 }, - "duration": 348292, - "start": 1692712782649956968 + "duration": 263750, + "start": 1776178285262829507 }], [ { @@ -43,30 +44,31 @@ "type": "web", "error": 1, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de546d00000000", "_dd.svc_src": "sanic", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:project,svc.auto:-c", "component": "sanic", "error.message": "division by zero", - "error.stack": "Traceback (most recent call last):\n File \"handle_request\", line 83, in handle_request\n )\n File \"/root/project/tests/contrib/sanic/run_server.py\", line 38, in internal_error\n 1 / 0\nZeroDivisionError: division by zero\n", + "error.stack": "Traceback (most recent call last):\n File \"handle_request\", line 102, in handle_request\n try:\n \n File \"/home/bits/project/tests/contrib/sanic/run_server.py\", line 34, in internal_error\n 1 / 0\n ~~^~~\nZeroDivisionError: division by zero\n", "error.type": "builtins.ZeroDivisionError", "http.method": "GET", "http.status_code": "500", "http.url": "http://0.0.0.0:8000/internal_error", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.33.0", "language": "python", - "runtime-id": "a65fe96a97834a88bf6eac183210a032", + "runtime-id": "96ccfd9b92584cf8ab947b56ddf4e084", "sanic.route.name": "test_sanic_server.internal_error", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83650 + "_sampling_priority_v1": 1.0, + "process_id": 87720.0 }, - "duration": 1976916, - "start": 1692712782730214844 + "duration": 1272750, + "start": 1776178285264276757 }]] diff --git a/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_sanic_errors_pre_21.9.json b/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_sanic_errors_pre_21.9.json index 899e88bb0fc..f1e3a2626f6 100644 --- a/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_sanic_errors_pre_21.9.json +++ b/tests/snapshots/tests.contrib.sanic.test_sanic_server.test_sanic_errors_pre_21.9.json @@ -9,28 +9,29 @@ "type": "web", "error": 0, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.base_service": "tests.contrib.sanic", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de54a800000000", "_dd.svc_src": "sanic", + "_dd.tags.process": "entrypoint.basedir:sanic,entrypoint.name:run_server,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.sanic", "component": "sanic", "http.method": "GET", "http.status_code": "404", "http.url": "http://0.0.0.0:8000/not_found", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.31.0", "language": "python", - "runtime-id": "99305d72dd0b47b09520b2af4bb7348b", + "runtime-id": "724f292906fc4c6382c9c1b205c8e305", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83560 + "_sampling_priority_v1": 1.0, + "process_id": 89414.0 }, - "duration": 273500, - "start": 1692712726198694929 + "duration": 291209, + "start": 1776178344160313423 }], [ { @@ -43,26 +44,27 @@ "type": "web", "error": 1, "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.base_service": "tests.contrib.sanic", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de54a800000000", "_dd.svc_src": "sanic", + "_dd.tags.process": "entrypoint.basedir:sanic,entrypoint.name:run_server,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.sanic", "component": "sanic", "http.method": "GET", "http.status_code": "500", "http.url": "http://0.0.0.0:8000/internal_error", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.31.0", "language": "python", - "runtime-id": "99305d72dd0b47b09520b2af4bb7348b", + "runtime-id": "724f292906fc4c6382c9c1b205c8e305", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 83560 + "_sampling_priority_v1": 1.0, + "process_id": 89414.0 }, - "duration": 1717000, - "start": 1692712726259096179 + "duration": 1482166, + "start": 1776178344162537424 }]] From cbc99f8a11db72195c112f43234f2e13cd461870 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 07:56:53 -0700 Subject: [PATCH 014/114] update openai snapshots --- ...b.openai.test_openai.test_acompletion.json | 26 +++++++------ ...nai.test_azure_openai_chat_completion.json | 18 +++++---- ...t_openai.test_azure_openai_completion.json | 18 +++++---- ...st_openai.test_azure_openai_embedding.json | 18 +++++---- ...enai.test_openai.test_chat_completion.json | 26 +++++++------ ...test_chat_completion_function_calling.json | 26 +++++++------ ...enai.test_chat_completion_image_input.json | 26 +++++++------ ...st_openai.test_chat_completion_stream.json | 26 +++++++------ ...ib.openai.test_openai.test_completion.json | 26 +++++++------ ...ai.test_openai.test_completion_stream.json | 26 +++++++------ ...ai.test_openai.test_create_moderation.json | 18 +++++---- ...rib.openai.test_openai.test_embedding.json | 26 +++++++------ ....test_embedding_array_of_token_arrays.json | 26 +++++++------ ...st_openai.test_embedding_string_array.json | 26 +++++++------ ...est_openai.test_embedding_token_array.json | 26 +++++++------ ...b.openai.test_openai.test_file_create.json | 18 +++++---- ...b.openai.test_openai.test_file_delete.json | 18 +++++---- ...openai.test_openai.test_file_download.json | 20 +++++----- ...rib.openai.test_openai.test_file_list.json | 20 +++++----- ...openai.test_openai.test_file_retrieve.json | 18 +++++---- ...t_openai.test_image_b64_json_response.json | 18 +++++---- ....openai.test_openai.test_image_create.json | 18 +++++---- ...ontrib.openai.test_openai.test_misuse.json | 20 +++++----- ...st_openai.test_model_alist_pagination.json | 18 +++++---- ....openai.test_openai.test_model_delete.json | 18 +++++---- ...ib.openai.test_openai.test_model_list.json | 20 +++++----- ...est_openai.test_model_list_pagination.json | 20 +++++----- ...penai.test_openai.test_model_retrieve.json | 18 +++++---- ...trib.openai.test_openai.test_response.json | 26 +++++++------ ...penai.test_openai.test_response_error.json | 20 +++++----- ...enai.test_openai.test_response_stream.json | 18 +++++---- ...penai.test_openai.test_response_tools.json | 37 ------------------- ...est_openai.test_response_tools_stream.json | 18 +++++---- ...enai.test_span_finish_on_stream_error.json | 20 +++++----- ..._openai_v1.test_chat_completion_parse.json | 37 ------------------- ...streamed_chat_completion_resp_returns.json | 18 +++++---- ...mpty_streamed_completion_resp_returns.json | 18 +++++---- ..._empty_streamed_response_resp_returns.json | 31 ---------------- ...test_openai_v1.test_integration_async.json | 26 +++++++------ ...t_integration_service_name[None-None].json | 26 +++++++------ ...est_integration_service_name[None-v0].json | 26 +++++++------ ...est_integration_service_name[None-v1].json | 26 +++++++------ ..._integration_service_name[mysvc-None].json | 26 +++++++------ ...st_integration_service_name[mysvc-v0].json | 26 +++++++------ ...st_integration_service_name[mysvc-v1].json | 26 +++++++------ ....test_openai_v1.test_integration_sync.json | 26 +++++++------ ...ai.test_openai_v1.test_response_parse.json | 26 +++++++------ 47 files changed, 531 insertions(+), 548 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json delete mode 100644 tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json delete mode 100644 tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_acompletion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_acompletion.json index aba4ef9e6c8..175b1b05942 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_acompletion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_acompletion.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3400000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "curie", "openai.request.provider": "OpenAI", "openai.response.model": "curie", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249850, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249850.0, + "process_id": 91935.0 }, - "duration": 11233000, - "start": 1752529460532441000 + "duration": 11227916, + "start": 1776178497429234842 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_chat_completion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_chat_completion.json index 6b5560c6781..d84e4bff379 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_chat_completion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_chat_completion.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3c00000000", + "_dd.p.tid": "69de554000000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.request.endpoint": "/v1/chat/completions", @@ -18,15 +20,15 @@ "openai.request.model": "gpt-35-turbo", "openai.request.provider": "AzureOpenAI", "openai.response.model": "gpt-35-turbo", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 11716000, - "start": 1752529468062150000 + "duration": 10729417, + "start": 1776178496216768799 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_completion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_completion.json index 79536811bd0..e7defaf9ef8 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_completion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_completion.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3200000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.request.endpoint": "/v1/completions", @@ -18,15 +20,15 @@ "openai.request.model": "gpt-35-turbo", "openai.request.provider": "AzureOpenAI", "openai.response.model": "gpt-35-turbo", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 8631000, - "start": 1752529458063286000 + "duration": 11074500, + "start": 1776178497348087925 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_embedding.json b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_embedding.json index bb1d2ffaeba..9c9e663d496 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_embedding.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_embedding.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3200000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.request.endpoint": "/v1/embeddings", @@ -18,15 +20,15 @@ "openai.request.model": "text-embedding-ada-002", "openai.request.provider": "AzureOpenAI", "openai.response.model": "ada", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 9290000, - "start": 1752529458251226000 + "duration": 9967416, + "start": 1776178497786844384 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion.json index 9c551446cb1..34b7a0abfb5 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3100000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "gpt-3.5-turbo", "openai.request.provider": "OpenAI", "openai.response.model": "gpt-3.5-turbo-0301", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 15000, - "openai.organization.ratelimit.requests.remaining": 14999, - "openai.organization.ratelimit.tokens.limit": 2000000, - "openai.organization.ratelimit.tokens.remaining": 1999929, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 15000.0, + "openai.organization.ratelimit.requests.remaining": 14999.0, + "openai.organization.ratelimit.tokens.limit": 2000000.0, + "openai.organization.ratelimit.tokens.remaining": 1999929.0, + "process_id": 91935.0 }, - "duration": 8751000, - "start": 1752529457881450000 + "duration": 9972750, + "start": 1776178497265594925 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_function_calling.json b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_function_calling.json index 89d12c2fcf4..ba3cf262618 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_function_calling.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_function_calling.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3300000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "gpt-3.5-turbo", "openai.request.provider": "OpenAI", "openai.response.model": "gpt-3.5-turbo-0613", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 10000, - "openai.organization.ratelimit.requests.remaining": 9999, - "openai.organization.ratelimit.tokens.limit": 1000000, - "openai.organization.ratelimit.tokens.remaining": 999910, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 10000.0, + "openai.organization.ratelimit.requests.remaining": 9999.0, + "openai.organization.ratelimit.tokens.limit": 1000000.0, + "openai.organization.ratelimit.tokens.remaining": 999910.0, + "process_id": 91935.0 }, - "duration": 9747000, - "start": 1752529459263348000 + "duration": 9602292, + "start": 1776178497307842633 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_image_input.json b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_image_input.json index e839f1c3957..7bb7c56b115 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_image_input.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_image_input.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3f00000000", + "_dd.p.tid": "69de554200000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "gpt-4-vision-preview", "openai.request.provider": "OpenAI", "openai.response.model": "gpt-4-1106-vision-preview", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 100, - "openai.organization.ratelimit.requests.remaining": 98, - "openai.organization.ratelimit.tokens.limit": 150000, - "openai.organization.ratelimit.tokens.remaining": 149977, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 100.0, + "openai.organization.ratelimit.requests.remaining": 98.0, + "openai.organization.ratelimit.tokens.limit": 150000.0, + "openai.organization.ratelimit.tokens.remaining": 149977.0, + "process_id": 91935.0 }, - "duration": 10951000, - "start": 1752529471035027000 + "duration": 11711875, + "start": 1776178498272543092 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_stream.json b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_stream.json index 14545d6f68c..ae8266e91c3 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_stream.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_stream.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a6c00000000", + "_dd.p.tid": "69de557400000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "gpt-3.5-turbo", "openai.request.provider": "OpenAI", "openai.response.model": "gpt-3.5-turbo-0301", - "runtime-id": "cd491575fdcf4d64b516d2c93d3d0ec7" + "runtime-id": "33657ed87710457db780e3cff7549bdc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88935 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 93066.0 }, - "duration": 16445000, - "start": 1752529516265190000 + "duration": 6375500, + "start": 1776178548635581588 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_completion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_completion.json index b9fc65d2b11..e554c70aa63 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_completion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_completion.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3800000000", + "_dd.p.tid": "69de554000000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 91935.0 }, - "duration": 16516000, - "start": 1752529464574086000 + "duration": 9301625, + "start": 1776178496177523174 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_completion_stream.json b/tests/snapshots/tests.contrib.openai.test_openai.test_completion_stream.json index 1045306068a..b026cde051a 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_completion_stream.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_completion_stream.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a7700000000", + "_dd.p.tid": "69de554200000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "453a86f9c95343e790ed4376c3cac275" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 89248 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 91935.0 }, - "duration": 5022000, - "start": 1752529527003681000 + "duration": 13360792, + "start": 1776178498505185842 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_create_moderation.json b/tests/snapshots/tests.contrib.openai.test_openai.test_create_moderation.json index 5c5cd8aaa28..d4115668793 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_create_moderation.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_create_moderation.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3200000000", + "_dd.p.tid": "69de554200000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -20,15 +22,15 @@ "openai.request.provider": "OpenAI", "openai.response.id": "modr-8E3q1Ym0ynUPcFCfcCOOqEcguvMNX", "openai.response.model": "text-moderation-006", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 8623000, - "start": 1752529458550920000 + "duration": 8647834, + "start": 1776178498112298800 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding.json b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding.json index 141cbfef1fb..61b50acaaf4 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3100000000", + "_dd.p.tid": "69de554000000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "text-embedding-ada-002", "openai.request.provider": "OpenAI", "openai.response.model": "text-embedding-ada-002-v2", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 1000000, - "openai.organization.ratelimit.tokens.remaining": 999997, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 1000000.0, + "openai.organization.ratelimit.tokens.remaining": 999997.0, + "process_id": 91935.0 }, - "duration": 17018000, - "start": 1752529457323503000 + "duration": 16213333, + "start": 1776178496132253758 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_array_of_token_arrays.json b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_array_of_token_arrays.json index 0206532ee9e..69d4f323d1f 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_array_of_token_arrays.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_array_of_token_arrays.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3800000000", + "_dd.p.tid": "69de554300000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "text-embedding-ada-002", "openai.request.provider": "OpenAI", "openai.response.model": "text-embedding-ada-002-v2", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 1000000, - "openai.organization.ratelimit.tokens.remaining": 999990, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 1000000.0, + "openai.organization.ratelimit.tokens.remaining": 999990.0, + "process_id": 91935.0 }, - "duration": 38033000, - "start": 1752529464456476000 + "duration": 40676083, + "start": 1776178499725428468 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_string_array.json b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_string_array.json index f9f5fe04299..098a676a0ce 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_string_array.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_string_array.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3900000000", + "_dd.p.tid": "69de554600000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "text-embedding-ada-002", "openai.request.provider": "OpenAI", "openai.response.model": "text-embedding-ada-002-v2", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 1000000, - "openai.organization.ratelimit.tokens.remaining": 999994, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 1000000.0, + "openai.organization.ratelimit.tokens.remaining": 999994.0, + "process_id": 91935.0 }, - "duration": 25979000, - "start": 1752529465275102000 + "duration": 29978291, + "start": 1776178502601478928 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_token_array.json b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_token_array.json index 551616e76da..7debb5f0cc3 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_token_array.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_token_array.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3200000000", + "_dd.p.tid": "69de554900000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "text-embedding-ada-002", "openai.request.provider": "OpenAI", "openai.response.model": "text-embedding-ada-002-v2", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 1000000, - "openai.organization.ratelimit.tokens.remaining": 999997, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 1000000.0, + "openai.organization.ratelimit.tokens.remaining": 999997.0, + "process_id": 91935.0 }, - "duration": 17994000, - "start": 1752529458148992000 + "duration": 16853167, + "start": 1776178505035094345 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_create.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_create.json index 95ed45f454e..eecd1c67848 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_create.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_create.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3800000000", + "_dd.p.tid": "69de553c00000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -25,15 +27,15 @@ "openai.response.purpose": "fine-tune", "openai.response.status": "uploaded", "openai.response.status_details": "None", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 12014000, - "start": 1752529464671002000 + "duration": 13333958, + "start": 1776178492540653756 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_delete.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_delete.json index 3429a82d133..9ca3d0fac69 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_delete.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_delete.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3100000000", + "_dd.p.tid": "69de553e00000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -20,15 +22,15 @@ "openai.request.provider": "OpenAI", "openai.response.deleted": "True", "openai.response.id": "file-l48KgWVF75Tz2HLqLrcUdBPi", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 18615000, - "start": 1752529457215907000 + "duration": 8437166, + "start": 1776178494938365466 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_download.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_download.json index 373ee0a2544..c345b87de7a 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_download.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_download.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3100000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -18,16 +20,16 @@ "openai.request.file_id": "file-xC22NUuYBkXvzRt2fLREcGde", "openai.request.method": "GET", "openai.request.provider": "OpenAI", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.response.total_bytes": 317, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.response.total_bytes": 317.0, + "process_id": 91935.0 }, - "duration": 6676000, - "start": 1752529457584493000 + "duration": 7322708, + "start": 1776178497945820259 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_list.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_list.json index 49695cd9b60..89c38895ada 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_list.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_list.json @@ -10,23 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3900000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", "openai.request.endpoint": "/v1/files", "openai.request.method": "GET", "openai.request.provider": "OpenAI", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.response.count": 99, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.response.count": 99.0, + "process_id": 91935.0 }, - "duration": 24843000, - "start": 1752529465380470000 + "duration": 26073667, + "start": 1776178497609375633 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_retrieve.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_retrieve.json index 1ceb4efd7e7..1f81124a784 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_retrieve.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_retrieve.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3100000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -25,15 +27,15 @@ "openai.response.purpose": "fine-tune-results", "openai.response.status": "processed", "openai.response.status_details": "None", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 7444000, - "start": 1752529457498880000 + "duration": 8438667, + "start": 1776178497908698800 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_image_b64_json_response.json b/tests/snapshots/tests.contrib.openai.test_openai.test_image_b64_json_response.json index 133e91767e0..89b92f97764 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_image_b64_json_response.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_image_b64_json_response.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3f00000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,15 +21,15 @@ "openai.request.model": "dall-e", "openai.request.provider": "OpenAI", "openai.response.created": "1685642324", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 13342000, - "start": 1752529471425115000 + "duration": 8503291, + "start": 1776178497870213759 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_image_create.json b/tests/snapshots/tests.contrib.openai.test_openai.test_image_create.json index bfb941077c5..692372f9010 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_image_create.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_image_create.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3400000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,15 +21,15 @@ "openai.request.model": "dall-e", "openai.request.provider": "OpenAI", "openai.response.created": "1685630540", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 10683000, - "start": 1752529460431782000 + "duration": 9474750, + "start": 1776178497226578217 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_misuse.json b/tests/snapshots/tests.contrib.openai.test_openai.test_misuse.json index c8ca928d761..6b3557548be 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_misuse.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_misuse.json @@ -10,24 +10,26 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3100000000", + "_dd.p.tid": "69de553c00000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "error.message": "Missing required arguments; Expected either ('model' and 'prompt') or ('model', 'prompt' and 'stream') arguments to be given", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/openai/patch.py\", line 264, in patched_endpoint\n resp = func(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.10/site-packages/openai/_utils/_utils.py\", line 298, in wrapper\n raise TypeError(msg)\nTypeError: Missing required arguments; Expected either ('model' and 'prompt') or ('model', 'prompt' and 'stream') arguments to be given\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/openai/patch.py\", line 244, in patched_endpoint\n resp = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.9/site-packages/openai/_utils/_utils.py\", line 298, in wrapper\n raise TypeError(msg)\nTypeError: Missing required arguments; Expected either ('model' and 'prompt') or ('model', 'prompt' and 'stream') arguments to be given\n", "error.type": "builtins.TypeError", "language": "python", "openai.request.endpoint": "/v1/completions", "openai.request.method": "POST", "openai.request.provider": "OpenAI", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 1214000, - "start": 1752529457420259000 + "duration": 446416, + "start": 1776178492579325548 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_alist_pagination.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_alist_pagination.json index fc4e4101f5b..52b3f7434e3 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_alist_pagination.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_alist_pagination.json @@ -10,21 +10,23 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68f0b1d700000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.request.endpoint": "/v1/models", "openai.request.method": "GET", "openai.request.provider": "OpenAI", - "runtime-id": "1e2a3154601a494f8f219a4327b659c2" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 573 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 1683125, - "start": 1760604631675824507 + "duration": 14468917, + "start": 1776178497564481175 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_delete.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_delete.json index 4725b8f46f8..fc7966cb024 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_delete.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_delete.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3100000000", + "_dd.p.tid": "69de554300000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -20,15 +22,15 @@ "openai.request.provider": "OpenAI", "openai.response.deleted": "True", "openai.response.id": "babbage:ft-datadog:dummy-fine-tune-model-2023-06-01-23-15-52", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 7189000, - "start": 1752529457796906000 + "duration": 7991791, + "start": 1776178499937127010 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_list.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_list.json index c5e9a64a7a5..4c941ed80fa 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_list.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_list.json @@ -10,22 +10,24 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3100000000", + "_dd.p.tid": "69de553c00000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.request.endpoint": "/v1/models", "openai.request.method": "GET", "openai.request.provider": "OpenAI", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.response.count": 112, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "openai.response.count": 112.0, + "process_id": 91935.0 }, - "duration": 14421000, - "start": 1752529457699739000 + "duration": 14811667, + "start": 1776178492494783214 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_list_pagination.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_list_pagination.json index 060f3559c76..1173dd4db76 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_list_pagination.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_list_pagination.json @@ -10,22 +10,24 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68f0b1d500000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.request.endpoint": "/v1/models", "openai.request.method": "GET", "openai.request.provider": "OpenAI", - "runtime-id": "1e2a3154601a494f8f219a4327b659c2" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.response.count": 112, - "process_id": 573 + "_sampling_priority_v1": 1.0, + "openai.response.count": 112.0, + "process_id": 91935.0 }, - "duration": 13777416, - "start": 1760604629974266007 + "duration": 15321791, + "start": 1776178497471827592 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_retrieve.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_retrieve.json index a600a48e38d..442d4afc0b7 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_retrieve.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_retrieve.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3200000000", + "_dd.p.tid": "69de553c00000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.request.endpoint": "/v1/models/*", @@ -22,15 +24,15 @@ "openai.response.owned_by": "openai", "openai.response.parent": "None", "openai.response.root": "curie", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 8142000, - "start": 1752529458347918000 + "duration": 8350417, + "start": 1776178492608419839 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response.json index bf686427186..a430b0264e5 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a7500000000", + "_dd.p.tid": "69de55a900000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-staging", @@ -19,19 +21,19 @@ "openai.request.model": "gpt-4.1", "openai.request.provider": "OpenAI", "openai.response.model": "gpt-4.1-2025-04-14", - "runtime-id": "453a86f9c95343e790ed4376c3cac275" + "runtime-id": "59e87a92d11b4fb79e31606d290b1ab0" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 10000, - "openai.organization.ratelimit.requests.remaining": 9999, - "openai.organization.ratelimit.tokens.limit": 30000000, - "openai.organization.ratelimit.tokens.remaining": 29999927, - "process_id": 89248 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 10000.0, + "openai.organization.ratelimit.requests.remaining": 9999.0, + "openai.organization.ratelimit.tokens.limit": 30000000.0, + "openai.organization.ratelimit.tokens.remaining": 29999927.0, + "process_id": 94238.0 }, - "duration": 44822000, - "start": 1752529525720759000 + "duration": 3196584, + "start": 1776178601723071334 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response_error.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response_error.json index 967d6b982f1..68d13833f50 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response_error.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response_error.json @@ -10,25 +10,27 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a7f00000000", + "_dd.p.tid": "69de55a900000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "error.message": "Error code: 400 - {'error': {'message': \"The requested model 'invalid-model' does not exist.\", 'type': 'invalid_request_error', 'param': 'model', 'code': 'model_not_found'}}", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/openai/patch.py\", line 264, in patched_endpoint\n resp = func(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai_tiktoken_pillow/lib/python3.10/site-packages/openai/resources/responses/responses.py\", line 700, in create\n return self._post(\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai_tiktoken_pillow/lib/python3.10/site-packages/openai/_base_client.py\", line 1249, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai_tiktoken_pillow/lib/python3.10/site-packages/openai/_base_client.py\", line 1037, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': {'message': \"The requested model 'invalid-model' does not exist.\", 'type': 'invalid_request_error', 'param': 'model', 'code': 'model_not_found'}}\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/openai/patch.py\", line 244, in patched_endpoint\n resp = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai_pillow/lib/python3.9/site-packages/openai/resources/responses/responses.py\", line 828, in create\n return self._post(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai_pillow/lib/python3.9/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai_pillow/lib/python3.9/site-packages/openai/_base_client.py\", line 1047, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': {'message': \"The requested model 'invalid-model' does not exist.\", 'type': 'invalid_request_error', 'param': 'model', 'code': 'model_not_found'}}\n", "error.type": "openai.BadRequestError", "language": "python", "openai.request.endpoint": "/v1/responses", "openai.request.method": "POST", "openai.request.model": "invalid-model", "openai.request.provider": "OpenAI", - "runtime-id": "453a86f9c95343e790ed4376c3cac275" + "runtime-id": "59e87a92d11b4fb79e31606d290b1ab0" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 89248 + "_sampling_priority_v1": 1.0, + "process_id": 94238.0 }, - "duration": 3697000, - "start": 1752529535129340000 + "duration": 2107333, + "start": 1776178601894268418 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response_stream.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response_stream.json index 7c5f85324ce..aba5da13d8f 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response_stream.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response_stream.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a7900000000", + "_dd.p.tid": "69de55a600000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-staging", @@ -19,15 +21,15 @@ "openai.request.model": "gpt-4.1", "openai.request.provider": "OpenAI", "openai.response.model": "gpt-4.1-2025-04-14", - "runtime-id": "453a86f9c95343e790ed4376c3cac275" + "runtime-id": "59e87a92d11b4fb79e31606d290b1ab0" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 89248 + "_sampling_priority_v1": 1.0, + "process_id": 94238.0 }, - "duration": 327038000, - "start": 1752529529109320000 + "duration": 7137917, + "start": 1776178598171253222 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json deleted file mode 100644 index a658e0fa341..00000000000 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json +++ /dev/null @@ -1,37 +0,0 @@ -[[ - { - "name": "openai.request", - "service": "tests.contrib.openai", - "resource": "createResponse", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "68757a8d00000000", - "component": "openai", - "language": "python", - "openai.organization.name": "datadog-staging", - "openai.request.endpoint": "/v1/responses", - "openai.request.method": "POST", - "openai.request.model": "gpt-4.1", - "openai.request.provider": "OpenAI", - "openai.response.model": "gpt-4.1-2025-04-14", - "runtime-id": "453a86f9c95343e790ed4376c3cac275" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 10000, - "openai.organization.ratelimit.requests.remaining": 9999, - "openai.organization.ratelimit.tokens.limit": 30000000, - "openai.organization.ratelimit.tokens.remaining": 29999634, - "process_id": 89248 - }, - "duration": 21757000, - "start": 1752529549322173000 - }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools_stream.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools_stream.json index e9e066251a9..1d9bec52e01 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools_stream.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools_stream.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a9b00000000", + "_dd.p.tid": "69de55a500000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-staging", @@ -19,15 +21,15 @@ "openai.request.model": "gpt-4.1", "openai.request.provider": "OpenAI", "openai.response.model": "gpt-4.1-2025-04-14", - "runtime-id": "453a86f9c95343e790ed4376c3cac275" + "runtime-id": "59e87a92d11b4fb79e31606d290b1ab0" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 89248 + "_sampling_priority_v1": 1.0, + "process_id": 94238.0 }, - "duration": 225992000, - "start": 1752529563134313000 + "duration": 7921500, + "start": 1776178597937466555 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_span_finish_on_stream_error.json b/tests/snapshots/tests.contrib.openai.test_openai.test_span_finish_on_stream_error.json index 16f794a2aaf..52a8bd25157 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_span_finish_on_stream_error.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_span_finish_on_stream_error.json @@ -10,25 +10,27 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3e00000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "error.message": "Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-wrong****-key. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/openai/patch.py\", line 264, in patched_endpoint\n resp = func(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.10/site-packages/openai/_utils/_utils.py\", line 299, in wrapper\n return func(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.10/site-packages/openai/resources/completions.py\", line 532, in create\n return self._post(\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.10/site-packages/openai/_base_client.py\", line 1055, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.10/site-packages/openai/_base_client.py\", line 834, in request\n return self._request(\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.10/site-packages/openai/_base_client.py\", line 877, in _request\n raise self._make_status_error_from_response(err.response) from None\nopenai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-wrong****-key. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/openai/patch.py\", line 244, in patched_endpoint\n resp = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.9/site-packages/openai/_utils/_utils.py\", line 299, in wrapper\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.9/site-packages/openai/resources/completions.py\", line 532, in create\n return self._post(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.9/site-packages/openai/_base_client.py\", line 1055, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.9/site-packages/openai/_base_client.py\", line 834, in request\n return self._request(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.9/site-packages/openai/_base_client.py\", line 877, in _request\n raise self._make_status_error_from_response(err.response) from None\nopenai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-wrong****-key. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}\n", "error.type": "openai.AuthenticationError", "language": "python", "openai.request.endpoint": "/v1/completions", "openai.request.method": "POST", "openai.request.model": "text-curie-001", "openai.request.provider": "OpenAI", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 13139000, - "start": 1752529470764867000 + "duration": 10044584, + "start": 1776178497707857300 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json deleted file mode 100644 index e38fce284cf..00000000000 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json +++ /dev/null @@ -1,37 +0,0 @@ -[[ - { - "name": "openai.request", - "service": "tests.contrib.openai", - "resource": "parseChatCompletion", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "68e8c6a300000000", - "component": "openai", - "language": "python", - "openai.organization.name": "datadog-4", - "openai.request.endpoint": "/v1/chat/completions", - "openai.request.method": "POST", - "openai.request.model": "gpt-4o-2024-08-06", - "openai.request.provider": "OpenAI", - "openai.response.model": "gpt-4o-2024-08-06", - "runtime-id": "badc5e64b8f74430b37922d3e500ce02" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 10000, - "openai.organization.ratelimit.requests.remaining": 9999, - "openai.organization.ratelimit.tokens.limit": 30000000, - "openai.organization.ratelimit.tokens.remaining": 29999985, - "process_id": 2621 - }, - "duration": 2702173751, - "start": 1760085667235632052 - }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_chat_completion_resp_returns.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_chat_completion_resp_returns.json index a8d51f333a2..453c694a970 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_chat_completion_resp_returns.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_chat_completion_resp_returns.json @@ -10,22 +10,24 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3a00000000", + "_dd.p.tid": "69de554300000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.request.endpoint": "/v1/chat/completions", "openai.request.method": "POST", "openai.request.model": "gpt-3.5-turbo", "openai.request.provider": "OpenAI", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 1543000, - "start": 1752529466595429000 + "duration": 2589292, + "start": 1776178499793388801 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_completion_resp_returns.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_completion_resp_returns.json index d0bdc8c6226..8334c8a84b7 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_completion_resp_returns.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_completion_resp_returns.json @@ -10,22 +10,24 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3600000000", + "_dd.p.tid": "69de554300000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.request.endpoint": "/v1/completions", "openai.request.method": "POST", "openai.request.model": "curie", "openai.request.provider": "OpenAI", - "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196" + "runtime-id": "a51e01fca0a04f029fd471b3a81ca9c9" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 88640 + "_sampling_priority_v1": 1.0, + "process_id": 91935.0 }, - "duration": 1411000, - "start": 1752529462386000000 + "duration": 1414708, + "start": 1776178499908281385 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json deleted file mode 100644 index 15cb4f49b28..00000000000 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json +++ /dev/null @@ -1,31 +0,0 @@ -[[ - { - "name": "openai.request", - "service": "tests.contrib.openai", - "resource": "createResponse", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "68757a9300000000", - "component": "openai", - "language": "python", - "openai.request.endpoint": "/v1/responses", - "openai.request.method": "POST", - "openai.request.model": "gpt-4.1", - "openai.request.provider": "OpenAI", - "runtime-id": "453a86f9c95343e790ed4376c3cac275" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 89248 - }, - "duration": 737000, - "start": 1752529555721687000 - }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_async.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_async.json index fc35385d292..bad453a39c6 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_async.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_async.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3700000000", + "_dd.p.tid": "69de553d00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "d9b148db639f4b36bf922f22d0bcb66d" + "runtime-id": "38b07fc5260f47aeabb52cf73933daba" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88719 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 92283.0 }, - "duration": 43064000, - "start": 1752529463142965000 + "duration": 11085333, + "start": 1776178493590962965 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-None].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-None].json index 12ade549a7e..7183fb8c094 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-None].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-None].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3d00000000", + "_dd.p.tid": "69de553e00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "25cd4eff587644fb950f3906bb344a5a" + "runtime-id": "2971aaff077540dcaa26223af0bf4d41" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88799 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 92305.0 }, - "duration": 31695000, - "start": 1752529469044560000 + "duration": 10866958, + "start": 1776178494783986299 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v0].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v0].json index 4ba1afcd839..c6bbd3870ce 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v0].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v0].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3b00000000", + "_dd.p.tid": "69de554300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "4e54e88b4fb3482280b09809ac35eed9" + "runtime-id": "1f8aaa78c8cf42e7b3c0886e45def77d" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88766 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 92695.0 }, - "duration": 26353000, - "start": 1752529467425300000 + "duration": 9246875, + "start": 1776178499520442676 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v1].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v1].json index 47fb2f70b82..1640027ca3d 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v1].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v1].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3400000000", + "_dd.p.tid": "69de554600000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "59df510ced7141fda226cc9ff3daa278" + "runtime-id": "a18d10c301b64ef28d7238d1ab46a360" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88676 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 92845.0 }, - "duration": 73806000, - "start": 1752529460115687000 + "duration": 11052417, + "start": 1776178502397630344 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-None].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-None].json index e56a93a3be1..6c0126bcc9c 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-None].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-None].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3300000000", + "_dd.p.tid": "69de554800000000", + "_dd.svc_src": "mysvc", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "a579b57015e04f78bec86598534dff4d" + "runtime-id": "6f37d17fd5c048f2b1d74ad038bdb3be" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88666 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 92906.0 }, - "duration": 25076000, - "start": 1752529459115211000 + "duration": 9251458, + "start": 1776178504619704137 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v0].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v0].json index 73c0f3fe385..e9e61f6990e 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v0].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v0].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3900000000", + "_dd.p.tid": "69de554100000000", + "_dd.svc_src": "mysvc", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "5e337c161bd4400b9b18691931e067f4" + "runtime-id": "41e7a6a6bcda4b989cb6a5b20d31b372" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88755 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 92375.0 }, - "duration": 28806000, - "start": 1752529465964617000 + "duration": 10753208, + "start": 1776178497086134592 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v1].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v1].json index b1c692a3bf4..48f108406a1 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v1].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v1].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3800000000", + "_dd.p.tid": "69de554700000000", + "_dd.svc_src": "mysvc", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "eaf23bb4f7e943f98dc86afefc8b93c7" + "runtime-id": "fce33cc70a9d4cc087da4a8104624cb5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88740 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 92875.0 }, - "duration": 25802000, - "start": 1752529464206721000 + "duration": 9107500, + "start": 1776178503554665386 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_sync.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_sync.json index f22ccac6949..7b13e53eaa2 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_sync.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_sync.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68757a3500000000", + "_dd.p.tid": "69de553f00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "ada", "openai.request.provider": "OpenAI", "openai.response.model": "ada", - "runtime-id": "a59755448ecb4cd984d13a095085c601" + "runtime-id": "b36ae4d06f5249fbb5dbd7602473fae1" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 3000, - "openai.organization.ratelimit.requests.remaining": 2999, - "openai.organization.ratelimit.tokens.limit": 250000, - "openai.organization.ratelimit.tokens.remaining": 249979, - "process_id": 88694 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 3000.0, + "openai.organization.ratelimit.requests.remaining": 2999.0, + "openai.organization.ratelimit.tokens.limit": 250000.0, + "openai.organization.ratelimit.tokens.remaining": 249979.0, + "process_id": 92327.0 }, - "duration": 30634000, - "start": 1752529461390420000 + "duration": 11548917, + "start": 1776178495948220799 }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_response_parse.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_response_parse.json index c0eaba45127..07c1f6e4938 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_response_parse.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_response_parse.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68e8cc7b00000000", + "_dd.p.tid": "69de55a900000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", "openai.organization.name": "datadog-4", @@ -19,19 +21,19 @@ "openai.request.model": "gpt-4o-2024-08-06", "openai.request.provider": "OpenAI", "openai.response.model": "gpt-4o-2024-08-06", - "runtime-id": "806dc06dcaac49bea7a743d7496927b1" + "runtime-id": "59e87a92d11b4fb79e31606d290b1ab0" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "openai.organization.ratelimit.requests.limit": 10000, - "openai.organization.ratelimit.requests.remaining": 9999, - "openai.organization.ratelimit.tokens.limit": 30000000, - "openai.organization.ratelimit.tokens.remaining": 29999868, - "process_id": 7943 + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 10000.0, + "openai.organization.ratelimit.requests.remaining": 9999.0, + "openai.organization.ratelimit.tokens.limit": 30000000.0, + "openai.organization.ratelimit.tokens.remaining": 29999868.0, + "process_id": 94238.0 }, - "duration": 5918553197, - "start": 1760087163619515511 + "duration": 37302792, + "start": 1776178601592941292 }]] From 640b8187894e3d1c98636a4f7e1e0fc43c7a24cf Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 08:32:45 -0700 Subject: [PATCH 015/114] missed some openai snapshot updates --- ...penai.test_openai.test_response_tools.json | 39 +++++++++++++++++++ ..._openai_v1.test_chat_completion_parse.json | 39 +++++++++++++++++++ ..._empty_streamed_response_resp_returns.json | 33 ++++++++++++++++ 3 files changed, 111 insertions(+) create mode 100644 tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json create mode 100644 tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json create mode 100644 tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json new file mode 100644 index 00000000000..62f3bcd8aa6 --- /dev/null +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json @@ -0,0 +1,39 @@ +[[ + { + "name": "openai.request", + "service": "tests.contrib.openai", + "resource": "createResponse", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de5b2800000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", + "component": "openai", + "language": "python", + "openai.organization.name": "datadog-staging", + "openai.request.endpoint": "/v1/responses", + "openai.request.method": "POST", + "openai.request.model": "gpt-4.1", + "openai.request.provider": "OpenAI", + "openai.response.model": "gpt-4.1-2025-04-14", + "runtime-id": "1229b77c84084153beb2761483160ba7" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 10000.0, + "openai.organization.ratelimit.requests.remaining": 9999.0, + "openai.organization.ratelimit.tokens.limit": 30000000.0, + "openai.organization.ratelimit.tokens.remaining": 29999634.0, + "process_id": 97222.0 + }, + "duration": 26943209, + "start": 1776180008333659083 + }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json new file mode 100644 index 00000000000..e86e68c14cf --- /dev/null +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json @@ -0,0 +1,39 @@ +[[ + { + "name": "openai.request", + "service": "tests.contrib.openai", + "resource": "parseChatCompletion", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de5b2100000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", + "component": "openai", + "language": "python", + "openai.organization.name": "datadog-4", + "openai.request.endpoint": "/v1/chat/completions", + "openai.request.method": "POST", + "openai.request.model": "gpt-4o-2024-08-06", + "openai.request.provider": "OpenAI", + "openai.response.model": "gpt-4o-2024-08-06", + "runtime-id": "1229b77c84084153beb2761483160ba7" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "openai.organization.ratelimit.requests.limit": 10000.0, + "openai.organization.ratelimit.requests.remaining": 9999.0, + "openai.organization.ratelimit.tokens.limit": 30000000.0, + "openai.organization.ratelimit.tokens.remaining": 29999985.0, + "process_id": 97222.0 + }, + "duration": 18915250, + "start": 1776180001286654886 + }]] diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json new file mode 100644 index 00000000000..904114416e7 --- /dev/null +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json @@ -0,0 +1,33 @@ +[[ + { + "name": "openai.request", + "service": "tests.contrib.openai", + "resource": "createResponse", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de5b2c00000000", + "_dd.svc_src": "tests.contrib.openai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", + "component": "openai", + "language": "python", + "openai.request.endpoint": "/v1/responses", + "openai.request.method": "POST", + "openai.request.model": "gpt-4.1", + "openai.request.provider": "OpenAI", + "runtime-id": "1229b77c84084153beb2761483160ba7" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 97222.0 + }, + "duration": 486166, + "start": 1776180012947976336 + }]] From 56f2bcaa450f7547403aece9674dadb7a410f303 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 08:48:26 -0700 Subject: [PATCH 016/114] update gunicorn snapshots --- ...n.test_span_schematization[None-None].json | 25 ++++++++------ ...orn.test_span_schematization[None-v0].json | 25 ++++++++------ ...orn.test_span_schematization[None-v1].json | 25 ++++++++------ ....test_span_schematization[mysvc-None].json | 34 ++++++++++--------- ...rn.test_span_schematization[mysvc-v0].json | 34 ++++++++++--------- ...rn.test_span_schematization[mysvc-v1].json | 34 ++++++++++--------- 6 files changed, 96 insertions(+), 81 deletions(-) diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-None].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-None].json index 5ee941952be..c95799db8cc 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-None].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-None].json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da7d200000000", + "_dd.p.tid": "69de5ee500000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "85039f41590f4dc78f9142901fe4638a", + "runtime-id": "1f4030a5d7a7432d8e3fe824fc6f3586", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 98220.0 + "process_id": 8718.0 }, - "duration": 693208, - "start": 1771939794279899637 + "duration": 925000, + "start": 1776180965870595138 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 191167, - "start": 1771939794280164970 + "duration": 274292, + "start": 1776180965870905513 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 45750, - "start": 1771939794280276387 + "duration": 68584, + "start": 1776180965871057971 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "list_iterator" }, - "duration": 196250, - "start": 1771939794280377512 + "duration": 287834, + "start": 1776180965871207846 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v0].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v0].json index c1d34596812..766687738dc 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v0].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v0].json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da7da00000000", + "_dd.p.tid": "69de5ef100000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "915707a6631747e1b2f645f8cfb89419", + "runtime-id": "22130161b257419cbcf3a5da0d7154c4", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 98360.0 + "process_id": 8844.0 }, - "duration": 765083, - "start": 1771939802849509835 + "duration": 1052667, + "start": 1776180977077949504 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 208417, - "start": 1771939802849817293 + "duration": 351333, + "start": 1776180977078255171 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 49417, - "start": 1771939802849939626 + "duration": 108750, + "start": 1776180977078440546 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "list_iterator" }, - "duration": 208292, - "start": 1771939802850047876 + "duration": 328667, + "start": 1776180977078642004 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v1].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v1].json index 0d21cd045d2..d485be1508a 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v1].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v1].json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da7e300000000", + "_dd.p.tid": "69de5efc00000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "7fde573b8ad44778af4fa7a0f65e6558", + "runtime-id": "18bf1e9f3de24ad5a5aa2b75721e49dc", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 98505.0 + "process_id": 8970.0 }, - "duration": 708292, - "start": 1771939811584425964 + "duration": 737167, + "start": 1776180988547617343 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 197041, - "start": 1771939811584705631 + "duration": 197833, + "start": 1776180988547816135 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 49084, - "start": 1771939811584814672 + "duration": 41250, + "start": 1776180988547938760 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "list_iterator" }, - "duration": 186833, - "start": 1771939811584923881 + "duration": 269208, + "start": 1776180988548029885 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-None].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-None].json index 6114f5c0f05..978d313abc6 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-None].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-None].json @@ -10,24 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de5eeb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "842ea41a2a2a483eb235e866daaac025", + "runtime-id": "475726be0fe9467f8829d9e36346c09d", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 56346 + "_sampling_priority_v1": 1.0, + "process_id": 8781.0 }, - "duration": 462451, - "start": 1691167684511805964 + "duration": 1021375, + "start": 1776180971433344585 }, { "name": "wsgi.application", @@ -39,11 +41,11 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 140723, - "start": 1691167684511944549 + "duration": 318792, + "start": 1776180971433672043 }, { "name": "wsgi.start_response", @@ -55,12 +57,12 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "span.kind": "server" }, - "duration": 30841, - "start": 1691167684512024496 + "duration": 83333, + "start": 1776180971433849460 }, { "name": "wsgi.response", @@ -72,10 +74,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "result_class": "list_iterator" }, - "duration": 142642, - "start": 1691167684512106102 + "duration": 310333, + "start": 1776180971434025960 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v0].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v0].json index b13e0f1f59e..a1cf0ca03c9 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v0].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v0].json @@ -10,24 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de5ef600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "c900be4edcf14349ba363026c622e892", + "runtime-id": "d6fda4dd61e143e2964a32757ae2f3d1", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 56380 + "_sampling_priority_v1": 1.0, + "process_id": 8907.0 }, - "duration": 461856, - "start": 1691167750014594423 + "duration": 742584, + "start": 1776180982821247465 }, { "name": "wsgi.application", @@ -39,11 +41,11 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 138522, - "start": 1691167750014724055 + "duration": 225458, + "start": 1776180982821487757 }, { "name": "wsgi.start_response", @@ -55,12 +57,12 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "span.kind": "server" }, - "duration": 31111, - "start": 1691167750014801197 + "duration": 59250, + "start": 1776180982821617340 }, { "name": "wsgi.response", @@ -72,10 +74,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "result_class": "list_iterator" }, - "duration": 151701, - "start": 1691167750014883943 + "duration": 232875, + "start": 1776180982821735799 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v1].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v1].json index d3ddf2e30ff..15d0627be09 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v1].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v1].json @@ -10,24 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de5f0200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "5f3f880359484ee7822a06c6fdc7c822", + "runtime-id": "8adc6d5352ea4ac7928ffbe000becb22", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 56414 + "_sampling_priority_v1": 1.0, + "process_id": 9040.0 }, - "duration": 501600, - "start": 1691167815591616449 + "duration": 574500, + "start": 1776180994301587304 }, { "name": "wsgi.application", @@ -39,11 +41,11 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 160652, - "start": 1691167815591769274 + "duration": 192875, + "start": 1776180994301777137 }, { "name": "wsgi.start_response", @@ -55,12 +57,12 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "span.kind": "server" }, - "duration": 36141, - "start": 1691167815591857649 + "duration": 47084, + "start": 1776180994301894637 }, { "name": "wsgi.response", @@ -72,10 +74,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "result_class": "list_iterator" }, - "duration": 139996, - "start": 1691167815591957809 + "duration": 160917, + "start": 1776180994301986387 }]] From dd7f64e2def2b9c6e5aca728d119f48332598019 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 10:04:28 -0700 Subject: [PATCH 017/114] update aiohttp snapshots --- ....test_aiohttp_client.test_200_request.json | 23 ++++--- ..._aiohttp_client.test_200_request_post.json | 23 ++++--- ....test_aiohttp_client.test_500_request.json | 23 ++++--- ..._aiohttp_client.test_auth_200_request.json | 23 ++++--- ...ttp.test_aiohttp_client.test_base_url.json | 23 ++++--- ...nfigure_global_service_name_env[None].json | 23 ++++--- ...configure_global_service_name_env[v0].json | 23 ++++--- ...configure_global_service_name_env[v1].json | 23 ++++--- ...onfigure_service_name_split_by_domain.json | 23 ++++--- ...st_aiohttp_client.test_trace_multiple.json | 69 +++++++++++-------- ...t_aiohttp_client.test_trace_parenting.json | 29 ++++---- ...iohttp_client.test_trace_query_string.json | 23 ++++--- ...st_unspecified_service_name_env[None].json | 23 ++++--- ...test_unspecified_service_name_env[v0].json | 23 ++++--- ...test_unspecified_service_name_env[v1].json | 23 ++++--- ...nja2.test_template_rendering_snapshot.json | 16 +++-- ...t_template_rendering_snapshot[pyloop].json | 27 -------- ...ate_rendering_snapshot_patched_server.json | 28 ++++---- 18 files changed, 248 insertions(+), 220 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot[pyloop].json diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_200_request.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_200_request.json index 1a407e674da..e41d2d57267 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_200_request.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_200_request.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47", + "runtime-id": "ee9feda0416e4d809184aae62cb36e25", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 3943217, - "start": 1691160518131287373 + "duration": 3687542, + "start": 1776186001565239628 }, { "name": "TCPConnector.connect", @@ -40,9 +42,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 2305283, - "start": 1691160518131963432 + "duration": 1855459, + "start": 1776186001565725461 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_200_request_post.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_200_request_post.json index ad72fff13c5..1a9d1c060b6 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_200_request_post.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_200_request_post.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "POST", "http.status_code": "200", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47", + "runtime-id": "ee9feda0416e4d809184aae62cb36e25", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 2705952, - "start": 1691160518175984007 + "duration": 2459000, + "start": 1776186001527780169 }, { "name": "TCPConnector.connect", @@ -40,9 +42,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 971343, - "start": 1691160518176495868 + "duration": 927291, + "start": 1776186001528118628 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_500_request.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_500_request.json index 791a4538acc..fa625405a6e 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_500_request.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_500_request.json @@ -10,7 +10,9 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "500", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/500", "language": "python", "out.host": "localhost", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47", + "runtime-id": "ee9feda0416e4d809184aae62cb36e25", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 2492434, - "start": 1691160518184697570 + "duration": 2865500, + "start": 1776186001510473003 }, { "name": "TCPConnector.connect", @@ -40,9 +42,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 1119993, - "start": 1691160518185087059 + "duration": 1314291, + "start": 1776186001510823878 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_auth_200_request.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_auth_200_request.json index 63d69f2ead7..e0c6b60b2c3 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_auth_200_request.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_auth_200_request.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47", + "runtime-id": "ee9feda0416e4d809184aae62cb36e25", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 3082194, - "start": 1691160518166675507 + "duration": 2920917, + "start": 1776186001498439336 }, { "name": "TCPConnector.connect", @@ -40,9 +42,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 1305436, - "start": 1691160518167512215 + "duration": 1109625, + "start": 1776186001499257711 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_base_url.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_base_url.json index 1a407e674da..56a9d31ba19 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_base_url.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_base_url.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de72a500000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47", + "runtime-id": "d5c13ee5981a4a1b94e442d4dffee413", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12900.0 }, - "duration": 3943217, - "start": 1691160518131287373 + "duration": 2757292, + "start": 1776186021321336054 }, { "name": "TCPConnector.connect", @@ -40,9 +42,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de72a500000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 2305283, - "start": 1691160518131963432 + "duration": 1333041, + "start": 1776186021321866721 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[None].json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[None].json index 423c49a6d7b..60581ab99c7 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[None].json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[None].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729200000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "38ad32edbcf9402caa80d653ecca8028", + "runtime-id": "d0141266c04541438613709cbdb80c9d", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2207 + "_sampling_priority_v1": 1.0, + "process_id": 12855.0 }, - "duration": 4634431, - "start": 1691160519753380382 + "duration": 2789625, + "start": 1776186002269666962 }, { "name": "TCPConnector.connect", @@ -40,9 +42,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729200000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 3172373, - "start": 1691160519753697695 + "duration": 1516084, + "start": 1776186002269906753 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[v0].json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[v0].json index 07397dff03a..ad1e22fd599 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[v0].json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[v0].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729300000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "d0a85359bd8643f7b8f3bd198b9352f6", + "runtime-id": "3424aed5ee7a4805ac6ce655f075dec4", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2212 + "_sampling_priority_v1": 1.0, + "process_id": 12886.0 }, - "duration": 4550133, - "start": 1691160520298108746 + "duration": 3318125, + "start": 1776186003671788171 }, { "name": "TCPConnector.connect", @@ -40,9 +42,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729300000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 3167129, - "start": 1691160520298456315 + "duration": 1917292, + "start": 1776186003672056212 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[v1].json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[v1].json index 113c980c7eb..a9a3e10f175 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[v1].json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_global_service_name_env[v1].json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729200000000", "_dd.peer.service.source": "out.host", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -20,17 +22,17 @@ "language": "python", "out.host": "localhost", "peer.service": "localhost", - "runtime-id": "6ada2da1ec9f42fc8d07b3f421d526fe", + "runtime-id": "e433302a2f234a229c77576370f52874", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2217 + "_sampling_priority_v1": 1.0, + "process_id": 12868.0 }, - "duration": 4512005, - "start": 1691160520844435724 + "duration": 2801417, + "start": 1776186002956000295 }, { "name": "TCPConnector.connect", @@ -42,9 +44,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729200000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 3233549, - "start": 1691160520844786295 + "duration": 1499042, + "start": 1776186002956268170 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_service_name_split_by_domain.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_service_name_split_by_domain.json index efead94df1c..1b1c5eb5d36 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_service_name_split_by_domain.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_configure_service_name_split_by_domain.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.aiohttp", "_dd.p.dm": "-0", - "_dd.p.tid": "6583754d00000000", + "_dd.p.tid": "69de729000000000", + "_dd.svc_src": "opt.split_by_domain", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -19,17 +21,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "4c401c35daea4876be809e40a325baeb", + "runtime-id": "ee9feda0416e4d809184aae62cb36e25", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11676 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 14881083, - "start": 1703114061731607250 + "duration": 4920375, + "start": 1776186000046828127 }, { "name": "TCPConnector.connect", @@ -42,9 +44,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.aiohttp", - "_dd.p.tid": "6583754d00000000", + "_dd.p.tid": "69de729000000000", + "_dd.svc_src": "opt.split_by_domain", "component": "aiohttp" }, - "duration": 2263416, - "start": 1703114061732442750 + "duration": 2249291, + "start": 1776186000048013919 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_multiple.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_multiple.json index edb367fd9cb..e613d002290 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_multiple.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_multiple.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47", + "runtime-id": "ee9feda0416e4d809184aae62cb36e25", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 2674066, - "start": 1691160523144470747 + "duration": 2629083, + "start": 1776186001578376795 }, { "name": "TCPConnector.connect", @@ -40,11 +42,12 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 1297932, - "start": 1691160523144863120 + "duration": 1010542, + "start": 1776186001578735461 }], [ { @@ -58,7 +61,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -66,17 +71,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47", + "runtime-id": "ee9feda0416e4d809184aae62cb36e25", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 1109957, - "start": 1691160523147338235 + "duration": 1387500, + "start": 1776186001581203711 }, { "name": "TCPConnector.connect", @@ -88,11 +93,12 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 68027, - "start": 1691160523147689523 + "duration": 71167, + "start": 1776186001581544003 }], [ { @@ -106,7 +112,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -114,17 +122,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47", + "runtime-id": "ee9feda0416e4d809184aae62cb36e25", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 1272609, - "start": 1691160523148597090 + "duration": 1142167, + "start": 1776186001582737503 }, { "name": "TCPConnector.connect", @@ -136,9 +144,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 52765, - "start": 1691160523148908424 + "duration": 57834, + "start": 1776186001583001336 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json index 36887f31e76..9688657a3e2 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "tests.contrib.aiohttp", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "language": "python", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47" + "runtime-id": "ee9feda0416e4d809184aae62cb36e25" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 2873243, - "start": 1691160523136168312 + "duration": 2863167, + "start": 1776186001600195211 }, { "name": "aiohttp.request", @@ -33,7 +35,7 @@ "type": "http", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -42,8 +44,8 @@ "out.host": "localhost", "span.kind": "client" }, - "duration": 2486123, - "start": 1691160523136422028 + "duration": 2523208, + "start": 1776186001600402295 }, { "name": "TCPConnector.connect", @@ -55,9 +57,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729100000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 1236231, - "start": 1691160523136754087 + "duration": 1111458, + "start": 1776186001600777795 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_query_string.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_query_string.json index 4f7e518a8eb..8ec05194c82 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_query_string.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_query_string.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729300000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "component": "aiohttp_client", "http.method": "GET", "http.query.string": "k1=v1&k2=v2&k3=v3&k4=v4", @@ -19,17 +21,17 @@ "http.url": "http://localhost:8001/status/200/?k1=v1&k2=v2&k3=v3&k4=v4", "language": "python", "out.host": "localhost", - "runtime-id": "de4fa08308ec4bc3a437ed78b9f99c47", + "runtime-id": "ee9feda0416e4d809184aae62cb36e25", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2189 + "_sampling_priority_v1": 1.0, + "process_id": 12658.0 }, - "duration": 3158550, - "start": 1691160523127153079 + "duration": 2892250, + "start": 1776186003022360420 }, { "name": "TCPConnector.connect", @@ -41,9 +43,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729300000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 1119517, - "start": 1691160523127706320 + "duration": 1052250, + "start": 1776186003023209212 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[None].json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[None].json index bfc8786e65d..5e02a31fe30 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[None].json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[None].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729000000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "80475ea11c124fb39f39268c1a8dd6e6", + "runtime-id": "26090c77982f45b19288e2ee2226db63", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2222 + "_sampling_priority_v1": 1.0, + "process_id": 12798.0 }, - "duration": 5636987, - "start": 1691160521379480379 + "duration": 2933042, + "start": 1776186000695739877 }, { "name": "TCPConnector.connect", @@ -40,9 +42,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de729000000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 3878468, - "start": 1691160521379965577 + "duration": 1577875, + "start": 1776186000696007461 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[v0].json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[v0].json index aa7a9cc810c..40283cac696 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[v0].json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[v0].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de728f00000000", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -18,17 +20,17 @@ "http.url": "http://localhost:8001/status/200", "language": "python", "out.host": "localhost", - "runtime-id": "46c94f5e0ef041cfb59591463f097660", + "runtime-id": "9bc101dd3cf34d0fa6a064ac00e98ff6", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2227 + "_sampling_priority_v1": 1.0, + "process_id": 12780.0 }, - "duration": 4832468, - "start": 1691160521952562158 + "duration": 3399792, + "start": 1776185999951614502 }, { "name": "TCPConnector.connect", @@ -40,9 +42,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de728f00000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 3429530, - "start": 1691160521952968183 + "duration": 1962708, + "start": 1776185999951914919 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[v1].json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[v1].json index 5e86a680e6b..81f982620c1 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[v1].json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_unspecified_service_name_env[v1].json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de728f00000000", "_dd.peer.service.source": "out.host", + "_dd.svc_src": "aiohttp_client", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -20,17 +22,17 @@ "language": "python", "out.host": "localhost", "peer.service": "localhost", - "runtime-id": "df73bafc708a46ab8bd75faf673a61e2", + "runtime-id": "e9e4b3ae131945d49baed1124e066bb8", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2232 + "_sampling_priority_v1": 1.0, + "process_id": 12767.0 }, - "duration": 5089045, - "start": 1691160522499306421 + "duration": 2784417, + "start": 1776185999268126543 }, { "name": "TCPConnector.connect", @@ -42,9 +44,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de728f00000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 3485549, - "start": 1691160522499779864 + "duration": 1498917, + "start": 1776185999268377293 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot.json b/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot.json index 8af91b31f48..5a2f013855c 100644 --- a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot.json +++ b/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de72c200000000", + "_dd.svc_src": "tests.contrib.aiohttp_jinja2", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp_jinja2", "aiohttp.template": "/template.jinja2", "component": "aiohttp_jinja2", "language": "python", - "runtime-id": "6675c2fe10fc41cbb714160b6c434a97" + "runtime-id": "e8bba615ea5443eeb4366e2fc854da00" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96725 + "_sampling_priority_v1": 1.0, + "process_id": 13982.0 }, - "duration": 579000, - "start": 1667240560690160000 + "duration": 702917, + "start": 1776186050333488470 }]] diff --git a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot[pyloop].json b/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot[pyloop].json deleted file mode 100644 index 9b8a03252ff..00000000000 --- a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot[pyloop].json +++ /dev/null @@ -1,27 +0,0 @@ -[[ - { - "name": "aiohttp.template", - "service": "tests.contrib.aiohttp_jinja2", - "resource": "aiohttp.template", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "template", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "aiohttp.template": "/template.jinja2", - "component": "aiohttp_jinja2", - "language": "python", - "runtime-id": "7fd5e3b1eea443a3a794aafc5862cc64" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96510 - }, - "duration": 571000, - "start": 1667240484733331000 - }]] diff --git a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot_patched_server.json b/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot_patched_server.json index e7091a55a3d..7b562c58238 100644 --- a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot_patched_server.json +++ b/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot_patched_server.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.aiohttp_jinja2", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de72c200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp_jinja2", "component": "aiohttp", "http.method": "GET", "http.route": "/template/", "http.status_code": "200", - "http.url": "http://127.0.0.1:45601/template/", - "http.useragent": "Python/3.9 aiohttp/3.8.4", + "http.url": "http://127.0.0.1:56919/template/", + "http.useragent": "Python/3.9 aiohttp/3.9.5", "language": "python", - "runtime-id": "328e4400ed094bfa91264883f71777a9", + "runtime-id": "e8bba615ea5443eeb4366e2fc854da00", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 13541 + "_sampling_priority_v1": 1.0, + "process_id": 13982.0 }, - "duration": 819042, - "start": 1692706257648916043 + "duration": 3167875, + "start": 1776186050277076303 }, { "name": "aiohttp.template", @@ -43,10 +45,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.aiohttp_jinja2", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "aiohttp.template": "/template.jinja2", "component": "aiohttp_jinja2" }, - "duration": 558792, - "start": 1692706257649020960 + "duration": 2516083, + "start": 1776186050277346845 }]] From 1ebc740dfb9d20404fd85a554bc37100b652b561 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 10:11:48 -0700 Subject: [PATCH 018/114] update django snapshots --- ..._appsec_snapshots.test_appsec_enabled.json | 140 ++++++---- ..._snapshots.test_appsec_enabled_attack.json | 146 ++++++----- ...pshots.test_request_ipblock_match_403.json | 246 +++++++++--------- ...s.test_request_ipblock_match_403_json.json | 246 +++++++++--------- ...hots.test_request_ipblock_nomatch_200.json | 232 +++++++---------- 5 files changed, 519 insertions(+), 491 deletions(-) diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled.json index 511dc80745a..57de69c36a5 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled.json @@ -17,9 +17,10 @@ "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de754900000000", "_dd.runtime_family": "python", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "asgi.version": "3.0", "component": "django", "django.request.class": "django.core.handlers.asgi.ASGIRequest", @@ -41,23 +42,23 @@ "http.version": "1.1", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "eda1cae1186a40c1b3f643d7bda2b98b", + "runtime-id": "a1e323b21c444f938b30ea08c54f3bbf", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 166.0, - "_dd.appsec.waf.duration": 113.0, - "_dd.appsec.waf.duration_ext": 226.54200074612163, + "_dd.appsec.waf.duration": 97.0, + "_dd.appsec.waf.duration_ext": 177.41699775797315, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 15127.0 + "process_id": 31623.0 }, - "duration": 3278000, - "start": 1771952002633779000 + "duration": 2691708, + "start": 1776186697653426964 }, { "name": "django.middleware", @@ -68,10 +69,11 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1744000, - "start": 1771952002634761000 + "duration": 1380333, + "start": 1776186697654305589 }, { "name": "django.middleware", @@ -82,10 +84,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 33000, - "start": 1771952002634816000 + "duration": 26000, + "start": 1776186697654340714 }, { "name": "django.middleware", @@ -96,10 +99,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1573000, - "start": 1771952002634881000 + "duration": 1265292, + "start": 1776186697654383422 }, { "name": "django.middleware", @@ -110,10 +114,11 @@ "parent_id": 4, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 31000, - "start": 1771952002634914000 + "duration": 23834, + "start": 1776186697654402422 }, { "name": "django.middleware", @@ -124,10 +129,11 @@ "parent_id": 4, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1437000, - "start": 1771952002634970000 + "duration": 1172875, + "start": 1776186697654439589 }, { "name": "django.middleware", @@ -138,10 +144,11 @@ "parent_id": 7, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 24000, - "start": 1771952002635004000 + "duration": 13709, + "start": 1776186697654457672 }, { "name": "django.middleware", @@ -152,10 +159,11 @@ "parent_id": 7, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1311000, - "start": 1771952002635052000 + "duration": 1097292, + "start": 1776186697654483672 }, { "name": "django.middleware", @@ -166,10 +174,11 @@ "parent_id": 10, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 53000, - "start": 1771952002635082000 + "duration": 45375, + "start": 1776186697654501131 }, { "name": "django.middleware", @@ -180,10 +189,11 @@ "parent_id": 10, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1195000, - "start": 1771952002635158000 + "duration": 1013041, + "start": 1776186697654561381 }, { "name": "django.middleware", @@ -194,10 +204,11 @@ "parent_id": 13, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 35000, - "start": 1771952002635187000 + "duration": 31125, + "start": 1776186697654580006 }, { "name": "django.middleware", @@ -208,10 +219,11 @@ "parent_id": 13, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1059000, - "start": 1771952002635244000 + "duration": 918541, + "start": 1776186697654623631 }, { "name": "django.middleware", @@ -222,10 +234,11 @@ "parent_id": 15, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 980000, - "start": 1771952002635272000 + "duration": 864833, + "start": 1776186697654641589 }, { "name": "django.middleware", @@ -236,10 +249,11 @@ "parent_id": 17, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 15000, - "start": 1771952002635300000 + "duration": 13125, + "start": 1776186697654658964 }, { "name": "django.middleware", @@ -250,10 +264,11 @@ "parent_id": 17, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 856000, - "start": 1771952002635336000 + "duration": 773500, + "start": 1776186697654684547 }, { "name": "django.middleware", @@ -264,10 +279,11 @@ "parent_id": 20, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 821000, - "start": 1771952002635359000 + "duration": 750542, + "start": 1776186697654699922 }, { "name": "django.middleware", @@ -278,10 +294,11 @@ "parent_id": 22, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 778000, - "start": 1771952002635383000 + "duration": 719000, + "start": 1776186697654717964 }, { "name": "django.middleware", @@ -292,10 +309,11 @@ "parent_id": 23, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 29000, - "start": 1771952002635615000 + "duration": 26667, + "start": 1776186697654929339 }, { "name": "django.middleware", @@ -306,10 +324,11 @@ "parent_id": 23, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 22000, - "start": 1771952002635792000 + "duration": 20209, + "start": 1776186697655095672 }, { "name": "django.view", @@ -320,10 +339,11 @@ "parent_id": 23, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 41000, - "start": 1771952002635983000 + "duration": 40625, + "start": 1776186697655274464 }, { "name": "django.middleware", @@ -334,10 +354,11 @@ "parent_id": 17, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 27000, - "start": 1771952002636214000 + "duration": 25250, + "start": 1776186697655473256 }, { "name": "django.middleware", @@ -348,10 +369,11 @@ "parent_id": 15, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 20000, - "start": 1771952002636272000 + "duration": 16750, + "start": 1776186697655518089 }, { "name": "django.middleware", @@ -362,10 +384,11 @@ "parent_id": 13, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 18000, - "start": 1771952002636324000 + "duration": 14042, + "start": 1776186697655553172 }, { "name": "django.middleware", @@ -376,10 +399,11 @@ "parent_id": 7, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 15000, - "start": 1771952002636382000 + "duration": 13000, + "start": 1776186697655592297 }, { "name": "django.middleware", @@ -390,10 +414,11 @@ "parent_id": 4, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 18000, - "start": 1771952002636426000 + "duration": 18250, + "start": 1776186697655623339 }, { "name": "django.middleware", @@ -404,8 +429,9 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 22000, - "start": 1771952002636473000 + "duration": 18875, + "start": 1776186697655659672 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled_attack.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled_attack.json index 8292a82db40..d1557f5017d 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled_attack.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled_attack.json @@ -18,10 +18,11 @@ "_dd.base_service": "", "_dd.origin": "appsec", "_dd.p.dm": "-5", - "_dd.p.tid": "689a0aeb00000000", + "_dd.p.tid": "69de754e00000000", "_dd.p.ts": "02", "_dd.runtime_family": "python", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "actor.ip": "127.0.0.1", "appsec.event": "true", "asgi.version": "3.0", @@ -43,25 +44,25 @@ "http.version": "1.1", "language": "python", "network.client.ip": "127.0.0.1", - "runtime-id": "7e4190511986495aa510dfd07af9e5eb", + "runtime-id": "e6d719f2ef1648999f1385f1fbb9a515", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, "_dd.appsec.event_rules.error_count": 0.0, "_dd.appsec.event_rules.loaded": 166.0, - "_dd.appsec.rasp.duration": 32.166, - "_dd.appsec.rasp.duration_ext": 103.75099736847915, + "_dd.appsec.rasp.duration": 67.166, + "_dd.appsec.rasp.duration_ext": 146.45799819845706, "_dd.appsec.rasp.rule.eval": 3.0, - "_dd.appsec.waf.duration": 139.042, - "_dd.appsec.waf.duration_ext": 268.41600265470333, + "_dd.appsec.waf.duration": 230.834, + "_dd.appsec.waf.duration_ext": 966.4579993113875, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 15113.0 + "process_id": 31699.0 }, - "duration": 9295000, + "duration": 14170625, "meta_struct": { "appsec": { "triggers": [ @@ -109,12 +110,12 @@ ] } ], - "span_id": 5559825017041716331 + "span_id": 13771019123070844178 } ] } }, - "start": 1771952000583343000 + "start": 1776186702057634633 }, { "name": "django.middleware", @@ -125,10 +126,11 @@ "parent_id": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 7559000, - "start": 1771952000584171000 + "duration": 11457500, + "start": 1776186702058774799 }, { "name": "django.middleware", @@ -139,10 +141,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 29000, - "start": 1771952000584218000 + "duration": 34375, + "start": 1776186702058817133 }, { "name": "django.middleware", @@ -153,10 +156,11 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 7395000, - "start": 1771952000584277000 + "duration": 11310084, + "start": 1776186702058873924 }, { "name": "django.middleware", @@ -167,10 +171,11 @@ "parent_id": 4, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 30000, - "start": 1771952000584311000 + "duration": 28375, + "start": 1776186702058895799 }, { "name": "django.middleware", @@ -181,10 +186,11 @@ "parent_id": 4, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 7193000, - "start": 1771952000584366000 + "duration": 11119458, + "start": 1776186702058939258 }, { "name": "django.middleware", @@ -195,10 +201,11 @@ "parent_id": 7, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 19000, - "start": 1771952000584402000 + "duration": 15084, + "start": 1776186702058958674 }, { "name": "django.middleware", @@ -209,10 +216,11 @@ "parent_id": 7, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 7064000, - "start": 1771952000584445000 + "duration": 11033583, + "start": 1776186702058987341 }, { "name": "django.middleware", @@ -223,10 +231,11 @@ "parent_id": 10, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 55000, - "start": 1771952000584477000 + "duration": 55125, + "start": 1776186702059006591 }, { "name": "django.middleware", @@ -237,10 +246,11 @@ "parent_id": 10, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 6942000, - "start": 1771952000584556000 + "duration": 10935333, + "start": 1776186702059076258 }, { "name": "django.middleware", @@ -251,10 +261,11 @@ "parent_id": 13, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 35000, - "start": 1771952000584587000 + "duration": 38833, + "start": 1776186702059095633 }, { "name": "django.middleware", @@ -265,10 +276,11 @@ "parent_id": 13, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 6800000, - "start": 1771952000584647000 + "duration": 10803375, + "start": 1776186702059165466 }, { "name": "django.middleware", @@ -279,10 +291,11 @@ "parent_id": 15, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 6710000, - "start": 1771952000584678000 + "duration": 10731458, + "start": 1776186702059186633 }, { "name": "django.middleware", @@ -293,10 +306,11 @@ "parent_id": 17, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 19000, - "start": 1771952000584707000 + "duration": 14125, + "start": 1776186702059206216 }, { "name": "django.middleware", @@ -307,10 +321,11 @@ "parent_id": 17, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 6573000, - "start": 1771952000584749000 + "duration": 10619375, + "start": 1776186702059234466 }, { "name": "django.middleware", @@ -321,10 +336,11 @@ "parent_id": 20, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 6534000, - "start": 1771952000584776000 + "duration": 10593791, + "start": 1776186702059251383 }, { "name": "django.middleware", @@ -335,10 +351,11 @@ "parent_id": 22, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 6493000, - "start": 1771952000584803000 + "duration": 10554000, + "start": 1776186702059271549 }, { "name": "django.middleware", @@ -349,10 +366,11 @@ "parent_id": 23, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 26000, - "start": 1771952000586368000 + "duration": 39666, + "start": 1776186702061517883 }, { "name": "django.middleware", @@ -363,10 +381,11 @@ "parent_id": 23, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 19000, - "start": 1771952000586419000 + "duration": 18834, + "start": 1776186702061583549 }, { "name": "django.middleware", @@ -377,10 +396,11 @@ "parent_id": 23, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 24000, - "start": 1771952000591151000 + "duration": 40084, + "start": 1776186702069618299 }, { "name": "django.middleware", @@ -391,10 +411,11 @@ "parent_id": 17, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 30000, - "start": 1771952000591346000 + "duration": 33125, + "start": 1776186702069875883 }, { "name": "django.middleware", @@ -405,10 +426,11 @@ "parent_id": 15, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 24000, - "start": 1771952000591410000 + "duration": 20042, + "start": 1776186702069934216 }, { "name": "django.middleware", @@ -419,10 +441,11 @@ "parent_id": 13, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 18000, - "start": 1771952000591468000 + "duration": 16583, + "start": 1776186702069986716 }, { "name": "django.middleware", @@ -433,10 +456,11 @@ "parent_id": 7, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 17000, - "start": 1771952000591530000 + "duration": 13750, + "start": 1776186702070037591 }, { "name": "django.middleware", @@ -447,10 +471,11 @@ "parent_id": 4, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 80000, - "start": 1771952000591579000 + "duration": 99250, + "start": 1776186702070074924 }, { "name": "django.middleware", @@ -461,8 +486,9 @@ "parent_id": 2, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 25000, - "start": 1771952000591693000 + "duration": 24083, + "start": 1776186702070199716 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403.json index e135e677f97..afee52f74af 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403.json @@ -7,18 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "web", - "error": 0, "meta": { "_dd.appsec.event_rules.version": "rules_good", - "_dd.appsec.json": "{\"triggers\":[{\"rule\":{\"id\":\"blk-001-001\",\"name\":\"Block IP addresses\",\"on_match\":[\"block\"],\"tags\":{\"category\":\"blocking\",\"type\":\"ip_addresses\"}},\"rule_matches\":[{\"operator\":\"ip_match\",\"operator_value\":\"\",\"parameters\":[{\"address\":\"http.client_ip\",\"key_path\":[],\"value\":\"8.8.4.4\",\"highlight\":[\"8.8.4.4\"]}]}],\"span_id\":10192376353237234254}]}", + "_dd.appsec.rc_products": "[] u:0 r:2", "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.origin": "appsec", "_dd.p.dm": "-5", - "_dd.p.tid": "65c1342000000000", + "_dd.p.tid": "69de754b00000000", "_dd.p.ts": "02", "_dd.runtime_family": "python", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "actor.ip": "8.8.4.4", "appsec.blocked": "true", "appsec.event": "true", @@ -33,34 +33,71 @@ "http.request.headers.accept": "text/html", "http.request.headers.accept-encoding": "gzip, deflate", "http.request.headers.host": "localhost:8000", - "http.request.headers.user-agent": "python-requests/2.31.0", + "http.request.headers.user-agent": "python-requests/2.32.3", "http.request.headers.x-real-ip": "8.8.4.4", - "http.response.headers.content-length": "1460", + "http.response.headers.content-length": "1666", "http.response.headers.content-type": "text/html", "http.route": "^$", "http.status_code": "403", "http.url": "http://localhost:8000/", - "http.useragent": "python-requests/2.31.0", + "http.useragent": "python-requests/2.32.3", "http.version": "1.1", "language": "python", "network.client.ip": "8.8.4.4", - "runtime-id": "e57f95b810654fb9aa3c9b4d196e20be", + "runtime-id": "4d53068ddf834e61826a4790d3eb7fc9", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, - "_dd.appsec.event_rules.error_count": 0, - "_dd.appsec.event_rules.loaded": 7, - "_dd.appsec.waf.duration": 23.25, - "_dd.appsec.waf.duration_ext": 73.43292236328125, - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.appsec.event_rules.error_count": 0.0, + "_dd.appsec.event_rules.loaded": 8.0, + "_dd.appsec.waf.duration": 23.917, + "_dd.appsec.waf.duration_ext": 87.1660013217479, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 48163 + "_sampling_priority_v1": 2.0, + "process_id": 31661.0 }, - "duration": 2787875, - "start": 1707160608620402630 + "duration": 3132334, + "meta_struct": { + "appsec": { + "triggers": [ + { + "rule": { + "id": "blk-001-001", + "name": "Block IP addresses", + "tags": { + "type": "ip_addresses", + "category": "blocking" + }, + "on_match": [ + "block" + ] + }, + "rule_matches": [ + { + "operator": "ip_match", + "operator_value": "", + "parameters": [ + { + "address": "http.client_ip", + "key_path": [], + "value": "8.8.4.4", + "highlight": [ + "8.8.4.4" + ] + } + ] + } + ], + "security_response_id": "22e0f4c3-b299-4284-1b2a-5b83885ec276", + "span_id": 12016842994518807667 + } + ] + } + }, + "start": 1776186699845214423 }, { "name": "django.middleware", @@ -69,14 +106,13 @@ "trace_id": 0, "span_id": 2, "parent_id": 1, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1442334, - "start": 1707160608621185213 + "duration": 1503000, + "start": 1776186699846338923 }, { "name": "django.middleware", @@ -85,14 +121,13 @@ "trace_id": 0, "span_id": 3, "parent_id": 2, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 17708, - "start": 1707160608621214172 + "duration": 28500, + "start": 1776186699846378215 }, { "name": "django.middleware", @@ -101,14 +136,13 @@ "trace_id": 0, "span_id": 4, "parent_id": 2, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1352459, - "start": 1707160608621249463 + "duration": 1374750, + "start": 1776186699846425382 }, { "name": "django.middleware", @@ -117,14 +151,13 @@ "trace_id": 0, "span_id": 6, "parent_id": 4, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 20292, - "start": 1707160608621270505 + "duration": 26833, + "start": 1776186699846447382 }, { "name": "django.middleware", @@ -133,14 +166,13 @@ "trace_id": 0, "span_id": 7, "parent_id": 4, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1262750, - "start": 1707160608621313547 + "duration": 1271958, + "start": 1776186699846489090 }, { "name": "django.middleware", @@ -149,14 +181,13 @@ "trace_id": 0, "span_id": 9, "parent_id": 7, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9667, - "start": 1707160608621331630 + "duration": 16542, + "start": 1776186699846509673 }, { "name": "django.middleware", @@ -165,14 +196,13 @@ "trace_id": 0, "span_id": 10, "parent_id": 7, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1197125, - "start": 1707160608621354963 + "duration": 1186750, + "start": 1776186699846540590 }, { "name": "django.middleware", @@ -181,14 +211,13 @@ "trace_id": 0, "span_id": 12, "parent_id": 10, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 14417, - "start": 1707160608621371255 + "duration": 49667, + "start": 1776186699846560590 }, { "name": "django.middleware", @@ -197,14 +226,13 @@ "trace_id": 0, "span_id": 13, "parent_id": 10, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1148541, - "start": 1707160608621399422 + "duration": 1091042, + "start": 1776186699846628965 }, { "name": "django.middleware", @@ -213,14 +241,13 @@ "trace_id": 0, "span_id": 14, "parent_id": 13, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 27500, - "start": 1707160608621417255 + "duration": 35625, + "start": 1776186699846653298 }, { "name": "django.middleware", @@ -229,14 +256,13 @@ "trace_id": 0, "span_id": 15, "parent_id": 13, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1061375, - "start": 1707160608621460380 + "duration": 980625, + "start": 1776186699846704382 }, { "name": "django.middleware", @@ -245,14 +271,13 @@ "trace_id": 0, "span_id": 17, "parent_id": 15, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1010541, - "start": 1707160608621479797 + "duration": 919833, + "start": 1776186699846725965 }, { "name": "django.middleware", @@ -261,14 +286,13 @@ "trace_id": 0, "span_id": 19, "parent_id": 17, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 7667, - "start": 1707160608621497463 + "duration": 14833, + "start": 1776186699846746507 }, { "name": "django.middleware", @@ -277,14 +301,13 @@ "trace_id": 0, "span_id": 20, "parent_id": 17, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 925750, - "start": 1707160608621518380 + "duration": 819875, + "start": 1776186699846775423 }, { "name": "django.middleware", @@ -293,14 +316,13 @@ "trace_id": 0, "span_id": 22, "parent_id": 20, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 903000, - "start": 1707160608621536130 + "duration": 794333, + "start": 1776186699846793507 }, { "name": "django.middleware", @@ -309,14 +331,13 @@ "trace_id": 0, "span_id": 23, "parent_id": 22, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 876708, - "start": 1707160608621551172 + "duration": 761333, + "start": 1776186699846812632 }, { "name": "django.middleware", @@ -325,14 +346,13 @@ "trace_id": 0, "span_id": 24, "parent_id": 23, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 18209, - "start": 1707160608621908713 + "duration": 40625, + "start": 1776186699847040840 }, { "name": "django.middleware", @@ -341,14 +361,13 @@ "trace_id": 0, "span_id": 25, "parent_id": 23, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 12708, - "start": 1707160608622051672 + "duration": 22000, + "start": 1776186699847231715 }, { "name": "django.view", @@ -357,14 +376,13 @@ "trace_id": 0, "span_id": 26, "parent_id": 23, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 36042, - "start": 1707160608622216088 + "duration": 41083, + "start": 1776186699847410882 }, { "name": "django.middleware", @@ -373,14 +391,13 @@ "trace_id": 0, "span_id": 21, "parent_id": 17, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 20375, - "start": 1707160608622464130 + "duration": 26459, + "start": 1776186699847611298 }, { "name": "django.middleware", @@ -389,14 +406,13 @@ "trace_id": 0, "span_id": 18, "parent_id": 15, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 11875, - "start": 1707160608622505213 + "duration": 18584, + "start": 1776186699847658548 }, { "name": "django.middleware", @@ -405,14 +421,13 @@ "trace_id": 0, "span_id": 16, "parent_id": 13, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 8375, - "start": 1707160608622535172 + "duration": 15542, + "start": 1776186699847697090 }, { "name": "django.middleware", @@ -421,14 +436,13 @@ "trace_id": 0, "span_id": 11, "parent_id": 7, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 7958, - "start": 1707160608622564172 + "duration": 14250, + "start": 1776186699847739340 }, { "name": "django.middleware", @@ -437,14 +451,13 @@ "trace_id": 0, "span_id": 8, "parent_id": 4, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9583, - "start": 1707160608622587922 + "duration": 17708, + "start": 1776186699847774840 }, { "name": "django.middleware", @@ -453,12 +466,11 @@ "trace_id": 0, "span_id": 5, "parent_id": 2, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9708, - "start": 1707160608622613797 + "duration": 20833, + "start": 1776186699847813132 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403_json.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403_json.json index 670ac193904..d9b97294587 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403_json.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403_json.json @@ -7,18 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "web", - "error": 0, "meta": { "_dd.appsec.event_rules.version": "rules_good", - "_dd.appsec.json": "{\"triggers\":[{\"rule\":{\"id\":\"blk-001-001\",\"name\":\"Block IP addresses\",\"on_match\":[\"block\"],\"tags\":{\"category\":\"blocking\",\"type\":\"ip_addresses\"}},\"rule_matches\":[{\"operator\":\"ip_match\",\"operator_value\":\"\",\"parameters\":[{\"address\":\"http.client_ip\",\"key_path\":[],\"value\":\"8.8.4.4\",\"highlight\":[\"8.8.4.4\"]}]}],\"span_id\":865087550764298227}]}", + "_dd.appsec.rc_products": "[] u:0 r:2", "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.origin": "appsec", "_dd.p.dm": "-5", - "_dd.p.tid": "65c1341d00000000", + "_dd.p.tid": "69de754c00000000", "_dd.p.ts": "02", "_dd.runtime_family": "python", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "actor.ip": "8.8.4.4", "appsec.blocked": "true", "appsec.event": "true", @@ -33,34 +33,71 @@ "http.request.headers.accept": "*/*", "http.request.headers.accept-encoding": "gzip, deflate", "http.request.headers.host": "localhost:8000", - "http.request.headers.user-agent": "python-requests/2.31.0", + "http.request.headers.user-agent": "python-requests/2.32.3", "http.request.headers.x-real-ip": "8.8.4.4", - "http.response.headers.content-length": "163", + "http.response.headers.content-length": "225", "http.response.headers.content-type": "application/json", "http.route": "^$", "http.status_code": "403", "http.url": "http://localhost:8000/", - "http.useragent": "python-requests/2.31.0", + "http.useragent": "python-requests/2.32.3", "http.version": "1.1", "language": "python", "network.client.ip": "8.8.4.4", - "runtime-id": "6356d9ab49a143b5bf54ff4cad55e261", + "runtime-id": "e2f1123b8cbd4896a6e912e662f81985", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, - "_dd.appsec.event_rules.error_count": 0, - "_dd.appsec.event_rules.loaded": 7, - "_dd.appsec.waf.duration": 29.125, - "_dd.appsec.waf.duration_ext": 83.44650268554688, - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.appsec.event_rules.error_count": 0.0, + "_dd.appsec.event_rules.loaded": 8.0, + "_dd.appsec.waf.duration": 30.667, + "_dd.appsec.waf.duration_ext": 109.66700210701674, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 48148 + "_sampling_priority_v1": 2.0, + "process_id": 31680.0 }, - "duration": 2829792, - "start": 1707160605116745420 + "duration": 3200750, + "meta_struct": { + "appsec": { + "triggers": [ + { + "rule": { + "id": "blk-001-001", + "name": "Block IP addresses", + "tags": { + "type": "ip_addresses", + "category": "blocking" + }, + "on_match": [ + "block" + ] + }, + "rule_matches": [ + { + "operator": "ip_match", + "operator_value": "", + "parameters": [ + { + "address": "http.client_ip", + "key_path": [], + "value": "8.8.4.4", + "highlight": [ + "8.8.4.4" + ] + } + ] + } + ], + "security_response_id": "cfc3106f-7f3d-4f1a-1b61-fde1910094ac", + "span_id": 10905201838588546674 + } + ] + } + }, + "start": 1776186700947645216 }, { "name": "django.middleware", @@ -69,14 +106,13 @@ "trace_id": 0, "span_id": 2, "parent_id": 1, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1500333, - "start": 1707160605117501295 + "duration": 1535291, + "start": 1776186700948806966 }, { "name": "django.middleware", @@ -85,14 +121,13 @@ "trace_id": 0, "span_id": 3, "parent_id": 2, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 19375, - "start": 1707160605117534170 + "duration": 30417, + "start": 1776186700948848424 }, { "name": "django.middleware", @@ -101,14 +136,13 @@ "trace_id": 0, "span_id": 4, "parent_id": 2, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1402584, - "start": 1707160605117573253 + "duration": 1399667, + "start": 1776186700948899132 }, { "name": "django.middleware", @@ -117,14 +151,13 @@ "trace_id": 0, "span_id": 6, "parent_id": 4, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 20750, - "start": 1707160605117596003 + "duration": 27334, + "start": 1776186700948922507 }, { "name": "django.middleware", @@ -133,14 +166,13 @@ "trace_id": 0, "span_id": 7, "parent_id": 4, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1316375, - "start": 1707160605117633587 + "duration": 1292334, + "start": 1776186700948966257 }, { "name": "django.middleware", @@ -149,14 +181,13 @@ "trace_id": 0, "span_id": 9, "parent_id": 7, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9625, - "start": 1707160605117651837 + "duration": 16041, + "start": 1776186700948988591 }, { "name": "django.middleware", @@ -165,14 +196,13 @@ "trace_id": 0, "span_id": 10, "parent_id": 7, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1250041, - "start": 1707160605117675087 + "duration": 1204959, + "start": 1776186700949018757 }, { "name": "django.middleware", @@ -181,14 +211,13 @@ "trace_id": 0, "span_id": 12, "parent_id": 10, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9416, - "start": 1707160605117691212 + "duration": 51333, + "start": 1776186700949039049 }, { "name": "django.middleware", @@ -197,14 +226,13 @@ "trace_id": 0, "span_id": 13, "parent_id": 10, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1207291, - "start": 1707160605117713462 + "duration": 1106833, + "start": 1776186700949109466 }, { "name": "django.middleware", @@ -213,14 +241,13 @@ "trace_id": 0, "span_id": 14, "parent_id": 13, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 25334, - "start": 1707160605117729628 + "duration": 49709, + "start": 1776186700949134007 }, { "name": "django.middleware", @@ -229,14 +256,13 @@ "trace_id": 0, "span_id": 15, "parent_id": 13, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1122667, - "start": 1707160605117770295 + "duration": 977292, + "start": 1776186700949200674 }, { "name": "django.middleware", @@ -245,14 +271,13 @@ "trace_id": 0, "span_id": 17, "parent_id": 15, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1072125, - "start": 1707160605117788962 + "duration": 898250, + "start": 1776186700949222591 }, { "name": "django.middleware", @@ -261,14 +286,13 @@ "trace_id": 0, "span_id": 19, "parent_id": 17, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 7500, - "start": 1707160605117805462 + "duration": 15000, + "start": 1776186700949242216 }, { "name": "django.middleware", @@ -277,14 +301,13 @@ "trace_id": 0, "span_id": 20, "parent_id": 17, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 987375, - "start": 1707160605117826212 + "duration": 797541, + "start": 1776186700949271091 }, { "name": "django.middleware", @@ -293,14 +316,13 @@ "trace_id": 0, "span_id": 22, "parent_id": 20, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 964541, - "start": 1707160605117843962 + "duration": 771750, + "start": 1776186700949289132 }, { "name": "django.middleware", @@ -309,14 +331,13 @@ "trace_id": 0, "span_id": 23, "parent_id": 22, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 937292, - "start": 1707160605117859295 + "duration": 738875, + "start": 1776186700949307299 }, { "name": "django.middleware", @@ -325,14 +346,13 @@ "trace_id": 0, "span_id": 24, "parent_id": 23, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 17042, - "start": 1707160605118238003 + "duration": 29084, + "start": 1776186700949530632 }, { "name": "django.middleware", @@ -341,14 +361,13 @@ "trace_id": 0, "span_id": 25, "parent_id": 23, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 18958, - "start": 1707160605118399795 + "duration": 22583, + "start": 1776186700949696466 }, { "name": "django.view", @@ -357,14 +376,13 @@ "trace_id": 0, "span_id": 26, "parent_id": 23, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 34958, - "start": 1707160605118583170 + "duration": 41958, + "start": 1776186700949878091 }, { "name": "django.middleware", @@ -373,14 +391,13 @@ "trace_id": 0, "span_id": 21, "parent_id": 17, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 21625, - "start": 1707160605118834212 + "duration": 27583, + "start": 1776186700950085049 }, { "name": "django.middleware", @@ -389,14 +406,13 @@ "trace_id": 0, "span_id": 18, "parent_id": 15, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 12458, - "start": 1707160605118875962 + "duration": 35666, + "start": 1776186700950133591 }, { "name": "django.middleware", @@ -405,14 +421,13 @@ "trace_id": 0, "span_id": 16, "parent_id": 13, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9250, - "start": 1707160605118906712 + "duration": 17625, + "start": 1776186700950191132 }, { "name": "django.middleware", @@ -421,14 +436,13 @@ "trace_id": 0, "span_id": 11, "parent_id": 7, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 7625, - "start": 1707160605118938128 + "duration": 14542, + "start": 1776186700950236424 }, { "name": "django.middleware", @@ -437,14 +451,13 @@ "trace_id": 0, "span_id": 8, "parent_id": 4, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9709, - "start": 1707160605118962003 + "duration": 18042, + "start": 1776186700950270424 }, { "name": "django.middleware", @@ -453,12 +466,11 @@ "trace_id": 0, "span_id": 5, "parent_id": 2, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9916, - "start": 1707160605118987587 + "duration": 21625, + "start": 1776186700950312882 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_nomatch_200.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_nomatch_200.json index 76e65580eab..b53008eac6c 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_nomatch_200.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_nomatch_200.json @@ -7,15 +7,16 @@ "span_id": 1, "parent_id": 0, "type": "web", - "error": 0, "meta": { "_dd.appsec.event_rules.version": "rules_good", + "_dd.appsec.rc_products": "[] u:0 r:2", "_dd.appsec.waf.version": "1.30.1", "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de754a00000000", "_dd.runtime_family": "python", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "asgi.version": "3.0", "component": "django", "django.request.class": "django.core.handlers.asgi.ASGIRequest", @@ -25,35 +26,36 @@ "http.client_ip": "1.1.1.1", "http.method": "GET", "http.request.headers.accept": "*/*", + "http.request.headers.accept-encoding": "gzip, deflate", "http.request.headers.host": "localhost:8000", - "http.request.headers.user-agent": "python-requests/2.31.0", + "http.request.headers.user-agent": "python-requests/2.32.3", "http.request.headers.x-real-ip": "1.1.1.1", "http.response.headers.content-length": "16", "http.response.headers.content-type": "text/html; charset=utf-8", "http.route": "^$", "http.status_code": "200", "http.url": "http://localhost:8000/", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.32.3", "http.version": "1.1", "language": "python", "network.client.ip": "1.1.1.1", - "runtime-id": "a93c03695f7d49dca0f86d57a2a0a346", + "runtime-id": "039dcee1a392430ea9bd762dbd72c633", "span.kind": "server" }, "metrics": { "_dd.appsec.enabled": 1.0, - "_dd.appsec.event_rules.error_count": 0, - "_dd.appsec.event_rules.loaded": 5, - "_dd.appsec.waf.duration": 7.5, - "_dd.appsec.waf.duration_ext": 102.04315185546875, - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.appsec.event_rules.error_count": 0.0, + "_dd.appsec.event_rules.loaded": 8.0, + "_dd.appsec.waf.duration": 9.0, + "_dd.appsec.waf.duration_ext": 88.12599844532087, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 20253 + "_sampling_priority_v1": 1.0, + "process_id": 31642.0 }, - "duration": 2368000, - "start": 1692647412680228168 + "duration": 2908875, + "start": 1776186698748623506 }, { "name": "django.middleware", @@ -62,15 +64,13 @@ "trace_id": 0, "span_id": 2, "parent_id": 1, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1437042, - "start": 1692647412680760876 + "duration": 1502416, + "start": 1776186698749573715 }, { "name": "django.middleware", @@ -79,15 +79,13 @@ "trace_id": 0, "span_id": 3, "parent_id": 2, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 30041, - "start": 1692647412680791418 + "duration": 28917, + "start": 1776186698749612423 }, { "name": "django.middleware", @@ -96,15 +94,13 @@ "trace_id": 0, "span_id": 4, "parent_id": 2, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1329917, - "start": 1692647412680836376 + "duration": 1373125, + "start": 1776186698749661048 }, { "name": "django.middleware", @@ -113,15 +109,13 @@ "trace_id": 0, "span_id": 6, "parent_id": 4, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 28833, - "start": 1692647412680864293 + "duration": 25834, + "start": 1776186698749682506 }, { "name": "django.middleware", @@ -130,15 +124,13 @@ "trace_id": 0, "span_id": 7, "parent_id": 4, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1231042, - "start": 1692647412680905751 + "duration": 1270833, + "start": 1776186698749723048 }, { "name": "django.middleware", @@ -147,15 +139,13 @@ "trace_id": 0, "span_id": 9, "parent_id": 7, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 12667, - "start": 1692647412680922126 + "duration": 15167, + "start": 1776186698749742548 }, { "name": "django.middleware", @@ -164,15 +154,13 @@ "trace_id": 0, "span_id": 10, "parent_id": 7, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1164916, - "start": 1692647412680946168 + "duration": 1188666, + "start": 1776186698749771340 }, { "name": "django.middleware", @@ -181,15 +169,13 @@ "trace_id": 0, "span_id": 12, "parent_id": 10, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 16750, - "start": 1692647412680962834 + "duration": 46125, + "start": 1776186698749791131 }, { "name": "django.middleware", @@ -198,15 +184,13 @@ "trace_id": 0, "span_id": 13, "parent_id": 10, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1110792, - "start": 1692647412680994251 + "duration": 1098792, + "start": 1776186698749853673 }, { "name": "django.middleware", @@ -215,15 +199,13 @@ "trace_id": 0, "span_id": 14, "parent_id": 13, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 34500, - "start": 1692647412681008543 + "duration": 32333, + "start": 1776186698749873215 }, { "name": "django.middleware", @@ -232,15 +214,13 @@ "trace_id": 0, "span_id": 15, "parent_id": 13, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1022625, - "start": 1692647412681054793 + "duration": 996375, + "start": 1776186698749920631 }, { "name": "django.middleware", @@ -249,15 +229,13 @@ "trace_id": 0, "span_id": 17, "parent_id": 15, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 970125, - "start": 1692647412681071084 + "duration": 935000, + "start": 1776186698749942548 }, { "name": "django.middleware", @@ -266,15 +244,13 @@ "trace_id": 0, "span_id": 19, "parent_id": 17, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 12250, - "start": 1692647412681085251 + "duration": 13542, + "start": 1776186698749961673 }, { "name": "django.middleware", @@ -283,15 +259,13 @@ "trace_id": 0, "span_id": 20, "parent_id": 17, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 892625, - "start": 1692647412681108209 + "duration": 837541, + "start": 1776186698749988840 }, { "name": "django.middleware", @@ -300,15 +274,13 @@ "trace_id": 0, "span_id": 22, "parent_id": 20, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 873084, - "start": 1692647412681121209 + "duration": 809542, + "start": 1776186698750008923 }, { "name": "django.middleware", @@ -317,15 +289,13 @@ "trace_id": 0, "span_id": 23, "parent_id": 22, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 849250, - "start": 1692647412681135793 + "duration": 776791, + "start": 1776186698750027840 }, { "name": "django.middleware", @@ -334,15 +304,13 @@ "trace_id": 0, "span_id": 24, "parent_id": 23, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 18167, - "start": 1692647412681441626 + "duration": 34958, + "start": 1776186698750263840 }, { "name": "django.middleware", @@ -351,15 +319,13 @@ "trace_id": 0, "span_id": 25, "parent_id": 23, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 14666, - "start": 1692647412681566293 + "duration": 24709, + "start": 1776186698750454881 }, { "name": "django.view", @@ -368,15 +334,13 @@ "trace_id": 0, "span_id": 26, "parent_id": 23, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 109000, - "start": 1692647412681691959 + "duration": 41584, + "start": 1776186698750641006 }, { "name": "django.middleware", @@ -385,15 +349,13 @@ "trace_id": 0, "span_id": 21, "parent_id": 17, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 21416, - "start": 1692647412682012418 + "duration": 26291, + "start": 1776186698750843090 }, { "name": "django.middleware", @@ -402,15 +364,13 @@ "trace_id": 0, "span_id": 18, "parent_id": 15, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 16167, - "start": 1692647412682053834 + "duration": 18084, + "start": 1776186698750890756 }, { "name": "django.middleware", @@ -419,15 +379,13 @@ "trace_id": 0, "span_id": 16, "parent_id": 13, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 11584, - "start": 1692647412682086834 + "duration": 15458, + "start": 1776186698750929465 }, { "name": "django.middleware", @@ -436,15 +394,13 @@ "trace_id": 0, "span_id": 11, "parent_id": 7, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9834, - "start": 1692647412682120459 + "duration": 14084, + "start": 1776186698750972381 }, { "name": "django.middleware", @@ -453,15 +409,13 @@ "trace_id": 0, "span_id": 8, "parent_id": 4, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 13375, - "start": 1692647412682145834 + "duration": 17750, + "start": 1776186698751008215 }, { "name": "django.middleware", @@ -470,13 +424,11 @@ "trace_id": 0, "span_id": 5, "parent_id": 2, - "type": "", - "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "django" }, - "duration": 15208, - "start": 1692647412682176043 + "duration": 20542, + "start": 1776186698751047756 }]] From 6b30c54da3e0b92be0b3054a98618dcb2c5a4698 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 10:22:15 -0700 Subject: [PATCH 019/114] update redis_asyncio snapshots --- ...s.test_redis_asyncio.test_client_name.json | 16 ++-- ...is_asyncio.test_override_service_name.json | 76 ++++++++++--------- ...dis.test_redis_asyncio.test_parenting.json | 20 ++--- ...dis_asyncio.test_two_traced_pipelines.json | 20 ++--- 4 files changed, 72 insertions(+), 60 deletions(-) diff --git a/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_client_name.json b/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_client_name.json index 346611bffb1..4711e50020c 100644 --- a/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_client_name.json +++ b/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_client_name.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.redis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a6e81500000000", + "_dd.p.tid": "69de77a000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.redis", "language": "python", - "runtime-id": "506faaac5b3444ff8e82e10a1b9b745f" + "runtime-id": "fd66415085a44627a3e026a929c9af5d" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 94076.0 + "process_id": 34363.0 }, - "duration": 1949416, - "start": 1772546069333916805 + "duration": 1187333, + "start": 1776187296822524214 }, { "name": "redis.command", @@ -52,6 +54,6 @@ "out.redis_db": 0.0, "redis.args_length": 2.0 }, - "duration": 1474792, - "start": 1772546069334338388 + "duration": 860416, + "start": 1776187296822807714 }]] diff --git a/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_override_service_name.json b/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_override_service_name.json index 8c88fdecf5b..b51aca85683 100644 --- a/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_override_service_name.json +++ b/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_override_service_name.json @@ -11,29 +11,31 @@ "meta": { "_dd.base_service": "tests.contrib.redis", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de776600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.redis", "component": "redis", "db.system": "redis", "language": "python", "out.host": "127.0.0.1", "redis.raw_command": "GET cheese", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "4b4e3dd374494f2ca92349995750ae95", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.redis_db": 0, - "process_id": 19999, - "redis.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.redis_db": 0.0, + "process_id": 33295.0, + "redis.args_length": 2.0 }, - "duration": 297666, - "start": 1692651823109161293 + "duration": 210375, + "start": 1776187238388330214 }], [ { @@ -48,28 +50,30 @@ "meta": { "_dd.base_service": "tests.contrib.redis", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de776600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.redis", "component": "redis", "db.system": "redis", "language": "python", "out.host": "127.0.0.1", "redis.raw_command": "SET cheese my-cheese", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "4b4e3dd374494f2ca92349995750ae95", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.redis_db": 0, - "process_id": 19999, - "redis.args_length": 3 + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.redis_db": 0.0, + "process_id": 33295.0, + "redis.args_length": 3.0 }, - "duration": 230084, - "start": 1692651823109550709 + "duration": 157083, + "start": 1776187238388712256 }], [ { @@ -84,27 +88,29 @@ "meta": { "_dd.base_service": "tests.contrib.redis", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de776600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.redis", "component": "redis", "db.system": "redis", "language": "python", "out.host": "127.0.0.1", "redis.raw_command": "GET cheese", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "4b4e3dd374494f2ca92349995750ae95", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 6379, - "out.redis_db": 0, - "process_id": 19999, - "redis.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 6379.0, + "out.redis_db": 0.0, + "process_id": 33295.0, + "redis.args_length": 2.0 }, - "duration": 160875, - "start": 1692651823109840043 + "duration": 154209, + "start": 1776187238388999089 }]] diff --git a/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_parenting.json b/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_parenting.json index e77d373c2fa..19d53f0f168 100644 --- a/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_parenting.json +++ b/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_parenting.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.redis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a6e81500000000", + "_dd.p.tid": "69de776600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.redis", "language": "python", - "runtime-id": "506faaac5b3444ff8e82e10a1b9b745f" + "runtime-id": "4b4e3dd374494f2ca92349995750ae95" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 94076.0 + "process_id": 33295.0 }, - "duration": 1029625, - "start": 1772546069252190305 + "duration": 991375, + "start": 1776187238411714881 }, { "name": "redis.command", @@ -50,8 +52,8 @@ "out.redis_db": 0.0, "redis.args_length": 3.0 }, - "duration": 370834, - "start": 1772546069252420471 + "duration": 552750, + "start": 1776187238411872548 }, { "name": "redis.command", @@ -80,6 +82,6 @@ "out.redis_db": 0.0, "redis.args_length": 2.0 }, - "duration": 262708, - "start": 1772546069252920305 + "duration": 175209, + "start": 1776187238412510089 }]] diff --git a/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_two_traced_pipelines.json b/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_two_traced_pipelines.json index 7898ae09f7f..57d29d9d267 100644 --- a/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_two_traced_pipelines.json +++ b/tests/snapshots/tests.contrib.redis.test_redis_asyncio.test_two_traced_pipelines.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.redis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a6e81500000000", + "_dd.p.tid": "69de776600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.redis", "language": "python", - "runtime-id": "506faaac5b3444ff8e82e10a1b9b745f" + "runtime-id": "4b4e3dd374494f2ca92349995750ae95" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 94076.0 + "process_id": 33295.0 }, - "duration": 4868292, - "start": 1772546069153275804 + "duration": 1149583, + "start": 1776187238352184048 }, { "name": "redis.command", @@ -50,8 +52,8 @@ "out.redis_db": 0.0, "redis.pipeline_length": 2.0 }, - "duration": 911416, - "start": 1772546069156179263 + "duration": 411958, + "start": 1776187238352414173 }, { "name": "redis.command", @@ -79,6 +81,6 @@ "out.redis_db": 0.0, "redis.pipeline_length": 2.0 }, - "duration": 372167, - "start": 1772546069157723596 + "duration": 355000, + "start": 1776187238352939339 }]] From aebe2afb9b771db5a36e22ee45008f452924c437 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 10:26:04 -0700 Subject: [PATCH 020/114] update kafka snapshots --- ...afka.test_kafka.test_service_override.json | 46 ++++++++++--------- ...t_kafka.test_service_override_env_var.json | 46 ++++++++++--------- 2 files changed, 50 insertions(+), 42 deletions(-) diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json index ab8d6090fe9..2fb5d1d480d 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "67c62be500000000", + "_dd.p.tid": "69de789b00000000", + "_dd.svc_src": "tests.contrib.kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,21 +24,21 @@ "language": "python", "messaging.destination.name": "test_service_override_config", "messaging.system": "kafka", - "pathway.hash": "12368502031671261057", - "runtime-id": "559a40be08084fe3ba6c3dbbe5a60e52", + "pathway.hash": "6966110732586201292", + "runtime-id": "63d79c760909410187a6bb93c31a9bf4", "span.kind": "consumer" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "kafka.message_offset": -1, - "kafka.partition": 0, - "process_id": 20454 + "_sampling_priority_v1": 1.0, + "kafka.message_offset": 1.0, + "kafka.partition": 0.0, + "process_id": 36820.0 }, - "duration": 3640566000, - "start": 1741040610249957000 + "duration": 2849196751, + "start": 1776187544735323259 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "67c62be200000000", + "_dd.p.tid": "69de789800000000", + "_dd.svc_src": "tests.contrib.kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,18 +65,18 @@ "messaging.destination.name": "test_service_override_config", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "1719926886277470817", - "runtime-id": "559a40be08084fe3ba6c3dbbe5a60e52", + "pathway.hash": "443645483726763069", + "runtime-id": "63d79c760909410187a6bb93c31a9bf4", "span.kind": "producer" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "kafka.partition": -1, - "process_id": 20454 + "_sampling_priority_v1": 1.0, + "kafka.partition": -1.0, + "process_id": 36820.0 }, - "duration": 4920000, - "start": 1741040610242510000 + "duration": 1988125, + "start": 1776187544481475509 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json index f729758eacb..dc895963fb1 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "67c62b7600000000", + "_dd.p.tid": "69de789f00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,21 +24,21 @@ "language": "python", "messaging.destination.name": "test_service_override_env_var", "messaging.system": "kafka", - "pathway.hash": "4399795867780198364", - "runtime-id": "0f6b6d8734a149b8bcbded06a40e679b", + "pathway.hash": "129630962231005456", + "runtime-id": "544c6700735a4002b96c60bc06898c32", "span.kind": "consumer" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "kafka.message_offset": 2, - "kafka.partition": 0, - "process_id": 20684 + "_sampling_priority_v1": 1.0, + "kafka.message_offset": 1.0, + "kafka.partition": 0.0, + "process_id": 36852.0 }, - "duration": 3428082000, - "start": 1741040499658821000 + "duration": 3444094835, + "start": 1776187548531880552 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "67c62b7300000000", + "_dd.p.tid": "69de789c00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,18 +65,18 @@ "messaging.destination.name": "test_service_override_env_var", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "11480763115119589083", - "runtime-id": "0f6b6d8734a149b8bcbded06a40e679b", + "pathway.hash": "14722941679670948566", + "runtime-id": "544c6700735a4002b96c60bc06898c32", "span.kind": "producer" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "kafka.partition": -1, - "process_id": 20684 + "_sampling_priority_v1": 1.0, + "kafka.partition": -1.0, + "process_id": 36852.0 }, - "duration": 3524000, - "start": 1741040499414765000 + "duration": 1175375, + "start": 1776187548317794469 }]] From 0fb575b1066b61bf1c605f098e85693bff2f43b7 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 10:31:55 -0700 Subject: [PATCH 021/114] update google_cloud_pubsub snapshots --- ...cloud_pubsub.test_pubsub.test_publish.json | 18 +++++----- ...test_pubsub.test_publish_future_error.json | 18 +++++----- ..._pubsub.test_subscribe_callback_error.json | 30 ++++++++-------- ...be_propagation_as_span_links_disabled.json | 35 ++++++++++--------- ...ibe_propagation_as_span_links_enabled.json | 28 ++++++++------- ...b.test_subscribe_propagation_disabled.json | 26 +++++++------- 6 files changed, 84 insertions(+), 71 deletions(-) diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json index 8742c780bc3..b08d7fe782e 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69b8219200000000", + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "e735c3e6bf4246318b1df56072757ba2" + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 38691.0 }, - "duration": 26726875, - "start": 1773674898570164003 + "duration": 20269334, + "start": 1776187899015993756 }, { "name": "gcp.pubsub.send", @@ -34,10 +35,11 @@ "type": "worker", "error": 0, "meta": { + "_dd.svc_src": "m", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "messaging.destination.name": "test-topic", - "messaging.message_id": "1", + "messaging.message_id": "8", "messaging.operation": "send", "messaging.system": "pubsub", "span.kind": "producer" @@ -45,6 +47,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 26062500, - "start": 1773674898570682044 + "duration": 19029417, + "start": 1776187899016622298 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json index bf04885420e..25503fb80d7 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69b8219200000000", + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "e735c3e6bf4246318b1df56072757ba2" + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 38691.0 }, - "duration": 38189458, - "start": 1773674898614811503 + "duration": 26237375, + "start": 1776187899055517298 }, { "name": "gcp.pubsub.send", @@ -34,9 +35,10 @@ "type": "worker", "error": 1, "meta": { + "_dd.svc_src": "m", "component": "google_cloud_pubsub", "error.message": "404 Topic not found", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 55, in error_remapped_callable\n return callable_(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/grpc/_interceptor.py\", line 276, in __call__\n response, ignored_call = self._with_call(\n ^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/grpc/_interceptor.py\", line 331, in _with_call\n return call.result(), call\n ^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/grpc/_channel.py\", line 438, in result\n raise self\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/grpc/_interceptor.py\", line 314, in continuation\n response, call = self._thunk(new_method).with_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/grpc/_channel.py\", line 1173, in with_call\n return _end_unary_response_blocking(state, call, True, None)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/grpc/_channel.py\", line 990, in _end_unary_response_blocking\n raise _InactiveRpcError(state) # pytype: disable=not-instantiable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ngrpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.NOT_FOUND\n\tdetails = \"Topic not found\"\n\tdebug_error_string = \"UNKNOWN:Error received from peer {grpc_status:5, grpc_message:\"Topic not found\"}\"\n>\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_cloud_pubsub/patch.py\", line 93, in sent_callback\n message_id = future.result()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/futures.py\", line 66, in result\n return super().result(timeout=timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.11/lib/python3.12/concurrent/futures/_base.py\", line 449, in result\n return self.__get_result()\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.11/lib/python3.12/concurrent/futures/_base.py\", line 401, in __get_result\n raise self._exception\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/_batch/thread.py\", line 323, in _commit\n response = self._client._gapic_publish(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/client.py\", line 295, in _gapic_publish\n return super().publish(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/pubsub_v1/services/publisher/client.py\", line 1174, in publish\n response = rpc(\n ^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py\", line 128, in __call__\n return wrapped_func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 294, in retry_wrapped_func\n return retry_target(\n ^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 156, in retry_target\n next_sleep = _retry_error_helper(\n ^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/api_core/retry/retry_base.py\", line 216, in _retry_error_helper\n raise final_exc from source_exc\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 147, in retry_target\n result = target()\n ^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/api_core/timeout.py\", line 170, in func_with_timeout\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_google-cloud-pubsub/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 57, in error_remapped_callable\n raise exceptions.from_grpc_error(exc) from exc\ngoogle.api_core.exceptions.NotFound: 404 Topic not found\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 55, in error_remapped_callable\n return callable_(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/grpc/_channel.py\", line 1159, in __call__\n return _end_unary_response_blocking(state, call, False, None)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/grpc/_channel.py\", line 990, in _end_unary_response_blocking\n raise _InactiveRpcError(state) # pytype: disable=not-instantiable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ngrpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.NOT_FOUND\n\tdetails = \"Topic not found\"\n\tdebug_error_string = \"UNKNOWN:Error received from peer {grpc_status:5, grpc_message:\"Topic not found\"}\"\n>\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_cloud_pubsub/patch.py\", line 112, in sent_callback\n message_id = future.result()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/futures.py\", line 66, in result\n return super().result(timeout=timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 449, in result\n return self.__get_result()\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 401, in __get_result\n raise self._exception\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/_batch/thread.py\", line 274, in _commit\n response = self._client._gapic_publish(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/client.py\", line 267, in _gapic_publish\n return super().publish(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/pubsub_v1/services/publisher/client.py\", line 794, in publish\n response = rpc(\n ^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py\", line 128, in __call__\n return wrapped_func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 294, in retry_wrapped_func\n return retry_target(\n ^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 156, in retry_target\n next_sleep = _retry_error_helper(\n ^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_base.py\", line 216, in _retry_error_helper\n raise final_exc from source_exc\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 147, in retry_target\n result = target()\n ^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/timeout.py\", line 130, in func_with_timeout\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 57, in error_remapped_callable\n raise exceptions.from_grpc_error(exc) from exc\ngoogle.api_core.exceptions.NotFound: 404 Topic not found\n", "error.type": "google.api_core.exceptions.NotFound", "gcloud.project_id": "test-project", "messaging.destination.name": "nonexistent-topic", @@ -47,6 +49,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 37980583, - "start": 1773674898614906253 + "duration": 25861125, + "start": 1776187899055618590 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json index 2f6d2404f94..15a6d33a5e0 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json @@ -10,16 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ba78c100000000", + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "messaging.destination.name": "test-topic", - "messaging.message_id": "3", + "messaging.message_id": "13", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "a74e0ffe8ca74e9ba8a91a01cd47a44e", + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", "span.kind": "producer" }, "metrics": { @@ -27,10 +28,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 38691.0 }, - "duration": 18832209, - "start": 1773828289474723215 + "duration": 15626375, + "start": 1776187899454462381 }, { "name": "gcp.pubsub.receive", @@ -43,29 +44,30 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ba78c100000000", + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "error.message": "callback error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_cloud_pubsub/patch.py\", line 125, in _traced_callback\n callback(message)\n File \"/home/bits/project/tests/contrib/google_cloud_pubsub/test_pubsub.py\", line 122, in callback\n raise ValueError(\"callback error\")\nValueError: callback error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_cloud_pubsub/patch.py\", line 67, in _traced_subscribe_callback\n callback(message)\n File \"/home/bits/project/tests/contrib/google_cloud_pubsub/test_pubsub.py\", line 129, in callback\n raise ValueError(\"callback error\")\nValueError: callback error\n", "error.type": "builtins.ValueError", "gcloud.project_id": "test-project", "language": "python", "messaging.destination.name": "test-subscription", - "messaging.message_id": "3", + "messaging.message_id": "13", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "a74e0ffe8ca74e9ba8a91a01cd47a44e", + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", "span.kind": "consumer", - "tracestate": "dd=p:af648e86b4612c17;t.tid:69ba78c100000000" + "tracestate": "dd=p:32be625f12eb62cd;t.tid:69de79fb00000000" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 38691.0 }, - "duration": 2105917, - "start": 1773828289539108590 + "duration": 2734666, + "start": 1776187899515324215 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json index 8343dae5ae9..c3a300bfe13 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json @@ -10,16 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ba78c100000000", + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "messaging.destination.name": "test-topic", - "messaging.message_id": "1", + "messaging.message_id": "11", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "a74e0ffe8ca74e9ba8a91a01cd47a44e", + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", "span.kind": "producer" }, "metrics": { @@ -27,10 +28,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 38691.0 }, - "duration": 25044292, - "start": 1773828289176783090 + "duration": 17770084, + "start": 1776187899214398256 }, { "name": "gcp.pubsub.receive", @@ -43,28 +44,29 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ba78c100000000", + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "messaging.destination.name": "test-subscription", - "messaging.message_id": "1", + "messaging.message_id": "11", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "a74e0ffe8ca74e9ba8a91a01cd47a44e", + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", "span.kind": "consumer", - "tracestate": "dd=p:955d118c283c57da;t.tid:69ba78c100000000" + "tracestate": "dd=p:090ce0cf867da3dc;t.tid:69de79fb00000000" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 38691.0 }, - "duration": 1717250, - "start": 1773828289262536465 + "duration": 221166, + "start": 1776187899281208840 }, { "name": "subscriber.span", @@ -76,8 +78,9 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "69ba78c100000000" + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "m" }, - "duration": 135333, - "start": 1773828289264058965 + "duration": 59042, + "start": 1776187899281329506 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json index 8c29d681f0f..5872c3c43d5 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json @@ -10,16 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ba7acb00000000", + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "messaging.destination.name": "test-topic", - "messaging.message_id": "1", + "messaging.message_id": "12", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "2e678df4218b41198fcca6672896c6ea", + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", "span.kind": "producer" }, "metrics": { @@ -27,10 +28,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 38691.0 }, - "duration": 25861708, - "start": 1773828811010879304 + "duration": 14398250, + "start": 1776187899331242090 }], [ { @@ -44,17 +45,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ba7acb00000000", - "_dd.span_links": "[{\"trace_id\": \"69ba7acb0000000049159e4e393cb181\", \"span_id\": \"c790dd4a086d5459\", \"tracestate\": \"dd=t.tid:69ba7acb00000000\", \"flags\": 0}]", + "_dd.p.tid": "69de79fb00000000", + "_dd.span_links": "[{\"trace_id\": \"69de79fb00000000db21579cc6a10e4a\", \"span_id\": \"1faa911efb633f76\", \"tracestate\": \"dd=t.tid:69de79fb00000000\", \"flags\": 0}]", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "messaging.destination.name": "test-subscription", - "messaging.message_id": "1", + "messaging.message_id": "12", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "2e678df4218b41198fcca6672896c6ea", + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", "span.kind": "consumer" }, "metrics": { @@ -62,8 +64,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 38691.0 }, - "duration": 1648459, - "start": 1773828811098316012 + "duration": 1229458, + "start": 1776187899394127965 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json index e4a56a2935e..d0b921d1fde 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json @@ -10,16 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ba7aee00000000", + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "messaging.destination.name": "test-topic", - "messaging.message_id": "1", + "messaging.message_id": "14", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "62adf1f89fab4ba28b9b5ef81b1dc6f4", + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", "span.kind": "producer" }, "metrics": { @@ -27,10 +28,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 38691.0 }, - "duration": 23286166, - "start": 1773828846888268918 + "duration": 15275792, + "start": 1776187899561113923 }], [ { @@ -44,16 +45,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ba7aee00000000", + "_dd.p.tid": "69de79fb00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "messaging.destination.name": "test-subscription", - "messaging.message_id": "1", + "messaging.message_id": "14", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "62adf1f89fab4ba28b9b5ef81b1dc6f4", + "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", "span.kind": "consumer" }, "metrics": { @@ -61,8 +63,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 38691.0 }, - "duration": 143083, - "start": 1773828846972618251 + "duration": 145458, + "start": 1776187899616193715 }]] From b049612b55fe9e6eb844ec2ec0c8b67b8493f181 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 10:33:33 -0700 Subject: [PATCH 022/114] update httpx snapshots --- ...est_httpx.test_configure_service_name.json | 18 +++++++++-------- ...httpx.test_configure_service_name_env.json | 18 +++++++++-------- ...contrib.httpx.test_httpx.test_get_200.json | 18 +++++++++-------- ...contrib.httpx.test_httpx.test_get_500.json | 20 ++++++++++--------- ...px.test_httpx.test_httpx_service_name.json | 10 +++++----- ...httpx.test_httpx.test_request_headers.json | 18 +++++++++-------- ...igure_global_service_name_env_default.json | 18 +++++++++-------- ..._configure_global_service_name_env_v0.json | 18 +++++++++-------- ..._configure_global_service_name_env_v1.json | 18 +++++++++-------- ...est_schematized_operation_name_env_v0.json | 18 +++++++++-------- ...est_schematized_operation_name_env_v1.json | 18 +++++++++-------- ..._unspecified_service_name_env_default.json | 18 +++++++++-------- ...tized_unspecified_service_name_env_v0.json | 18 +++++++++-------- ...tized_unspecified_service_name_env_v1.json | 18 +++++++++-------- ...httpx.test_httpx.test_split_by_domain.json | 10 +++++----- ...px.test_httpx.test_trace_query_string.json | 18 +++++++++-------- 16 files changed, 151 insertions(+), 123 deletions(-) diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_configure_service_name.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_configure_service_name.json index 8ad8d04c329..11d59310237 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_configure_service_name.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_configure_service_name.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.httpx", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6200000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.httpx", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -19,16 +21,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "4ebd9f57f446448abfdc8318a41ba0b0", + "runtime-id": "af89a2fe1f1e4e77a6315c42a0dcc771", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 64752 + "_sampling_priority_v1": 1.0, + "process_id": 40316.0 }, - "duration": 2346167, - "start": 1692711099011120967 + "duration": 2091417, + "start": 1776188002010222637 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_configure_service_name_env.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_configure_service_name_env.json index 73cc1596d60..08558bed490 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_configure_service_name_env.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_configure_service_name_env.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "global-service-name", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6300000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpwgkjopkt,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -19,16 +21,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "91673336074e4a46b5063ffe0eab77b1", + "runtime-id": "72119767a06d4505a82ca0b590c75088", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 64760 + "_sampling_priority_v1": 1.0, + "process_id": 40507.0 }, - "duration": 2275250, - "start": 1692711099762513759 + "duration": 1866750, + "start": 1776188003471493096 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_get_200.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_get_200.json index ff5fd8ca143..6e9a1b4b9ed 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_get_200.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_get_200.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6600000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.httpx", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,16 +20,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "75e629a190f54866a5d1c4c299c99fe2", + "runtime-id": "af89a2fe1f1e4e77a6315c42a0dcc771", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 85259 + "_sampling_priority_v1": 1.0, + "process_id": 40316.0 }, - "duration": 8709000, - "start": 1667242896765198000 + "duration": 2046250, + "start": 1776188006090198583 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_get_500.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_get_500.json index 9ae35ed08a3..d249c393b29 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_get_500.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_get_500.json @@ -10,7 +10,9 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6500000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.httpx", "component": "httpx", "http.method": "GET", "http.status_code": "500", @@ -18,16 +20,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "75e629a190f54866a5d1c4c299c99fe2", + "runtime-id": "af89a2fe1f1e4e77a6315c42a0dcc771", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 85259 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 0.8, + "_sampling_priority_v1": 1.0, + "process_id": 40316.0 }, - "duration": 6410000, - "start": 1667242897758786000 + "duration": 2288666, + "start": 1776188005506500375 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_httpx_service_name.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_httpx_service_name.json index 2e3bfafccbf..700fadc05b5 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_httpx_service_name.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_httpx_service_name.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "tests.contrib.httpx", "_dd.p.dm": "-0", - "_dd.p.tid": "69cfcbab00000000", + "_dd.p.tid": "69de7a6100000000", "_dd.svc_src": "opt.split_by_domain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.httpx", "component": "httpx", @@ -21,7 +21,7 @@ "http.useragent": "python-httpx/0.25.2", "language": "python", "out.host": "localhost", - "runtime-id": "0ffd6a3370d4456db2275f20550d4cb2", + "runtime-id": "af89a2fe1f1e4e77a6315c42a0dcc771", "span.kind": "client" }, "metrics": { @@ -29,8 +29,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 9513.0 + "process_id": 40316.0 }, - "duration": 2009417, - "start": 1775225771500599959 + "duration": 2379542, + "start": 1776188001992000179 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_request_headers.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_request_headers.json index f92f444d143..6290d2c1a9d 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_request_headers.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_request_headers.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6000000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.httpx", "component": "httpx", "http.method": "GET", "http.request.headers.some-request-header": "Request-Value", @@ -20,16 +22,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "75e629a190f54866a5d1c4c299c99fe2", + "runtime-id": "af89a2fe1f1e4e77a6315c42a0dcc771", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 85259 + "_sampling_priority_v1": 1.0, + "process_id": 40316.0 }, - "duration": 10222000, - "start": 1667242897971066000 + "duration": 5181209, + "start": 1776188000983360595 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_default.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_default.json index f313adac3cd..8f73bce17bc 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_default.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_default.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6400000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpbk12_me9,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,16 +20,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "2e9b8ccb504849009439e60cd0df50e8", + "runtime-id": "f64be68e9c5d48d79187a977318b3c13", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 1215 + "_sampling_priority_v1": 1.0, + "process_id": 40528.0 }, - "duration": 3689000, - "start": 1683920916207275000 + "duration": 2238833, + "start": 1776188004434663389 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_v0.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_v0.json index 931c8595872..70ca59b6573 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_v0.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_v0.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6100000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_ogf4y2q,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,16 +20,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "d0d4ed5a680c4edfb181da67ddd73117", + "runtime-id": "d68d190e7b0146e0a693c2b47d04e237", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 1222 + "_sampling_priority_v1": 1.0, + "process_id": 40447.0 }, - "duration": 2441000, - "start": 1683920917044321000 + "duration": 1958791, + "start": 1776188001895521096 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_v1.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_v1.json index 55343b31218..520e49d8125 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_v1.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_configure_global_service_name_env_v1.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6200000000", "_dd.peer.service.source": "out.host", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp20up8grj,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -20,16 +22,16 @@ "language": "python", "out.host": "localhost", "peer.service": "localhost", - "runtime-id": "a6c74ff7ad5f42439ed7ce053efd1765", + "runtime-id": "18476baa354448328ff9469e144a7c73", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 1229 + "_sampling_priority_v1": 1.0, + "process_id": 40472.0 }, - "duration": 2431000, - "start": 1683920917783882000 + "duration": 1810000, + "start": 1776188002445818388 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_operation_name_env_v0.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_operation_name_env_v0.json index 55b0b14830d..c4c3395239d 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_operation_name_env_v0.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_operation_name_env_v0.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6200000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp6xelch54,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,16 +20,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "c42c9007e51f4f268848a67a8a5b1887", + "runtime-id": "6b249a8bb1b44dd987c32f27b640ab29", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 933 + "_sampling_priority_v1": 1.0, + "process_id": 40486.0 }, - "duration": 2389000, - "start": 1683920783348488000 + "duration": 1836917, + "start": 1776188002906964679 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_operation_name_env_v1.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_operation_name_env_v1.json index fcedeb77333..74d3d266bf3 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_operation_name_env_v1.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_operation_name_env_v1.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6100000000", "_dd.peer.service.source": "out.host", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0n3tuavo,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -20,16 +22,16 @@ "language": "python", "out.host": "localhost", "peer.service": "localhost", - "runtime-id": "af42544f532343e6bbd42753ebb3440e", + "runtime-id": "ff3dad143d714de4ad5912521d393786", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 940 + "_sampling_priority_v1": 1.0, + "process_id": 40432.0 }, - "duration": 2484000, - "start": 1683920784101870000 + "duration": 1845834, + "start": 1776188001399969220 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_default.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_default.json index 39cb57fbeca..49dab042c29 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_default.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_default.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67b8ba7400000000", + "_dd.p.tid": "69de7a6500000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmppkr_jriy,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,16 +20,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "9f321945191a47ac8e55f09c141ec62a", + "runtime-id": "b44def68ade648ce8d78b6fd6ea1c0cc", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15757 + "_sampling_priority_v1": 1.0, + "process_id": 40579.0 }, - "duration": 1742375, - "start": 1740159604021186135 + "duration": 1911125, + "start": 1776188005976645833 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_v0.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_v0.json index ce47384d693..549c6f6287a 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_v0.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_v0.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67b8bab400000000", + "_dd.p.tid": "69de7a6400000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpswu8fuiq,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -18,16 +20,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "d089202423a84e278ca4ad55b1fc549a", + "runtime-id": "fb8865e207f14dbf8daa8c10ff90fc87", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16245 + "_sampling_priority_v1": 1.0, + "process_id": 40543.0 }, - "duration": 1891709, - "start": 1740159668391149845 + "duration": 1840500, + "start": 1776188004947070014 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_v1.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_v1.json index 4a6b4c86316..1aece456bd0 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_v1.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_schematized_unspecified_service_name_env_v1.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6500000000", "_dd.peer.service.source": "out.host", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpfizd5san,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "httpx", "http.method": "GET", "http.status_code": "200", @@ -20,16 +22,16 @@ "language": "python", "out.host": "localhost", "peer.service": "localhost", - "runtime-id": "74048d49dc6e49ee89fe82f51d84dcf2", + "runtime-id": "0ec8f4ecb1b94b99a1abdb495c01b7f3", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 926 + "_sampling_priority_v1": 1.0, + "process_id": 40558.0 }, - "duration": 2350000, - "start": 1683920782595878000 + "duration": 1845625, + "start": 1776188005420339791 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_split_by_domain.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_split_by_domain.json index 64a23818eed..9b4928752cf 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_split_by_domain.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_split_by_domain.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "tests.contrib.httpx", "_dd.p.dm": "-0", - "_dd.p.tid": "69cfcbab00000000", + "_dd.p.tid": "69de7a6200000000", "_dd.svc_src": "opt.split_by_domain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.httpx", "component": "httpx", @@ -21,7 +21,7 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "0ffd6a3370d4456db2275f20550d4cb2", + "runtime-id": "af89a2fe1f1e4e77a6315c42a0dcc771", "span.kind": "client" }, "metrics": { @@ -29,8 +29,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 9513.0 + "process_id": 40316.0 }, - "duration": 2896000, - "start": 1775225771397593001 + "duration": 2152834, + "start": 1776188002989994929 }]] diff --git a/tests/snapshots/tests.contrib.httpx.test_httpx.test_trace_query_string.json b/tests/snapshots/tests.contrib.httpx.test_httpx.test_trace_query_string.json index 939a7dba7fd..14a87bcd7f1 100644 --- a/tests/snapshots/tests.contrib.httpx.test_httpx.test_trace_query_string.json +++ b/tests/snapshots/tests.contrib.httpx.test_httpx.test_trace_query_string.json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de7a6600000000", + "_dd.svc_src": "httpx", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.httpx", "component": "httpx", "http.method": "GET", "http.query.string": "some=query&string=args", @@ -19,16 +21,16 @@ "http.useragent": "python-httpx/x.xx.x", "language": "python", "out.host": "localhost", - "runtime-id": "75e629a190f54866a5d1c4c299c99fe2", + "runtime-id": "af89a2fe1f1e4e77a6315c42a0dcc771", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 85259 + "_sampling_priority_v1": 1.0, + "process_id": 40316.0 }, - "duration": 6137000, - "start": 1667242897906798000 + "duration": 1847333, + "start": 1776188006058571875 }]] From d2143335e0abb0627ea8192fd340170fd202fc2b Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 10:35:59 -0700 Subject: [PATCH 023/114] update otel snapshots --- ...ext.test_otel_ddtrace_mixed_parenting.json | 51 +++++--- ...test_context.test_otel_multithreading.json | 116 +++++++++++------- ...test_context.test_otel_span_parenting.json | 59 +++++---- ...start_as_current_span_decorator_async.json | 27 ---- ...t_context.test_otel_trace_across_fork.json | 35 +++--- ...t.test_otel_trace_multiple_coroutines.json | 44 ++++--- ...cisions_across_processes[manual.drop].json | 36 +++--- ...cisions_across_processes[manual.keep].json | 36 +++--- ...y.test_span.test_otel_span_attributes.json | 82 +++++++------ ..._span_attributes_overrides[override0].json | 16 +-- ..._span_attributes_overrides[override1].json | 16 +-- ..._span_attributes_overrides[override2].json | 16 +-- ..._span_attributes_overrides[override3].json | 16 +-- ..._span_attributes_overrides[override4].json | 16 +-- ...metry.test_span.test_otel_span_events.json | 32 ++--- ...lemetry.test_span.test_otel_span_kind.json | 80 ++++++------ ...race_with_flask_app[with_ddtrace_run].json | 81 +++++++----- ...sk_app[with_opentelemetry_instrument].json | 77 ------------ ..._otel_start_as_current_span_decorator.json | 38 +++--- ..._start_current_span_with_default_args.json | 16 +-- ...art_current_span_without_default_args.json | 17 +-- ...est_otel_start_span_ignore_exceptions.json | 16 +-- ...test_otel_start_span_record_exception.json | 34 ++--- ..._otel_start_span_without_default_args.json | 17 +-- 24 files changed, 512 insertions(+), 462 deletions(-) delete mode 100644 tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json delete mode 100644 tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json index 48326bd2cd7..d97e4c49ad0 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7abd00000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 110788667, - "start": 1700080043282924092 + "duration": 123015042, + "start": 1776188093143197721 }, { "name": "ddtrace-top-level", @@ -32,8 +34,11 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 110661292, - "start": 1700080043283026467 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 122735583, + "start": 1776188093143345513 }, { "name": "ddtrace-child", @@ -44,8 +49,11 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 41143250, - "start": 1700080043303321550 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 45640500, + "start": 1776188093164583513 }, { "name": "internal", @@ -56,8 +64,11 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 49070375, - "start": 1700080043344572342 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 55503500, + "start": 1776188093210385721 }, { "name": "ddtrace-grandchild", @@ -68,8 +79,11 @@ "parent_id": 4, "type": "", "error": 0, - "duration": 25307375, - "start": 1700080043368281717 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 30398958, + "start": 1776188093235241555 }, { "name": "internal", @@ -80,6 +94,9 @@ "parent_id": 5, "type": "", "error": 0, - "duration": 25177958, - "start": 1700080043368341134 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 26074625, + "start": 1776188093235476221 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json index b4ee89cd945..372e48bdbb7 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7abc00000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 88410458, - "start": 1700080043405226967 + "duration": 89001334, + "start": 1776188092933977304 }, { "name": "internal", @@ -33,14 +35,15 @@ "type": "", "error": 0, "meta": { - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "_dd.svc_src": "tests.opentelemetry", + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, - "process_id": 7032 + "_dd.top_level": 1.0, + "process_id": 42232.0 }, - "duration": 85156542, - "start": 1700080043406178092 + "duration": 87528541, + "start": 1776188092934431513 }, { "name": "internal", @@ -51,8 +54,11 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 23362125, - "start": 1700080043406289967 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 21651917, + "start": 1776188092934508846 }, { "name": "internal", @@ -63,8 +69,11 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 61255875, - "start": 1700080043429745967 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 65604709, + "start": 1776188092956236179 }, { "name": "internal", @@ -76,14 +85,15 @@ "type": "", "error": 0, "meta": { - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "_dd.svc_src": "tests.opentelemetry", + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, - "process_id": 7032 + "_dd.top_level": 1.0, + "process_id": 42232.0 }, - "duration": 85552833, - "start": 1700080043406687134 + "duration": 87510250, + "start": 1776188092934776721 }, { "name": "internal", @@ -94,8 +104,11 @@ "parent_id": 3, "type": "", "error": 0, - "duration": 23411792, - "start": 1700080043406774092 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 21147125, + "start": 1776188092934848929 }, { "name": "internal", @@ -106,8 +119,11 @@ "parent_id": 3, "type": "", "error": 0, - "duration": 61850083, - "start": 1700080043430265967 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 66155333, + "start": 1776188092956068388 }, { "name": "internal", @@ -119,14 +135,15 @@ "type": "", "error": 0, "meta": { - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "_dd.svc_src": "tests.opentelemetry", + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, - "process_id": 7032 + "_dd.top_level": 1.0, + "process_id": 42232.0 }, - "duration": 85467000, - "start": 1700080043407120092 + "duration": 87580625, + "start": 1776188092935069013 }, { "name": "internal", @@ -137,8 +154,11 @@ "parent_id": 4, "type": "", "error": 0, - "duration": 22181375, - "start": 1700080043407196592 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 21183584, + "start": 1776188092935135304 }, { "name": "internal", @@ -149,8 +169,11 @@ "parent_id": 4, "type": "", "error": 0, - "duration": 62950666, - "start": 1700080043429524884 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 66165916, + "start": 1776188092956377388 }, { "name": "internal", @@ -162,14 +185,15 @@ "type": "", "error": 0, "meta": { - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "_dd.svc_src": "tests.opentelemetry", + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, - "process_id": 7032 + "_dd.top_level": 1.0, + "process_id": 42232.0 }, - "duration": 85444666, - "start": 1700080043407564509 + "duration": 87495334, + "start": 1776188092935360679 }, { "name": "internal", @@ -180,8 +204,11 @@ "parent_id": 5, "type": "", "error": 0, - "duration": 22272375, - "start": 1700080043407654425 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 20288875, + "start": 1776188092935425929 }, { "name": "internal", @@ -192,6 +219,9 @@ "parent_id": 5, "type": "", "error": 0, - "duration": 62895166, - "start": 1700080043430002634 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 66915083, + "start": 1776188092955880721 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json index 89919325a5c..ddff3f38704 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529aa00000000", + "_dd.p.tid": "69de7abd00000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 261488626, - "start": 1700080042950720258 + "duration": 243616500, + "start": 1776188093276932555 }, { "name": "internal", @@ -32,8 +34,11 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 110618583, - "start": 1700080042974075675 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 110033167, + "start": 1776188093300640971 }, { "name": "internal", @@ -44,8 +49,11 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 65187750, - "start": 1700080043019322133 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 61893584, + "start": 1776188093348532971 }, { "name": "internal", @@ -56,8 +64,11 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 127379917, - "start": 1700080043084759842 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 109374042, + "start": 1776188093411004721 }, { "name": "internal", @@ -69,14 +80,15 @@ "type": "", "error": 0, "meta": { - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "_dd.svc_src": "tests.opentelemetry", + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, - "process_id": 7032 + "_dd.top_level": 1.0, + "process_id": 42232.0 }, - "duration": 126974250, - "start": 1700080043085104425 + "duration": 108015750, + "start": 1776188093412196513 }, { "name": "internal", @@ -88,12 +100,13 @@ "type": "", "error": 0, "meta": { - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "_dd.svc_src": "tests.opentelemetry", + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, - "process_id": 7032 + "_dd.top_level": 1.0, + "process_id": 42232.0 }, - "duration": 79690208, - "start": 1700080043132067967 + "duration": 63893833, + "start": 1776188093455975513 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json deleted file mode 100644 index 7017500d1b0..00000000000 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json +++ /dev/null @@ -1,27 +0,0 @@ -[[ - { - "name": "internal", - "service": "tests.opentelemetry", - "resource": "async-function", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "698a398100000000", - "language": "python", - "runtime-id": "d0339dacdb8c4464b6e3b5bc4fd24531", - "test-attribute1": "before-sleep", - "test-attribute2": "after-sleep" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 64953.0 - }, - "duration": 11337000, - "start": 1770666369860326000 - }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json index 38ad6078e03..9aa41da4d3f 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7abe00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphv1atsub,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "8925c53d1c1d46a2b8a723e31ac11098" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42490.0 }, - "duration": 45736250, - "start": 1700080043517030634 + "duration": 55835750, + "start": 1776188094183549847 }, { "name": "internal", @@ -34,17 +36,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7abe00000000", + "_dd.parent_id": "d03e58831aac1dcf", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphv1atsub,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "9609b5511d35497e8ea3d3a71299ccd0", - "tracestate": "dd=s:1;t.dm:-0" + "runtime-id": "d3bca96879be4110b5cde55eee30aac1", + "tracestate": "dd=p:d03e58831aac1dcf;s:1;t.dm:-0" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7039 + "_sampling_priority_v1": 1.0, + "process_id": 42498.0 }, - "duration": 22333250, - "start": 1700080043530690050 + "duration": 24067334, + "start": 1776188094211914638 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json index db6839d2905..a2505ab8bdc 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7abd00000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 100303000, - "start": 1700080043577535550 + "duration": 96718334, + "start": 1776188093037183554 }, { "name": "internal", @@ -32,8 +34,11 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 24014375, - "start": 1700080043577829384 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 23207792, + "start": 1776188093037302679 }, { "name": "internal", @@ -44,8 +49,11 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 25175167, - "start": 1700080043602012175 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 25647459, + "start": 1776188093060696971 }, { "name": "internal", @@ -56,8 +64,11 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 25196042, - "start": 1700080043627275592 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 21852000, + "start": 1776188093086516055 }, { "name": "internal", @@ -68,6 +79,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 25230083, - "start": 1700080043652546967 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 25282333, + "start": 1776188093108539763 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json index 58e514d41c7..213fd4de13d 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "67d83dce00000000", + "_dd.p.tid": "69de7abb00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuecxwdxz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "ebddb7fccd114097b0011932a0a46477" + "runtime-id": "5dd6c9d0db25405c8d8d6bfe8e3ab87a" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 501 + "_sampling_priority_v1": -1.0, + "process_id": 42428.0 }, - "duration": 33225459, - "start": 1742224846740381633 + "duration": 52033208, + "start": 1776188091993947804 }, { "name": "internal", @@ -34,18 +36,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "67d83dce00000000", - "_dd.parent_id": "b373219900721aaf", + "_dd.p.tid": "69de7abb00000000", + "_dd.parent_id": "7745352b3aafc951", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuecxwdxz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "5bfea6428d5e467aa17a09963ceb1ef9", - "tracestate": "dd=p:b373219900721aaf;s:2;t.dm:-4" + "runtime-id": "a00be096fcbf482c9ed543e3159576b1", + "tracestate": "dd=p:7745352b3aafc951;s:-1;t.dm:-4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 505 + "_sampling_priority_v1": -1.0, + "process_id": 42436.0 }, - "duration": 20982541, - "start": 1742224846746263092 + "duration": 20473584, + "start": 1776188092022325137 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json index 2be7e2dd07e..8964f094cad 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "67d83dce00000000", + "_dd.p.tid": "69de7abc00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptiz81mhd,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "ebddb7fccd114097b0011932a0a46477" + "runtime-id": "e5738ae778fd4ae5a81aa9941cdaa4e2" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 501 + "_sampling_priority_v1": 2.0, + "process_id": 42450.0 }, - "duration": 33225459, - "start": 1742224846740381633 + "duration": 52637042, + "start": 1776188092792921471 }, { "name": "internal", @@ -34,18 +36,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "67d83dce00000000", - "_dd.parent_id": "b373219900721aaf", + "_dd.p.tid": "69de7abc00000000", + "_dd.parent_id": "130c3cf3d45d242c", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptiz81mhd,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "5bfea6428d5e467aa17a09963ceb1ef9", - "tracestate": "dd=p:b373219900721aaf;s:2;t.dm:-4" + "runtime-id": "115364fd835b4efb8e395bf720e16aab", + "tracestate": "dd=p:130c3cf3d45d242c;s:2;t.dm:-4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 505 + "_sampling_priority_v1": 2.0, + "process_id": 42458.0 }, - "duration": 20982541, - "start": 1742224846746263092 + "duration": 24103084, + "start": 1776188092818469054 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json index 8f1f87b1c17..31ca7365af0 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "tests.opentelemetry", "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "bytes_tag": "bstr", "language": "python", "real_string_tag": "rstr", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d", + "runtime-id": "70ff513e149c4275a000e61227618926", "tag1": "one", "tag2": "two", "tag3": "3", "unicode_tag": "ustr" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 907417, - "start": 1700080043692314967 + "duration": 88958, + "start": 1776188083658336050 }], [ { @@ -43,23 +45,25 @@ "meta": { "_dd.base_service": "tests.opentelemetry", "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, + "_sampling_priority_v1": 1.0, "float_tag": 2.111, - "int_tag": 1, - "process_id": 7032, - "tag1": 1, - "tag2": 2, + "int_tag": 1.0, + "process_id": 42232.0, + "tag1": 1.0, + "tag2": 2.0, "tag3": 3.1415 }, - "duration": 68000, - "start": 1704737749273699000 + "duration": 43334, + "start": 1776188083658562758 }], [ { @@ -73,34 +77,36 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "659c3bd500000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "moon.0": "True", "moon.2.0": "hello", "moon.2.2.0": "5", "moon.2.2.1": "6asda", - "runtime-id": "4b2f5598b7cb468fab14c8b0b52221bc" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "gamer421.0": 1, - "gamer421.1": 2, - "gamer421.2": 3, - "moon.1": 2, - "moon.2.1": 4, - "moon1.0": 1, - "moon1.1": 2, - "moon1.2": 3, - "process_id": 47933, - "sunk.0": 1, - "sunk.1": 2, - "sunk.2": 3, - "teardrop68.0": 1, - "teardrop68.1": 2, - "teardrop68.2": 3 + "_sampling_priority_v1": 1.0, + "gamer421.0": 1.0, + "gamer421.1": 2.0, + "gamer421.2": 3.0, + "moon.1": 2.0, + "moon.2.1": 4.0, + "moon1.0": 1.0, + "moon1.1": 2.0, + "moon1.2": 3.0, + "process_id": 42232.0, + "sunk.0": 1.0, + "sunk.1": 2.0, + "sunk.2": 3.0, + "teardrop68.0": 1.0, + "teardrop68.1": 2.0, + "teardrop68.2": 3.0 }, - "duration": 242000, - "start": 1704737749273824000 + "duration": 92542, + "start": 1776188083658709800 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json index 9e4e9ab4f90..70100d51054 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "operation.name": "operation-override", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 150625, - "start": 1700080043703585842 + "duration": 54167, + "start": 1776188083627050008 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json index f489dc10efe..23d5b80ca8c 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json @@ -11,16 +11,18 @@ "meta": { "_dd.base_service": "tests.opentelemetry", "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 109333, - "start": 1700080043711463967 + "duration": 76459, + "start": 1776188083571109008 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json index 5e8f7e444e4..f6f468b7545 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 231375, - "start": 1700080043717985509 + "duration": 62833, + "start": 1776188083649424092 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json index 37c1857476e..885e0e61f29 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 70000, - "start": 1700080043724267050 + "duration": 62667, + "start": 1776188083608135050 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json index a19349c9dbc..8ce4cf9637d 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "664e2ebd00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "http.status_code": "200", "language": "python", - "runtime-id": "51219e893c6e4aa78650c25d19abae25" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4723 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 98584, - "start": 1716399805807262166 + "duration": 62875, + "start": 1776188083599084175 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json index d3a4fc4809a..848b9c3cebf 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6650be1d00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "events": "[{\"name\": \"Web page unresponsive\",\"time_unix_nano\": 1714536311886000,\"attributes\": {\"error.code\": \"403\",\"unknown values\": [1,[\"h\",\"a\",[false]]]}}]", "language": "python", - "runtime-id": "236113d2484c485fb40ba896b12c1992" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 45527 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 160000, - "start": 1716567581636662000 + "duration": 50875, + "start": 1776188083615110675 }], [ { @@ -36,17 +38,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6650be1d00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "events": "[{\"name\": \"Web page loaded\",\"time_unix_nano\": 1714537311986000},{\"name\": \"Button changed color\",\"time_unix_nano\": 1714537311986000,\"attributes\": {\"colors\": [112,215,70],\"response.time\": 134.3,\"success\": true}}]", "language": "python", - "runtime-id": "236113d2484c485fb40ba896b12c1992" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 45527 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 195000, - "start": 1716567581637819000 + "duration": 28458, + "start": 1776188083615310675 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json index 211acde5b16..ef1dd382e4c 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d", + "runtime-id": "70ff513e149c4275a000e61227618926", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 64708, - "start": 1700080043734273717 + "duration": 63500, + "start": 1776188083579276133 }], [ { @@ -36,19 +38,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d", + "runtime-id": "70ff513e149c4275a000e61227618926", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 45833, - "start": 1700080043734405217 + "duration": 29833, + "start": 1776188083579468342 }], [ { @@ -62,19 +66,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d", + "runtime-id": "70ff513e149c4275a000e61227618926", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 39000, - "start": 1700080043734499134 + "duration": 27125, + "start": 1776188083579581217 }], [ { @@ -88,19 +94,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d", + "runtime-id": "70ff513e149c4275a000e61227618926", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 46542, - "start": 1700080043734588300 + "duration": 35750, + "start": 1776188083579688883 }], [ { @@ -114,16 +122,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655529ab00000000", + "_dd.p.tid": "69de7ab300000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e4724609efa84cf58424a8b1ef44b17d" + "runtime-id": "70ff513e149c4275a000e61227618926" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7032 + "_sampling_priority_v1": 1.0, + "process_id": 42232.0 }, - "duration": 29917, - "start": 1700080043734681342 + "duration": 19791, + "start": 1776188083579801217 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json index bb6cede676d..79ec91aaa47 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f98f00000000", + "_dd.p.tid": "69de7ac900000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "0e36b10eed7548c69e40e510f65217a3" + "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 71984.0 + "process_id": 43019.0 }, - "duration": 13267500, - "start": 1772485007478504555 + "duration": 6713334, + "start": 1776188105580299921 }, { "name": "flask.request", @@ -35,9 +37,10 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5f98f00000000", - "_dd.parent_id": "75d06d9fef498880", + "_dd.p.tid": "69de7ac900000000", + "_dd.parent_id": "5a91cdb5971efa2a", "_dd.svc_src": "flask", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "otel", "flask.url_rule": "/otel", @@ -48,20 +51,20 @@ "http.url": "http://0.0.0.0:8010/otel", "http.useragent": "python-requests/2.28.1", "language": "python", - "runtime-id": "dae8b65ddfbd454884af44542cfcbd2e", + "runtime-id": "add2bd29518c42f7b4cad81e46220009", "span.kind": "server", - "traceparent": "00-69a5f98f000000007488c8ec407568bf-75d06d9fef498880-01", - "tracestate": "dd=p:75d06d9fef498880;s:1;t.dm:-0" + "traceparent": "00-69de7ac9000000009772118a97a254d7-5a91cdb5971efa2a-01", + "tracestate": "dd=p:5a91cdb5971efa2a;s:1;t.dm:-0" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 72198.0 + "process_id": 43190.0 }, - "duration": 9778125, - "start": 1772485007481404430 + "duration": 5118417, + "start": 1776188105581585046 }, { "name": "flask.application", @@ -74,12 +77,13 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "otel", "flask.url_rule": "/otel" }, - "duration": 9145917, - "start": 1772485007481735847 + "duration": 4804458, + "start": 1776188105581729713 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -92,10 +96,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 25333, - "start": 1772485007481885472 + "duration": 12958, + "start": 1776188105581802880 }, { "name": "flask.preprocess_request", @@ -108,10 +113,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 22792, - "start": 1772485007481972847 + "duration": 11625, + "start": 1776188105581845296 }, { "name": "flask.dispatch_request", @@ -124,10 +130,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 8522958, - "start": 1772485007482035972 + "duration": 4501625, + "start": 1776188105581873421 }, { "name": "tests.opentelemetry.flask_app.otel", @@ -140,10 +147,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 8464833, - "start": 1772485007482080347 + "duration": 4474500, + "start": 1776188105581894296 }, { "name": "internal", @@ -155,10 +163,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "" + "_dd.base_service": "", + "_dd.svc_src": "m" }, - "duration": 88208, - "start": 1772485007490326972 + "duration": 41875, + "start": 1776188105586311046 }, { "name": "flask.process_response", @@ -171,10 +180,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 30125, - "start": 1772485007490642722 + "duration": 16333, + "start": 1776188105586414963 }, { "name": "flask.do_teardown_request", @@ -187,10 +197,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 23208, - "start": 1772485007490780847 + "duration": 12792, + "start": 1776188105586485588 }, { "name": "flask.do_teardown_appcontext", @@ -203,10 +214,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "m", "component": "flask" }, - "duration": 17958, - "start": 1772485007490845347 + "duration": 9416, + "start": 1776188105586515880 }, { "name": "flask.response", @@ -219,8 +231,9 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 276167, - "start": 1772485007490893430 + "duration": 157083, + "start": 1776188105586540088 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json deleted file mode 100644 index 00d1b0b71dd..00000000000 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json +++ /dev/null @@ -1,77 +0,0 @@ -[[ - { - "name": "internal", - "service": "tests.opentelemetry", - "resource": "test-otel-distributed-trace", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "66a666b600000000", - "language": "python", - "runtime-id": "4fe738d296c04c00aff7eb2a66389ad4" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 75526 - }, - "duration": 3561000, - "start": 1722181302828129000 - }, - { - "name": "server", - "service": "", - "resource": "GET /otel", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "66a666b600000000", - "_dd.parent_id": "ae6e2bf21738f62f", - "http.flavor": "1.1", - "http.host": "0.0.0.0:8011", - "http.method": "GET", - "http.route": "/otel", - "http.scheme": "http", - "http.server_name": "0.0.0.0", - "http.status_code": "200", - "http.target": "/otel", - "http.user_agent": "python-requests/2.28.1", - "language": "python", - "net.host.name": "0.0.0.0:8011", - "net.peer.ip": "127.0.0.1", - "runtime-id": "0dacca250fe4471094dc593f4892b91f", - "span.kind": "server", - "tracestate": "dd=p:ae6e2bf21738f62f;s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "net.host.port": 8011, - "net.peer.port": 62683, - "process_id": 75530 - }, - "duration": 515000, - "start": 1722181302830460000 - }, - { - "name": "internal", - "service": "", - "resource": "otel-flask-manual-span", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "duration": 16000, - "start": 1722181302830847000 - }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json index 0371a19ee24..7d7995f1fb9 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "69860c8d00000000", + "_dd.p.tid": "69de7ac800000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "21a870cf153a467193cf95e9ba18e2f8" + "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 57821.0 + "process_id": 43019.0 }, - "duration": 600000, - "start": 1770392717482349000 + "duration": 524125, + "start": 1776188104747785046 }, { "name": "internal", @@ -32,8 +34,11 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 84000, - "start": 1770392717482584000 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 65667, + "start": 1776188104747885962 }, { "name": "my-operation", @@ -45,10 +50,11 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.opentelemetry", "operation.name": "my-operation" }, - "duration": 53000, - "start": 1770392717482742000 + "duration": 56708, + "start": 1776188104748002171 }, { "name": "internal", @@ -60,13 +66,14 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.opentelemetry" + "_dd.base_service": "tests.opentelemetry", + "_dd.svc_src": "tests.opentelemetry" }, "metrics": { "_dd.top_level": 1.0 }, - "duration": 37000, - "start": 1770392717482822000 + "duration": 51083, + "start": 1776188104748096254 }, { "name": "internal", @@ -77,6 +84,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 45000, - "start": 1770392717482888000 + "meta": { + "_dd.svc_src": "tests.opentelemetry" + }, + "duration": 58584, + "start": 1776188104748193087 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json index b790e082ec4..29f62b26c1e 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655535da00000000", + "_dd.p.tid": "69de7ac800000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "b4ffa244c11343de919ca20a7e8eebcf" + "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7703 + "_sampling_priority_v1": 1.0, + "process_id": 43019.0 }, - "duration": 70875, - "start": 1700083162387024633 + "duration": 88708, + "start": 1776188104830161129 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json index f50d27bdf29..f402e4dbc11 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655535da00000000", + "_dd.p.tid": "69de7ac800000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "b4ffa244c11343de919ca20a7e8eebcf" + "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7703 + "_sampling_priority_v1": 1.0, + "process_id": 43019.0 }, - "duration": 472708, - "start": 1700083162392162508 + "duration": 2455208, + "start": 1776188104755826546 }, { "name": "server", @@ -33,6 +35,7 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.opentelemetry", "span.kind": "server", "start_current_span_tag": "start_cspan_val" }, diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json index a843ac04ac7..e456973dd65 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655535da00000000", + "_dd.p.tid": "69de7ac800000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "b4ffa244c11343de919ca20a7e8eebcf" + "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7703 + "_sampling_priority_v1": 1.0, + "process_id": 43019.0 }, - "duration": 57583, - "start": 1700083162382901633 + "duration": 62584, + "start": 1776188104823104587 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json index a1895fca8e5..d6035fa76e5 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json @@ -10,22 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6658897400000000", + "_dd.p.tid": "69de7ac800000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "error.message": "Sorry Otel Span, I failed you", - "error.stack": "Traceback (most recent call last):\n File \"/Users/munirabdinur/go/src/github.com/DataDog/dd-trace-py/tests/opentelemetry/test_trace.py\", line 27, in test_otel_start_span_record_exception\n raise Exception(\"Sorry Otel Span, I failed you\")\nException: Sorry Otel Span, I failed you\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/opentelemetry/test_trace.py\", line 37, in test_otel_start_span_record_exception\n raise Exception(\"Sorry Otel Span, I failed you\")\nException: Sorry Otel Span, I failed you\n", "error.type": "builtins.Exception", "events": "[{\"name\": \"exception\",\"time_unix_nano\": 1716560261227739000,\"attributes\": {\"exception.escaped\": \"False\",\"exception.message\": \"Invalid Operation 1\",\"exception.type\": \"builtins.ValueError\"}},{\"name\": \"exception\",\"time_unix_nano\": 1716560261227739000,\"attributes\": {\"exception.escaped\": \"True\",\"exception.message\": \"Sorry Otel Span, I failed you\",\"exception.type\": \"builtins.Exception\"}}]", "language": "python", - "runtime-id": "d0950ce7bda6498183acde9036abb131" + "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 71659 + "_sampling_priority_v1": 1.0, + "process_id": 43019.0 }, - "duration": 518127750028000, - "start": 1716560261227739000 + "duration": 2104333, + "start": 1776188104770111879 }], [ { @@ -39,20 +41,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6658897400000000", + "_dd.p.tid": "69de7ac800000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "error.message": "MoonEar Fire!!!", "error.stack": "Fake traceback", "error.type": "RandoException", "events": "[{\"name\": \"exception\",\"time_unix_nano\": 1716560281337739000,\"attributes\": {\"exception.escaped\": \"False\",\"exception.message\": \"Invalid Operation 2\",\"exception.stuff\": \"thing 2\",\"exception.type\": \"builtins.IndexError\"}},{\"name\": \"exception\",\"time_unix_nano\": 1716560271237812000,\"attributes\": {\"exception.details\": \"This is FAKE, I overwrote the real exception details\",\"exception.escaped\": \"False\",\"exception.message\": \"MoonEar Fire!!!\",\"exception.stacktrace\": \"Fake traceback\",\"exception.type\": \"RandoException\"}}]", "language": "python", - "runtime-id": "d0950ce7bda6498183acde9036abb131" + "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 71659 + "_sampling_priority_v1": 1.0, + "process_id": 43019.0 }, - "duration": 518127750240000, - "start": 1716560281337739000 + "duration": 120209, + "start": 1776188104772417462 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json index 264b4357359..ec1526a15d3 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "655535da00000000", + "_dd.p.tid": "69de7ac900000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "b4ffa244c11343de919ca20a7e8eebcf" + "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7703 + "_sampling_priority_v1": 1.0, + "process_id": 43019.0 }, - "duration": 181041, - "start": 1700083162375734175 + "duration": 487750, + "start": 1776188105829259630 }, { "name": "client", @@ -33,6 +35,7 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.opentelemetry", "span.kind": "client", "start_span_tag": "start_span_val" }, From d034472645a541c75d372b2729e15396d38cbdef Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 11:50:30 -0700 Subject: [PATCH 024/114] update azure_cosmos snapshots --- ...ure_cosmos_snapshot.test_cosmos_async.json | 104 ++++++++++-------- ...ure_cosmos_snapshot.test_cosmos_error.json | 93 ++++++++-------- ...zure_cosmos_snapshot.test_cosmos_sync.json | 104 ++++++++++-------- 3 files changed, 162 insertions(+), 139 deletions(-) diff --git a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json index a056974fc1a..c6748dc2b15 100644 --- a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json +++ b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json @@ -10,26 +10,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 2524125, - "start": 1774890348278443801 + "duration": 4054666, + "start": 1776192325306271338 }], [ { @@ -43,26 +44,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 11934583, - "start": 1774890348281350676 + "duration": 12308667, + "start": 1776192325310958421 }], [ { @@ -76,27 +78,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 2615666, - "start": 1774890348293684551 + "duration": 4004625, + "start": 1776192325323769421 }], [ { @@ -110,27 +113,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 1286625, - "start": 1774890348296604717 + "duration": 2355625, + "start": 1776192325328254004 }], [ { @@ -144,27 +148,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 1917208, - "start": 1774890348298137134 + "duration": 3448125, + "start": 1776192325330975796 }], [ { @@ -178,27 +183,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 1469750, - "start": 1774890348300360676 + "duration": 2463083, + "start": 1776192325334982338 }], [ { @@ -212,27 +218,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 1210000, - "start": 1774890348302054592 + "duration": 2272875, + "start": 1776192325337841671 }], [ { @@ -246,24 +253,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 3237875, - "start": 1774890348303488759 + "duration": 5562750, + "start": 1776192325340499296 }]] diff --git a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json index 02e6875c8d1..8e1001055fd 100644 --- a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json +++ b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json @@ -10,26 +10,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd565900000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "cba51c2d660145559dd1504546a00e69", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 2054416, - "start": 1775064665378299139 + "duration": 3680875, + "start": 1776192325361938254 }], [ { @@ -43,26 +44,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd565900000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "cba51c2d660145559dd1504546a00e69", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 9247667, - "start": 1775064665380638347 + "duration": 11011792, + "start": 1776192325366045129 }], [ { @@ -76,27 +78,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd565900000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "cba51c2d660145559dd1504546a00e69", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 3835291, - "start": 1775064665390229889 + "duration": 6763000, + "start": 1776192325377541129 }], [ { @@ -110,7 +113,8 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd565900000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", @@ -118,23 +122,23 @@ "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", "error.message": "(None) The document already exists in the collection.\nCode: None\nMessage: The document already exists in the collection.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/azure_cosmos/patch.py\", line 86, in _patched_synchronized_request\n raise e\n File \"/home/bits/project/ddtrace/contrib/internal/azure_cosmos/patch.py\", line 76, in _patched_synchronized_request\n result = wrapped(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_synchronized_request.py\", line 214, in SynchronizedRequest\n return _retry_utility.Execute(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_retry_utility.py\", line 97, in Execute\n result = ExecuteFunction(function, global_endpoint_manager, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_retry_utility.py\", line 199, in ExecuteFunction\n return function(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_synchronized_request.py\", line 150, in _Request\n raise exceptions.CosmosResourceExistsError(message=data, response=response)\nazure.cosmos.exceptions.CosmosResourceExistsError: (None) The document already exists in the collection.\nCode: None\nMessage: The document already exists in the collection.\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/azure_cosmos/patch.py\", line 69, in _patched_synchronized_request\n result = wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_synchronized_request.py\", line 214, in SynchronizedRequest\n return _retry_utility.Execute(\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_retry_utility.py\", line 97, in Execute\n result = ExecuteFunction(function, global_endpoint_manager, *args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_retry_utility.py\", line 199, in ExecuteFunction\n return function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_synchronized_request.py\", line 150, in _Request\n raise exceptions.CosmosResourceExistsError(message=data, response=response)\nazure.cosmos.exceptions.CosmosResourceExistsError: (None) The document already exists in the collection.\nCode: None\nMessage: The document already exists in the collection.\n", "error.type": "azure.cosmos.exceptions.CosmosResourceExistsError", "http.status_code": "409", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "cba51c2d660145559dd1504546a00e69", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 3402000, - "start": 1775064665394311180 + "duration": 5121916, + "start": 1776192325384705463 }], [ { @@ -148,27 +152,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd565900000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "cba51c2d660145559dd1504546a00e69", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 1814958, - "start": 1775064665397982639 + "duration": 2975333, + "start": 1776192325390207463 }], [ { @@ -182,27 +187,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd565900000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "cba51c2d660145559dd1504546a00e69", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 1754583, - "start": 1775064665400097014 + "duration": 2441250, + "start": 1776192325393553421 }], [ { @@ -216,24 +222,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd565900000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "cba51c2d660145559dd1504546a00e69", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 3606416, - "start": 1775064665402050889 + "duration": 5442042, + "start": 1776192325396291879 }]] diff --git a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json index 200de733d6a..3ee314f6452 100644 --- a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json +++ b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json @@ -10,26 +10,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 3457250, - "start": 1774890348159085217 + "duration": 3685916, + "start": 1776192325128198713 }], [ { @@ -43,26 +44,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 13213459, - "start": 1774890348163167217 + "duration": 11000500, + "start": 1776192325133081671 }], [ { @@ -76,27 +78,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 4646792, - "start": 1774890348176670634 + "duration": 3641208, + "start": 1776192325144538796 }], [ { @@ -110,27 +113,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 1556167, - "start": 1774890348181616384 + "duration": 2134542, + "start": 1776192325148595004 }], [ { @@ -144,27 +148,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 2393792, - "start": 1774890348183406759 + "duration": 3087292, + "start": 1776192325151072504 }], [ { @@ -178,27 +183,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 3056250, - "start": 1774890348186160342 + "duration": 2811333, + "start": 1776192325154627421 }], [ { @@ -212,27 +218,28 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 1542834, - "start": 1774890348189486592 + "duration": 2087667, + "start": 1776192325157789504 }], [ { @@ -246,24 +253,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69caad6c00000000", + "_dd.p.tid": "69de8b4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.23 (Linux-6.12.67-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "e22c2c28cda84c46824906113eac0339", + "runtime-id": "832dbf54fb9443388fa7e59716751fea", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 46717.0 }, - "duration": 4519791, - "start": 1774890348191243176 + "duration": 5184375, + "start": 1776192325160200338 }]] From 012234e67a5059f710003d41be062e4afb4835b8 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 11:55:21 -0700 Subject: [PATCH 025/114] update azure_eventhubs snapshots --- ...racing_disabled_batch_links_disabled].json | 32 +++--- ...tracing_disabled_batch_links_enabled].json | 100 +++++++++-------- ...tracing_enabled_batch_links_disabled].json | 32 +++--- ..._tracing_enabled_batch_links_enabled].json | 104 ++++++++++-------- ...nc_list_distributed_tracing_disabled].json | 56 ++++++---- ...ync_list_distributed_tracing_enabled].json | 64 ++++++----- ...racing_disabled_batch_links_disabled].json | 32 +++--- ...tracing_disabled_batch_links_enabled].json | 100 +++++++++-------- ...tracing_enabled_batch_links_disabled].json | 32 +++--- ..._tracing_enabled_batch_links_enabled].json | 104 ++++++++++-------- ..._tracing_enabled_batch_links_enabled].json | 104 ++++++++++-------- ...ync_list_distributed_tracing_enabled].json | 64 ++++++----- ..._tracing_enabled_batch_links_enabled].json | 104 ++++++++++-------- ...red_list_distributed_tracing_enabled].json | 64 ++++++----- ...ch_list_distributed_tracing_disabled].json | 56 ++++++---- ...tch_list_distributed_tracing_enabled].json | 64 ++++++----- ..._single_distributed_tracing_disabled].json | 68 +++++++----- ...c_single_distributed_tracing_enabled].json | 68 +++++++----- ...c_single_distributed_tracing_enabled].json | 68 +++++++----- ...d_single_distributed_tracing_enabled].json | 68 +++++++----- ..._single_distributed_tracing_disabled].json | 68 +++++++----- ...t_single_distributed_tracing_enabled].json | 68 +++++++----- ...venthubs_snapshot.test_producer_error.json | 18 +-- 23 files changed, 862 insertions(+), 676 deletions(-) diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json index 402cd8757be..cb987f5b0fe 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc53a600000000", + "_dd.p.tid": "69de8d4200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "ac44e319f9bf40ae9758454cd7c5d27b", + "runtime-id": "b5a6803ffb024d98abf10c0d44995907", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55302 + "_sampling_priority_v1": 1.0, + "process_id": 50393.0 }, - "duration": 12906458, - "start": 1758221222289829127 + "duration": 12118875, + "start": 1776192834275016795 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc53a600000000", + "_dd.p.tid": "69de8d4200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "ac44e319f9bf40ae9758454cd7c5d27b", + "runtime-id": "b5a6803ffb024d98abf10c0d44995907", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55302 + "_sampling_priority_v1": 1.0, + "process_id": 50393.0 }, - "duration": 3850208, - "start": 1758221222310305710 + "duration": 5349958, + "start": 1776192834288183254 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json index 076532fd7b8..e94843757b4 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc53a200000000", + "_dd.p.tid": "69de8d3f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "30d938d15da04095b84111be63a86820", + "runtime-id": "04367136055446e5bdc583525e524cf6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55295 + "_sampling_priority_v1": 1.0, + "process_id": 50380.0 }, - "duration": 1319959, - "start": 1758221218870584500 + "duration": 542042, + "start": 1776192831327356877 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc53a200000000", + "_dd.p.tid": "69de8d3f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "b63981ff-3c0a-4aa4-9986-9b662325a87d", + "messaging.message_id": "339ce1b3-aecb-4e1b-9ad4-d22d834d79a7", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "30d938d15da04095b84111be63a86820", + "runtime-id": "04367136055446e5bdc583525e524cf6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55295 + "_sampling_priority_v1": 1.0, + "process_id": 50380.0 }, - "duration": 644042, - "start": 1758221218881004125 + "duration": 421292, + "start": 1776192831329648127 }], [ { @@ -76,7 +80,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc53a200000000", + "_dd.p.tid": "69de8d3f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -84,17 +90,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "30d938d15da04095b84111be63a86820", + "runtime-id": "04367136055446e5bdc583525e524cf6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55295 + "_sampling_priority_v1": 1.0, + "process_id": 50380.0 }, - "duration": 7923042, - "start": 1758221218881963792 + "duration": 13380959, + "start": 1776192831330291877 }], [ { @@ -109,24 +115,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc53a200000000", + "_dd.p.tid": "69de8d3f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "30d938d15da04095b84111be63a86820", + "runtime-id": "04367136055446e5bdc583525e524cf6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55295 + "_sampling_priority_v1": 1.0, + "process_id": 50380.0 }, - "duration": 211750, - "start": 1758221218890210417 + "duration": 132417, + "start": 1776192831343914044 }], [ { @@ -141,25 +149,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc53a200000000", + "_dd.p.tid": "69de8d3f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "0bbee727-d98a-4ea1-9113-8b817ca0bcd3", + "messaging.message_id": "e3e3a644-f1a1-47de-ae8e-7124b8891b79", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "30d938d15da04095b84111be63a86820", + "runtime-id": "04367136055446e5bdc583525e524cf6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55295 + "_sampling_priority_v1": 1.0, + "process_id": 50380.0 }, - "duration": 324041, - "start": 1758221218890625209 + "duration": 203167, + "start": 1776192831344141252 }], [ { @@ -174,7 +184,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc53a200000000", + "_dd.p.tid": "69de8d3f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -182,15 +194,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "30d938d15da04095b84111be63a86820", + "runtime-id": "04367136055446e5bdc583525e524cf6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55295 + "_sampling_priority_v1": 1.0, + "process_id": 50380.0 }, - "duration": 4213916, - "start": 1758221218891099459 + "duration": 5189334, + "start": 1776192831344430252 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json index 755d0341a13..3ed86977b78 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539f00000000", + "_dd.p.tid": "69de8d3c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "c4b9b12440b540c187324d115c99cb1d", + "runtime-id": "75d26090069845ffb21fe641e299ec3e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55288 + "_sampling_priority_v1": 1.0, + "process_id": 50367.0 }, - "duration": 11017417, - "start": 1758221215442400763 + "duration": 10563917, + "start": 1776192828489416251 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539f00000000", + "_dd.p.tid": "69de8d3c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "c4b9b12440b540c187324d115c99cb1d", + "runtime-id": "75d26090069845ffb21fe641e299ec3e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55288 + "_sampling_priority_v1": 1.0, + "process_id": 50367.0 }, - "duration": 4044333, - "start": 1758221215460819888 + "duration": 7370125, + "start": 1776192828501123918 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json index 91db4741a00..d3937a56e22 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539c00000000", + "_dd.p.tid": "69de8d3900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e6dc23ac5b1a4e038b8a8ee80bb18f7c", + "runtime-id": "fd7825936b7d4975b28a5ae02789860e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55281 + "_sampling_priority_v1": 1.0, + "process_id": 50354.0 }, - "duration": 4341083, - "start": 1758221212056769178 + "duration": 1280375, + "start": 1776192825565209750 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539c00000000", + "_dd.p.tid": "69de8d3900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "c5a1c797-565a-4a0b-991f-c1ef6a07393b", + "messaging.message_id": "109ec711-4954-4098-98a2-b1ad8f258d44", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e6dc23ac5b1a4e038b8a8ee80bb18f7c", + "runtime-id": "fd7825936b7d4975b28a5ae02789860e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55281 + "_sampling_priority_v1": 1.0, + "process_id": 50354.0 }, - "duration": 725750, - "start": 1758221212068138636 + "duration": 1846584, + "start": 1776192825567672416 }], [ { @@ -76,8 +80,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539c00000000", - "_dd.span_links": "[{\"trace_id\": \"68cc539c00000000fbb26588b65f5761\", \"span_id\": \"c467001f8d3a9a1c\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68cc539c00000000\", \"flags\": 1}, {\"trace_id\": \"68cc539c0000000011cc14c4bbfe57ca\", \"span_id\": \"2c0727733ae0ca72\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68cc539c00000000\", \"flags\": 1}]", + "_dd.p.tid": "69de8d3900000000", + "_dd.span_links": "[{\"trace_id\": \"69de8d39000000008ebd943fcb68efae\", \"span_id\": \"de12968b630689ee\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d3900000000\", \"flags\": 1}, {\"trace_id\": \"69de8d3900000000881f6e5e8e30ece6\", \"span_id\": \"fda28ccc1b5dcdca\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d3900000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -85,17 +91,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e6dc23ac5b1a4e038b8a8ee80bb18f7c", + "runtime-id": "fd7825936b7d4975b28a5ae02789860e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55281 + "_sampling_priority_v1": 1.0, + "process_id": 50354.0 }, - "duration": 10006208, - "start": 1758221212069111553 + "duration": 4736208, + "start": 1776192825569646208 }], [ { @@ -110,24 +116,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539c00000000", + "_dd.p.tid": "69de8d3900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e6dc23ac5b1a4e038b8a8ee80bb18f7c", + "runtime-id": "fd7825936b7d4975b28a5ae02789860e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55281 + "_sampling_priority_v1": 1.0, + "process_id": 50354.0 }, - "duration": 438750, - "start": 1758221212081364011 + "duration": 149417, + "start": 1776192825574503416 }], [ { @@ -142,25 +150,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539c00000000", + "_dd.p.tid": "69de8d3900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "99446468-1956-41f6-8360-d65133133242", + "messaging.message_id": "411494e1-4754-4ae1-b45e-3d5b9ae5be74", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e6dc23ac5b1a4e038b8a8ee80bb18f7c", + "runtime-id": "fd7825936b7d4975b28a5ae02789860e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55281 + "_sampling_priority_v1": 1.0, + "process_id": 50354.0 }, - "duration": 456167, - "start": 1758221212081970178 + "duration": 142458, + "start": 1776192825574699083 }], [ { @@ -175,8 +185,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539c00000000", - "_dd.span_links": "[{\"trace_id\": \"68cc539c000000003ad14a855e333571\", \"span_id\": \"7dcb48018769d490\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68cc539c00000000\", \"flags\": 1}, {\"trace_id\": \"68cc539c00000000be17abfe70b37b09\", \"span_id\": \"aec30c2b1da46391\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68cc539c00000000\", \"flags\": 1}]", + "_dd.p.tid": "69de8d3900000000", + "_dd.span_links": "[{\"trace_id\": \"69de8d3900000000fa6b64a29d8d34d5\", \"span_id\": \"20dbeb1b93bafc0e\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d3900000000\", \"flags\": 1}, {\"trace_id\": \"69de8d3900000000dc30c6f3807481c3\", \"span_id\": \"aaeeea70118eccd8\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d3900000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -184,15 +196,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e6dc23ac5b1a4e038b8a8ee80bb18f7c", + "runtime-id": "fd7825936b7d4975b28a5ae02789860e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55281 + "_sampling_priority_v1": 1.0, + "process_id": 50354.0 }, - "duration": 4545791, - "start": 1758221212082553470 + "duration": 2967709, + "start": 1776192825574879416 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json index 78c6c2d2d20..ddc007f8831 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539800000000", + "_dd.p.tid": "69de8d3600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "5a0d24d5d57c45c4b3721cf9ef5b0db4", + "runtime-id": "3accc9d16fd64687a9c70d30e3c605bb", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55274 + "_sampling_priority_v1": 1.0, + "process_id": 50341.0 }, - "duration": 529109667, - "start": 1758221208169448009 + "duration": 499055834, + "start": 1776192822105185804 }, { "name": "azure.eventhubs.create", @@ -42,6 +44,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -49,8 +52,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 903709, - "start": 1758221208683895051 + "duration": 178750, + "start": 1776192822596435888 }, { "name": "azure.eventhubs.create", @@ -63,16 +66,17 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "69bbb41b-5c8b-47fd-8708-e2b5ef3bea11", + "messaging.message_id": "767fa003-14e9-46eb-abbc-8a69de360b64", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 551292, - "start": 1758221208685488343 + "duration": 143208, + "start": 1776192822596665763 }], [ { @@ -87,7 +91,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539800000000", + "_dd.p.tid": "69de8d3600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -95,17 +101,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "5a0d24d5d57c45c4b3721cf9ef5b0db4", + "runtime-id": "3accc9d16fd64687a9c70d30e3c605bb", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55274 + "_sampling_priority_v1": 1.0, + "process_id": 50341.0 }, - "duration": 4304584, - "start": 1758221208705473926 + "duration": 3478500, + "start": 1776192822604731971 }, { "name": "azure.eventhubs.create", @@ -118,6 +124,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -125,8 +132,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 186083, - "start": 1758221208705703968 + "duration": 74083, + "start": 1776192822604820888 }, { "name": "azure.eventhubs.create", @@ -139,14 +146,15 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "7201b64b-3254-4e23-bccf-ebe0c2fb7cab", + "messaging.message_id": "d825935e-cbaa-44f6-a961-7a82cb957d39", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 323000, - "start": 1758221208705971510 + "duration": 121292, + "start": 1776192822604917304 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json index d4d9d5bfbf5..a9bf2184c85 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539400000000", + "_dd.p.tid": "69de8d3300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e4b37fd14efd4a3d99019baa252daaad", + "runtime-id": "1ae737975a7c4c3eae69f9eb4cdee83d", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55267 + "_sampling_priority_v1": 1.0, + "process_id": 50328.0 }, - "duration": 522939959, - "start": 1758221204794486174 + "duration": 523822459, + "start": 1776192819007988344 }, { "name": "azure.eventhubs.create", @@ -42,7 +44,8 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68cc539400000000", + "_dd.p.tid": "69de8d3300000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -50,8 +53,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 1926834, - "start": 1758221205304668341 + "duration": 1096667, + "start": 1776192819518763636 }, { "name": "azure.eventhubs.create", @@ -64,17 +67,18 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68cc539400000000", + "_dd.p.tid": "69de8d3300000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "42fea251-fa40-4e5a-b295-83e684bbfd6c", + "messaging.message_id": "a460f4e2-d94a-4674-8413-b5c99b4e9fd2", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 785709, - "start": 1758221205307407216 + "duration": 411000, + "start": 1776192819520040678 }], [ { @@ -89,7 +93,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539500000000", + "_dd.p.tid": "69de8d3300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -97,17 +103,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e4b37fd14efd4a3d99019baa252daaad", + "runtime-id": "1ae737975a7c4c3eae69f9eb4cdee83d", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55267 + "_sampling_priority_v1": 1.0, + "process_id": 50328.0 }, - "duration": 5009834, - "start": 1758221205324171966 + "duration": 5682583, + "start": 1776192819532528303 }, { "name": "azure.eventhubs.create", @@ -120,7 +126,8 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68cc539500000000", + "_dd.p.tid": "69de8d3300000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -128,8 +135,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 363042, - "start": 1758221205324644758 + "duration": 241291, + "start": 1776192819532860678 }, { "name": "azure.eventhubs.create", @@ -142,15 +149,16 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68cc539500000000", + "_dd.p.tid": "69de8d3300000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "44a95371-8485-49db-9575-9015332cb799", + "messaging.message_id": "953805d3-34b6-435c-9709-6966f5b7a09d", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 488792, - "start": 1758221205325087008 + "duration": 293583, + "start": 1776192819533142136 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json index f7e982996a7..5411c7d4c53 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539100000000", + "_dd.p.tid": "69de8d2f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "7e55f31240a64f41b738de239bb1a86e", + "runtime-id": "6905e78bb1dd4b42a20a6aa0c3d5856f", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55257 + "_sampling_priority_v1": 1.0, + "process_id": 50311.0 }, - "duration": 9283875, - "start": 1758221201391037714 + "duration": 10875292, + "start": 1776192815093397842 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc539100000000", + "_dd.p.tid": "69de8d2f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "7e55f31240a64f41b738de239bb1a86e", + "runtime-id": "6905e78bb1dd4b42a20a6aa0c3d5856f", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55257 + "_sampling_priority_v1": 1.0, + "process_id": 50311.0 }, - "duration": 2875500, - "start": 1758221201406040381 + "duration": 3180583, + "start": 1776192815104957384 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json index cca1db94d31..25d00e61426 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538d00000000", + "_dd.p.tid": "69de8d2a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "b6aa080426944522925668afdccb8380", + "runtime-id": "9eac12941b024f3c981ed71f61b4a117", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55247 + "_sampling_priority_v1": 1.0, + "process_id": 50294.0 }, - "duration": 1994583, - "start": 1758221197296834796 + "duration": 1509625, + "start": 1776192810565918465 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538d00000000", + "_dd.p.tid": "69de8d2a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "ffb97dd8-6e04-442e-8859-a1595d2b2f98", + "messaging.message_id": "4badf654-4e71-424b-983d-b61f211b455e", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "b6aa080426944522925668afdccb8380", + "runtime-id": "9eac12941b024f3c981ed71f61b4a117", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55247 + "_sampling_priority_v1": 1.0, + "process_id": 50294.0 }, - "duration": 344583, - "start": 1758221197307283296 + "duration": 698750, + "start": 1776192810569970298 }], [ { @@ -76,7 +80,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538d00000000", + "_dd.p.tid": "69de8d2a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -84,17 +90,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "b6aa080426944522925668afdccb8380", + "runtime-id": "9eac12941b024f3c981ed71f61b4a117", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55247 + "_sampling_priority_v1": 1.0, + "process_id": 50294.0 }, - "duration": 6279542, - "start": 1758221197307849504 + "duration": 11882958, + "start": 1776192810571021507 }], [ { @@ -109,24 +115,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538d00000000", + "_dd.p.tid": "69de8d2a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "b6aa080426944522925668afdccb8380", + "runtime-id": "9eac12941b024f3c981ed71f61b4a117", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55247 + "_sampling_priority_v1": 1.0, + "process_id": 50294.0 }, - "duration": 198958, - "start": 1758221197314500296 + "duration": 121459, + "start": 1776192810583121548 }], [ { @@ -141,25 +149,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538d00000000", + "_dd.p.tid": "69de8d2a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "572e8c7e-e226-40b3-a242-c7e4648351fa", + "messaging.message_id": "0a5412bf-8770-41ee-951c-5459994e7985", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "b6aa080426944522925668afdccb8380", + "runtime-id": "9eac12941b024f3c981ed71f61b4a117", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55247 + "_sampling_priority_v1": 1.0, + "process_id": 50294.0 }, - "duration": 279500, - "start": 1758221197314878546 + "duration": 197458, + "start": 1776192810583334090 }], [ { @@ -174,7 +184,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538d00000000", + "_dd.p.tid": "69de8d2a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -182,15 +194,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "b6aa080426944522925668afdccb8380", + "runtime-id": "9eac12941b024f3c981ed71f61b4a117", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55247 + "_sampling_priority_v1": 1.0, + "process_id": 50294.0 }, - "duration": 3456875, - "start": 1758221197315322504 + "duration": 5531166, + "start": 1776192810583638382 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json index d4b3e84b4a0..05d29589e26 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538800000000", + "_dd.p.tid": "69de8d2500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "877d9b1e4ad84fa1a16fc71e84fb3905", + "runtime-id": "fa54b3d95b3f416e8ab8d4674cee33c2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55237 + "_sampling_priority_v1": 1.0, + "process_id": 50277.0 }, - "duration": 9779666, - "start": 1758221192038182002 + "duration": 34141250, + "start": 1776192805976837338 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538800000000", + "_dd.p.tid": "69de8d2600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "877d9b1e4ad84fa1a16fc71e84fb3905", + "runtime-id": "fa54b3d95b3f416e8ab8d4674cee33c2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55237 + "_sampling_priority_v1": 1.0, + "process_id": 50277.0 }, - "duration": 2437042, - "start": 1758221192052099168 + "duration": 3388041, + "start": 1776192806011849255 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json index b028ea1821a..297a4043c42 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538300000000", + "_dd.p.tid": "69de8d2100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ac27253192648a5a193b1e35aa93f72", + "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55227 + "_sampling_priority_v1": 1.0, + "process_id": 50260.0 }, - "duration": 7296541, - "start": 1758221187847958250 + "duration": 5343875, + "start": 1776192801333027169 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538300000000", + "_dd.p.tid": "69de8d2100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "9731321e-ad1d-4f87-a9d5-9fc6932ba135", + "messaging.message_id": "98152b1c-85ff-4f17-8b60-f736342e43e1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ac27253192648a5a193b1e35aa93f72", + "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55227 + "_sampling_priority_v1": 1.0, + "process_id": 50260.0 }, - "duration": 737083, - "start": 1758221187863657000 + "duration": 711500, + "start": 1776192801339563919 }], [ { @@ -76,8 +80,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538300000000", - "_dd.span_links": "[{\"trace_id\": \"68cc538300000000e8c1c5fd52ee0184\", \"span_id\": \"3fb538c1d13d1245\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68cc538300000000\", \"flags\": 1}, {\"trace_id\": \"68cc538300000000d34dec06ddf031e9\", \"span_id\": \"529df3103d9870ac\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68cc538300000000\", \"flags\": 1}]", + "_dd.p.tid": "69de8d2100000000", + "_dd.span_links": "[{\"trace_id\": \"69de8d210000000008fca50f0d4e973f\", \"span_id\": \"df993e119c64097c\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d2100000000\", \"flags\": 1}, {\"trace_id\": \"69de8d21000000001513a58bd0b51573\", \"span_id\": \"295d5faaa13fe032\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d2100000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -85,17 +91,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ac27253192648a5a193b1e35aa93f72", + "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55227 + "_sampling_priority_v1": 1.0, + "process_id": 50260.0 }, - "duration": 9710208, - "start": 1758221187864635750 + "duration": 14008333, + "start": 1776192801340443919 }], [ { @@ -110,24 +116,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538300000000", + "_dd.p.tid": "69de8d2100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ac27253192648a5a193b1e35aa93f72", + "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55227 + "_sampling_priority_v1": 1.0, + "process_id": 50260.0 }, - "duration": 428375, - "start": 1758221187876379333 + "duration": 283542, + "start": 1776192801354755002 }], [ { @@ -142,25 +150,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538300000000", + "_dd.p.tid": "69de8d2100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "6297f0cb-f7c9-407d-aa94-8031c5b016d6", + "messaging.message_id": "ccdaea5d-a938-4f48-b54e-5fa3a34690b7", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ac27253192648a5a193b1e35aa93f72", + "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55227 + "_sampling_priority_v1": 1.0, + "process_id": 50260.0 }, - "duration": 439834, - "start": 1758221187876980791 + "duration": 288167, + "start": 1776192801355127169 }], [ { @@ -175,8 +185,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc538300000000", - "_dd.span_links": "[{\"trace_id\": \"68cc5383000000008e5df31bed8ca637\", \"span_id\": \"674beffccf11b0b0\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68cc538300000000\", \"flags\": 1}, {\"trace_id\": \"68cc5383000000006001a5ae76902d0b\", \"span_id\": \"90ae53b5c2955389\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68cc538300000000\", \"flags\": 1}]", + "_dd.p.tid": "69de8d2100000000", + "_dd.span_links": "[{\"trace_id\": \"69de8d21000000008cb953c6dcd0b0c6\", \"span_id\": \"4160cd67d11c7050\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d2100000000\", \"flags\": 1}, {\"trace_id\": \"69de8d21000000002ba7f70df2682bfd\", \"span_id\": \"7832381cb58c2b01\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d2100000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -184,15 +196,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ac27253192648a5a193b1e35aa93f72", + "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55227 + "_sampling_priority_v1": 1.0, + "process_id": 50260.0 }, - "duration": 3649625, - "start": 1758221187877547666 + "duration": 4580291, + "start": 1776192801355725586 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json index 58cff6c3239..386a0df8263 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1afa600000000", + "_dd.p.tid": "69de8d5700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "865fcd1a1cf94252b4a4267453e1f07a", + "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17265 + "_sampling_priority_v1": 1.0, + "process_id": 50461.0 }, - "duration": 5025875, - "start": 1758572454351446055 + "duration": 2228667, + "start": 1776192855212100430 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1afa600000000", + "_dd.p.tid": "69de8d5700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "3573e4e2-0803-4164-b84e-bf28d9906dbb", + "messaging.message_id": "303b9d37-b5c7-4b47-a61e-7ed8053678fb", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "865fcd1a1cf94252b4a4267453e1f07a", + "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17265 + "_sampling_priority_v1": 1.0, + "process_id": 50461.0 }, - "duration": 882666, - "start": 1758572454365227430 + "duration": 670375, + "start": 1776192855216041639 }], [ { @@ -76,8 +80,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1afa600000000", - "_dd.span_links": "[{\"trace_id\": \"68d1afa600000000ba6aabf9c1b3fd92\", \"span_id\": \"24ec6ec59147b4f7\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68d1afa600000000\", \"flags\": 1}, {\"trace_id\": \"68d1afa600000000b6abae0644b4c302\", \"span_id\": \"47203230632cfaf7\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68d1afa600000000\", \"flags\": 1}]", + "_dd.p.tid": "69de8d5700000000", + "_dd.span_links": "[{\"trace_id\": \"69de8d570000000003d8d3b099d375d0\", \"span_id\": \"9c51a3e23aef32c6\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d5700000000\", \"flags\": 1}, {\"trace_id\": \"69de8d5700000000e175dd79945a9d71\", \"span_id\": \"a01790254839b25e\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d5700000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -85,17 +91,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "865fcd1a1cf94252b4a4267453e1f07a", + "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17265 + "_sampling_priority_v1": 1.0, + "process_id": 50461.0 }, - "duration": 487636250, - "start": 1758572454366398763 + "duration": 451122944, + "start": 1776192855216895514 }], [ { @@ -110,24 +116,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1afa600000000", + "_dd.p.tid": "69de8d5700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "865fcd1a1cf94252b4a4267453e1f07a", + "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17265 + "_sampling_priority_v1": 1.0, + "process_id": 50461.0 }, - "duration": 332375, - "start": 1758572454855474472 + "duration": 505833, + "start": 1776192855668480125 }], [ { @@ -142,25 +150,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1afa600000000", + "_dd.p.tid": "69de8d5700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "10b51c28-628d-4a42-a7e2-905ef2ab63b2", + "messaging.message_id": "3cfaedcd-fe20-426a-8d83-ba906e30c948", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "865fcd1a1cf94252b4a4267453e1f07a", + "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17265 + "_sampling_priority_v1": 1.0, + "process_id": 50461.0 }, - "duration": 319333, - "start": 1758572454855916930 + "duration": 410583, + "start": 1776192855669117625 }], [ { @@ -175,8 +185,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1afa600000000", - "_dd.span_links": "[{\"trace_id\": \"68d1afa600000000c1b95d25d2cf5f60\", \"span_id\": \"47b73cd1892637ea\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68d1afa600000000\", \"flags\": 1}, {\"trace_id\": \"68d1afa6000000000160fd952293e847\", \"span_id\": \"079de0c29ec51a2f\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68d1afa600000000\", \"flags\": 1}]", + "_dd.p.tid": "69de8d5700000000", + "_dd.span_links": "[{\"trace_id\": \"69de8d57000000006d448ef75bd870c7\", \"span_id\": \"2c7cb6b60a51514b\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d5700000000\", \"flags\": 1}, {\"trace_id\": \"69de8d57000000009d7b60cfcc222133\", \"span_id\": \"8dc0ef30181d5e16\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d5700000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -184,15 +196,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "865fcd1a1cf94252b4a4267453e1f07a", + "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17265 + "_sampling_priority_v1": 1.0, + "process_id": 50461.0 }, - "duration": 460459, - "start": 1758572454856334638 + "duration": 586916, + "start": 1776192855669680000 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json index b4e36442218..b0436e3b17e 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af9f00000000", + "_dd.p.tid": "69de8d5000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "b5f7bc71b95248fabb80725c34afee88", + "runtime-id": "9c800134aa5747f2a66efefbd4372164", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17258 + "_sampling_priority_v1": 1.0, + "process_id": 50448.0 }, - "duration": 998655751, - "start": 1758572447331836676 + "duration": 963091834, + "start": 1776192848826961761 }, { "name": "azure.eventhubs.create", @@ -42,7 +44,8 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68d1af9f00000000", + "_dd.p.tid": "69de8d5000000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -50,8 +53,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 2048333, - "start": 1758572447850576635 + "duration": 519750, + "start": 1776192849330680969 }, { "name": "azure.eventhubs.create", @@ -64,17 +67,18 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68d1af9f00000000", + "_dd.p.tid": "69de8d5000000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "7e5380a1-88fe-44fc-80de-912a7ad8fe1d", + "messaging.message_id": "f8f633e2-1d55-4f04-acd3-3b30195ab237", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 943208, - "start": 1758572447853661052 + "duration": 289375, + "start": 1776192849331287053 }], [ { @@ -89,7 +93,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1afa000000000", + "_dd.p.tid": "69de8d5100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -97,17 +103,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "b5f7bc71b95248fabb80725c34afee88", + "runtime-id": "9c800134aa5747f2a66efefbd4372164", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17258 + "_sampling_priority_v1": 1.0, + "process_id": 50448.0 }, - "duration": 2200167, - "start": 1758572448338600135 + "duration": 935750, + "start": 1776192849790835886 }, { "name": "azure.eventhubs.create", @@ -120,7 +126,8 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68d1afa000000000", + "_dd.p.tid": "69de8d5100000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -128,8 +135,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 470875, - "start": 1758572448339283510 + "duration": 297417, + "start": 1776192849791129053 }, { "name": "azure.eventhubs.create", @@ -142,15 +149,16 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68d1afa000000000", + "_dd.p.tid": "69de8d5100000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "bcd13490-80dd-4f2c-8cf9-88888d380f21", + "messaging.message_id": "7d59779e-5541-4195-b10f-de23a630644d", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 597875, - "start": 1758572448339851510 + "duration": 201542, + "start": 1776192849791472553 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json index 92bf3ebea83..9df06029c6a 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af9900000000", + "_dd.p.tid": "69de8d4a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "c8209b7e39364aeebfb1c12940c0c525", + "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17244 + "_sampling_priority_v1": 1.0, + "process_id": 50427.0 }, - "duration": 6433583, - "start": 1758572441945175549 + "duration": 678666, + "start": 1776192842970114925 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af9900000000", + "_dd.p.tid": "69de8d4a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "7a8e9ade-c820-4a6a-a685-07943c4432d4", + "messaging.message_id": "7865f461-ca90-4ba9-8733-12c4ccf66441", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "c8209b7e39364aeebfb1c12940c0c525", + "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17244 + "_sampling_priority_v1": 1.0, + "process_id": 50427.0 }, - "duration": 840208, - "start": 1758572441960224591 + "duration": 1111250, + "start": 1776192842972166258 }], [ { @@ -76,8 +80,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af9900000000", - "_dd.span_links": "[{\"trace_id\": \"68d1af990000000097d5e3293d60113f\", \"span_id\": \"0045d43665fe8647\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68d1af9900000000\", \"flags\": 1}, {\"trace_id\": \"68d1af9900000000d58699956a23fbc9\", \"span_id\": \"2667220b2966d408\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68d1af9900000000\", \"flags\": 1}]", + "_dd.p.tid": "69de8d4a00000000", + "_dd.span_links": "[{\"trace_id\": \"69de8d4a00000000a7c801ef4a0bdad7\", \"span_id\": \"14e85b458c232625\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d4a00000000\", \"flags\": 1}, {\"trace_id\": \"69de8d4a000000008e648c0b29995f00\", \"span_id\": \"33a23c8dc72069f8\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d4a00000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -85,17 +91,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "c8209b7e39364aeebfb1c12940c0c525", + "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17244 + "_sampling_priority_v1": 1.0, + "process_id": 50427.0 }, - "duration": 439215292, - "start": 1758572441961327882 + "duration": 432831667, + "start": 1776192842973546966 }], [ { @@ -110,24 +116,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af9a00000000", + "_dd.p.tid": "69de8d4b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "c8209b7e39364aeebfb1c12940c0c525", + "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17244 + "_sampling_priority_v1": 1.0, + "process_id": 50427.0 }, - "duration": 674667, - "start": 1758572442403500424 + "duration": 258500, + "start": 1776192843406638383 }], [ { @@ -142,25 +150,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af9a00000000", + "_dd.p.tid": "69de8d4b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "ebaaa08b-e6f4-4cc7-aa55-20957a73f4bb", + "messaging.message_id": "bfbf82b6-6f78-4a81-817a-07ab3cff4985", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "c8209b7e39364aeebfb1c12940c0c525", + "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17244 + "_sampling_priority_v1": 1.0, + "process_id": 50427.0 }, - "duration": 570458, - "start": 1758572442404406466 + "duration": 229500, + "start": 1776192843406966550 }], [ { @@ -175,8 +185,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af9a00000000", - "_dd.span_links": "[{\"trace_id\": \"68d1af9a000000005307816a3b91068d\", \"span_id\": \"7ac4d1a6e7b4d541\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68d1af9a00000000\", \"flags\": 1}, {\"trace_id\": \"68d1af9a00000000c0cbeb1086005d02\", \"span_id\": \"da35509faef72771\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68d1af9a00000000\", \"flags\": 1}]", + "_dd.p.tid": "69de8d4b00000000", + "_dd.span_links": "[{\"trace_id\": \"69de8d4b0000000028a7a70fefbd265c\", \"span_id\": \"1d870c1642cfc616\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d4b00000000\", \"flags\": 1}, {\"trace_id\": \"69de8d4b0000000064b76b88e3dd4d59\", \"span_id\": \"d7a257e7e80185ae\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d4b00000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -184,15 +196,15 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "c8209b7e39364aeebfb1c12940c0c525", + "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17244 + "_sampling_priority_v1": 1.0, + "process_id": 50427.0 }, - "duration": 1216208, - "start": 1758572442405143091 + "duration": 680417, + "start": 1776192843407257383 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json index fcbe4053dd1..f3a2c41b074 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af9300000000", + "_dd.p.tid": "69de8d4400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e98ab1a713f04e07990808293b066562", + "runtime-id": "76868de3a34343378e91d87a23a06b67", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17230 + "_sampling_priority_v1": 1.0, + "process_id": 50406.0 }, - "duration": 953064833, - "start": 1758572435297527796 + "duration": 929108792, + "start": 1776192836945254047 }, { "name": "azure.eventhubs.create", @@ -42,7 +44,8 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68d1af9300000000", + "_dd.p.tid": "69de8d4400000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -50,8 +53,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 2851292, - "start": 1758572435796753004 + "duration": 2262333, + "start": 1776192837426029964 }, { "name": "azure.eventhubs.create", @@ -64,17 +67,18 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68d1af9300000000", + "_dd.p.tid": "69de8d4400000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "e50c958a-f2a4-4f88-8b37-468e3005bc8f", + "messaging.message_id": "55a6d4bd-92ad-411c-8745-7b69c6c54416", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 886209, - "start": 1758572435800527504 + "duration": 849541, + "start": 1776192837428523964 }], [ { @@ -89,7 +93,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af9400000000", + "_dd.p.tid": "69de8d4500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -97,17 +103,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e98ab1a713f04e07990808293b066562", + "runtime-id": "76868de3a34343378e91d87a23a06b67", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17230 + "_sampling_priority_v1": 1.0, + "process_id": 50406.0 }, - "duration": 2283167, - "start": 1758572436255981796 + "duration": 1237125, + "start": 1776192837874765214 }, { "name": "azure.eventhubs.create", @@ -120,7 +126,8 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68d1af9400000000", + "_dd.p.tid": "69de8d4500000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -128,8 +135,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 480041, - "start": 1758572436256694213 + "duration": 151125, + "start": 1776192837874970756 }, { "name": "azure.eventhubs.create", @@ -142,15 +149,16 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68d1af9400000000", + "_dd.p.tid": "69de8d4500000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "fcd976b2-ef15-42f3-b572-ea7a8e9debfb", + "messaging.message_id": "9d8dfcd1-3462-4759-a1c5-c348349a2aae", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 383583, - "start": 1758572436257285088 + "duration": 168542, + "start": 1776192837875144964 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json index 9f71508317e..349a62a0ab4 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537e00000000", + "_dd.p.tid": "69de8d1d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e13db5b8a2024ad6878602b060585bb2", + "runtime-id": "7e4b295263514d6d9c6ba64bd0805035", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55217 + "_sampling_priority_v1": 1.0, + "process_id": 50243.0 }, - "duration": 521128209, - "start": 1758221182148589261 + "duration": 491765251, + "start": 1776192797259513625 }, { "name": "azure.eventhubs.create", @@ -42,6 +44,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -49,8 +52,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 1148541, - "start": 1758221182655462637 + "duration": 310250, + "start": 1776192797743099626 }, { "name": "azure.eventhubs.create", @@ -63,16 +66,17 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "97c098f8-e655-4ce2-bb5f-f59aeda5608b", + "messaging.message_id": "0a98587a-e7d2-400b-8628-d918c48fd9eb", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 578875, - "start": 1758221182657681845 + "duration": 648834, + "start": 1776192797743502167 }], [ { @@ -87,7 +91,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537e00000000", + "_dd.p.tid": "69de8d1d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -95,17 +101,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "e13db5b8a2024ad6878602b060585bb2", + "runtime-id": "7e4b295263514d6d9c6ba64bd0805035", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55217 + "_sampling_priority_v1": 1.0, + "process_id": 50243.0 }, - "duration": 4834375, - "start": 1758221182676857803 + "duration": 3568417, + "start": 1776192797751772209 }, { "name": "azure.eventhubs.create", @@ -118,6 +124,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -125,8 +132,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 228500, - "start": 1758221182677097887 + "duration": 74292, + "start": 1776192797751861292 }, { "name": "azure.eventhubs.create", @@ -139,14 +146,15 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "13a71831-c45d-4145-83c7-4b0905422a5a", + "messaging.message_id": "88e5d9d7-3164-49cf-9eed-34ca05556894", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 369250, - "start": 1758221182677400220 + "duration": 111125, + "start": 1776192797751954876 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json index 9dafd341411..067a2aac628 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537a00000000", + "_dd.p.tid": "69de8d1800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "ce9378f77d17463a9f6e9e23fb1c21f9", + "runtime-id": "4d78cf8eff1a46ccbf0fd4522706c769", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55207 + "_sampling_priority_v1": 1.0, + "process_id": 50226.0 }, - "duration": 507416125, - "start": 1758221178050765093 + "duration": 493537083, + "start": 1776192792719230763 }, { "name": "azure.eventhubs.create", @@ -42,7 +44,8 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68cc537a00000000", + "_dd.p.tid": "69de8d1800000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -50,8 +53,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 1786125, - "start": 1758221178545699801 + "duration": 524333, + "start": 1776192793201355638 }, { "name": "azure.eventhubs.create", @@ -64,17 +67,18 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68cc537a00000000", + "_dd.p.tid": "69de8d1800000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "87b0b240-999a-476e-b8e7-2943df76ddd1", + "messaging.message_id": "7b901103-78d9-4740-83f7-6765dcadcbf7", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 750167, - "start": 1758221178548123176 + "duration": 345083, + "start": 1776192793201973388 }], [ { @@ -89,7 +93,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537a00000000", + "_dd.p.tid": "69de8d1900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.batch_count": "2", @@ -97,17 +103,17 @@ "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "ce9378f77d17463a9f6e9e23fb1c21f9", + "runtime-id": "4d78cf8eff1a46ccbf0fd4522706c769", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55207 + "_sampling_priority_v1": 1.0, + "process_id": 50226.0 }, - "duration": 5359541, - "start": 1758221178565362260 + "duration": 5474959, + "start": 1776192793213721221 }, { "name": "azure.eventhubs.create", @@ -120,7 +126,8 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68cc537a00000000", + "_dd.p.tid": "69de8d1900000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -128,8 +135,8 @@ "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 401583, - "start": 1758221178565870843 + "duration": 253750, + "start": 1776192793213995221 }, { "name": "azure.eventhubs.create", @@ -142,15 +149,16 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "68cc537a00000000", + "_dd.p.tid": "69de8d1900000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "18b67d35-3e85-4da9-a0b8-764ec206c6d2", + "messaging.message_id": "05805600-f1dc-47d9-810c-90cbf2068310", "messaging.operation": "create", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, - "duration": 491208, - "start": 1758221178566350885 + "duration": 271625, + "start": 1776192793214286388 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json index b2de16f134a..2e313cdce67 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537600000000", + "_dd.p.tid": "69de8d0900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "741b2a159a60442babed1a96d9e47176", + "runtime-id": "5eb00ed392104a0dafbc6f76c52023e1", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55200 + "_sampling_priority_v1": 1.0, + "process_id": 50180.0 }, - "duration": 527651041, - "start": 1758221174277711508 + "duration": 518541000, + "start": 1776192777176769172 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537600000000", + "_dd.p.tid": "69de8d0900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "cf293a5a-67bc-4bd3-a08a-ce4087c2e069", + "messaging.message_id": "6b9aa143-9f5a-4445-aa45-794d76d07b00", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "741b2a159a60442babed1a96d9e47176", + "runtime-id": "5eb00ed392104a0dafbc6f76c52023e1", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55200 + "_sampling_priority_v1": 1.0, + "process_id": 50180.0 }, - "duration": 4594125, - "start": 1758221174812514924 + "duration": 4953167, + "start": 1776192777695943672 }], [ { @@ -76,24 +80,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537600000000", + "_dd.p.tid": "69de8d0900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "741b2a159a60442babed1a96d9e47176", + "runtime-id": "5eb00ed392104a0dafbc6f76c52023e1", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55200 + "_sampling_priority_v1": 1.0, + "process_id": 50180.0 }, - "duration": 3358500, - "start": 1758221174817422841 + "duration": 4164750, + "start": 1776192777701071630 }], [ { @@ -108,23 +114,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537600000000", + "_dd.p.tid": "69de8d0900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "c6a1e1c0-163e-4e02-bdea-631e500eea6d", + "messaging.message_id": "124eb4cd-2780-4a45-9c40-e4525e1ff440", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "741b2a159a60442babed1a96d9e47176", + "runtime-id": "5eb00ed392104a0dafbc6f76c52023e1", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55200 + "_sampling_priority_v1": 1.0, + "process_id": 50180.0 }, - "duration": 3982333, - "start": 1758221174821005883 + "duration": 3935917, + "start": 1776192777705366005 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json index df0bb8f24e0..45a31dd2580 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537200000000", + "_dd.p.tid": "69de8d0600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ca82557b3a84779bf9cfc45829bf929", + "runtime-id": "53819980ce7847e786838251a77b7da5", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55193 + "_sampling_priority_v1": 1.0, + "process_id": 50167.0 }, - "duration": 524701750, - "start": 1758221170838410673 + "duration": 522168834, + "start": 1776192774264835837 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537300000000", + "_dd.p.tid": "69de8d0600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "6cfa2455-eefc-4595-a65d-00246924041c", + "messaging.message_id": "cf52cea9-b2cc-41c1-b74f-3d4215d05e3a", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ca82557b3a84779bf9cfc45829bf929", + "runtime-id": "53819980ce7847e786838251a77b7da5", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55193 + "_sampling_priority_v1": 1.0, + "process_id": 50167.0 }, - "duration": 4613209, - "start": 1758221171370446714 + "duration": 6401750, + "start": 1776192774787852671 }], [ { @@ -76,24 +80,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537300000000", + "_dd.p.tid": "69de8d0600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ca82557b3a84779bf9cfc45829bf929", + "runtime-id": "53819980ce7847e786838251a77b7da5", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55193 + "_sampling_priority_v1": 1.0, + "process_id": 50167.0 }, - "duration": 3417334, - "start": 1758221171375346089 + "duration": 4038625, + "start": 1776192774794404004 }], [ { @@ -108,23 +114,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc537300000000", + "_dd.p.tid": "69de8d0600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "3d928099-0308-4b28-bf0a-36f15d77e164", + "messaging.message_id": "52b1858d-abd8-4a2d-b2fb-b549bde9cdd8", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "6ca82557b3a84779bf9cfc45829bf929", + "runtime-id": "53819980ce7847e786838251a77b7da5", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55193 + "_sampling_priority_v1": 1.0, + "process_id": 50167.0 }, - "duration": 3024417, - "start": 1758221171378946756 + "duration": 4323584, + "start": 1776192774798597587 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json index 756b73b7512..fc9af127dc3 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af8c00000000", + "_dd.p.tid": "69de8d1200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "dc294d7356cf4f129cba6bbd727f4f30", + "runtime-id": "baf803bb3aaa4c0e89d1c2c620b66bdd", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17223 + "_sampling_priority_v1": 1.0, + "process_id": 50213.0 }, - "duration": 986943208, - "start": 1758572428698831293 + "duration": 954525250, + "start": 1776192786654695135 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af8d00000000", + "_dd.p.tid": "69de8d1300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "33b6b60e-3a05-4fe0-a1f2-76fe9d4f0b77", + "messaging.message_id": "007f5639-6c41-4a92-9c63-fa06ccd69450", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "dc294d7356cf4f129cba6bbd727f4f30", + "runtime-id": "baf803bb3aaa4c0e89d1c2c620b66bdd", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17223 + "_sampling_priority_v1": 1.0, + "process_id": 50213.0 }, - "duration": 1554875, - "start": 1758572429694623418 + "duration": 1407834, + "start": 1776192787611165093 }], [ { @@ -76,24 +80,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af8d00000000", + "_dd.p.tid": "69de8d1300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "dc294d7356cf4f129cba6bbd727f4f30", + "runtime-id": "baf803bb3aaa4c0e89d1c2c620b66bdd", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17223 + "_sampling_priority_v1": 1.0, + "process_id": 50213.0 }, - "duration": 625584, - "start": 1758572429696520126 + "duration": 412000, + "start": 1776192787612736843 }], [ { @@ -108,23 +114,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af8d00000000", + "_dd.p.tid": "69de8d1300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "3ae3ac8a-1c9e-4269-aafd-322bbca98e83", + "messaging.message_id": "4296b41c-9b26-478d-807c-49a536359616", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "dc294d7356cf4f129cba6bbd727f4f30", + "runtime-id": "baf803bb3aaa4c0e89d1c2c620b66bdd", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17223 + "_sampling_priority_v1": 1.0, + "process_id": 50213.0 }, - "duration": 713125, - "start": 1758572429697404251 + "duration": 421917, + "start": 1776192787613263343 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json index 830a485b366..727cf13ec27 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af8700000000", + "_dd.p.tid": "69de8d0c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "eec599849cb74aa6bde884e9952d8e24", + "runtime-id": "0c6cc28bc35d421c9bd0f0a05a67721e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17209 + "_sampling_priority_v1": 1.0, + "process_id": 50193.0 }, - "duration": 945256084, - "start": 1758572423840235763 + "duration": 918143834, + "start": 1776192780304947590 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af8800000000", + "_dd.p.tid": "69de8d0d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "356292cf-dc3c-45e6-878c-ea53fa65a6f8", + "messaging.message_id": "07da96f1-45f6-4b01-8b0b-85b56f339934", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "eec599849cb74aa6bde884e9952d8e24", + "runtime-id": "0c6cc28bc35d421c9bd0f0a05a67721e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17209 + "_sampling_priority_v1": 1.0, + "process_id": 50193.0 }, - "duration": 1974625, - "start": 1758572424794049180 + "duration": 1210000, + "start": 1776192781223967465 }], [ { @@ -76,24 +80,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af8800000000", + "_dd.p.tid": "69de8d0d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "eec599849cb74aa6bde884e9952d8e24", + "runtime-id": "0c6cc28bc35d421c9bd0f0a05a67721e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17209 + "_sampling_priority_v1": 1.0, + "process_id": 50193.0 }, - "duration": 518791, - "start": 1758572424796253347 + "duration": 439000, + "start": 1776192781225350924 }], [ { @@ -108,23 +114,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68d1af8800000000", + "_dd.p.tid": "69de8d0d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "f2d53104-30ab-4900-b73c-4874362a356b", + "messaging.message_id": "0f961587-1008-4e50-b278-d212f3e1a65b", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "eec599849cb74aa6bde884e9952d8e24", + "runtime-id": "0c6cc28bc35d421c9bd0f0a05a67721e", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17209 + "_sampling_priority_v1": 1.0, + "process_id": 50193.0 }, - "duration": 551709, - "start": 1758572424796967263 + "duration": 311625, + "start": 1776192781225916257 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json index c8bddf8bd85..39cda3e79d0 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc536e00000000", + "_dd.p.tid": "69de8d0200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "ce5ff5f13144470c90ef982755e1eb62", + "runtime-id": "0bea7340ff1946aaa03e9525d4f6fd26", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55183 + "_sampling_priority_v1": 1.0, + "process_id": 50150.0 }, - "duration": 509898250, - "start": 1758221166917801171 + "duration": 502296792, + "start": 1776192770896520377 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc536f00000000", + "_dd.p.tid": "69de8d0300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "f7f971db-6a8a-4799-98ca-a42456e25982", + "messaging.message_id": "fd0c4fca-8a34-4edf-921b-dfaae8b7e8e2", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "ce5ff5f13144470c90ef982755e1eb62", + "runtime-id": "0bea7340ff1946aaa03e9525d4f6fd26", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55183 + "_sampling_priority_v1": 1.0, + "process_id": 50150.0 }, - "duration": 4266709, - "start": 1758221167435473879 + "duration": 6107375, + "start": 1776192771400039836 }], [ { @@ -76,24 +80,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc536f00000000", + "_dd.p.tid": "69de8d0300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "ce5ff5f13144470c90ef982755e1eb62", + "runtime-id": "0bea7340ff1946aaa03e9525d4f6fd26", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55183 + "_sampling_priority_v1": 1.0, + "process_id": 50150.0 }, - "duration": 3247709, - "start": 1758221167440158379 + "duration": 5012334, + "start": 1776192771406351877 }], [ { @@ -108,23 +114,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc536f00000000", + "_dd.p.tid": "69de8d0300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "b3b4f5ad-0578-4dc6-a01b-2ed154836b4d", + "messaging.message_id": "643cd5d4-4a2b-4df9-bba3-4eb4957c13fc", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "ce5ff5f13144470c90ef982755e1eb62", + "runtime-id": "0bea7340ff1946aaa03e9525d4f6fd26", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55183 + "_sampling_priority_v1": 1.0, + "process_id": 50150.0 }, - "duration": 3133792, - "start": 1758221167443606504 + "duration": 4033250, + "start": 1776192771411551252 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json index 0b878979766..1fbaa96acc2 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc536a00000000", + "_dd.p.tid": "69de8cfe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "bfa44d1684f04017a2977bec7ea5156b", + "runtime-id": "0c857cd8796446a886162c01f3c381f9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55173 + "_sampling_priority_v1": 1.0, + "process_id": 50133.0 }, - "duration": 507868208, - "start": 1758221162813891169 + "duration": 493697126, + "start": 1776192766320586958 }], [ { @@ -43,25 +45,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc536b00000000", + "_dd.p.tid": "69de8cfe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "900c35a6-ebaa-45cd-81ea-c0e18a6452da", + "messaging.message_id": "df537619-8cbb-407a-b45b-f4f334063ac0", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "bfa44d1684f04017a2977bec7ea5156b", + "runtime-id": "0c857cd8796446a886162c01f3c381f9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55173 + "_sampling_priority_v1": 1.0, + "process_id": 50133.0 }, - "duration": 4646959, - "start": 1758221163329656877 + "duration": 6648291, + "start": 1776192766815355084 }], [ { @@ -76,24 +80,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc536b00000000", + "_dd.p.tid": "69de8cfe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "bfa44d1684f04017a2977bec7ea5156b", + "runtime-id": "0c857cd8796446a886162c01f3c381f9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55173 + "_sampling_priority_v1": 1.0, + "process_id": 50133.0 }, - "duration": 3279667, - "start": 1758221163334689002 + "duration": 4559791, + "start": 1776192766822209209 }], [ { @@ -108,23 +114,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68cc536b00000000", + "_dd.p.tid": "69de8cfe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "0cc33f41-69a7-4e7b-a7db-d9b8776eced3", + "messaging.message_id": "d7b86d1c-cda8-430f-b9a3-22ec45d334d8", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "bfa44d1684f04017a2977bec7ea5156b", + "runtime-id": "0c857cd8796446a886162c01f3c381f9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55173 + "_sampling_priority_v1": 1.0, + "process_id": 50133.0 }, - "duration": 3994208, - "start": 1758221163338357419 + "duration": 7105916, + "start": 1776192766826897459 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json index 94227a6f8b5..56cdd3d427f 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "tests.contrib.azure_eventhubs", "_dd.p.dm": "-0", - "_dd.p.tid": "68de959d00000000", + "_dd.p.tid": "69de8d5b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_eventhubs", "component": "azure_eventhubs", "error.message": "'EventData' object is not iterable", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/azure_eventhubs/patch.py\", line 178, in _patched_send_batch\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py31113_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.11/site-packages/azure/eventhub/_producer_client.py\", line 752, in send_batch\n batch, pid, pkey = self._batch_preparer(\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31113_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.11/site-packages/azure/eventhub/_producer_client.py\", line 293, in _batch_preparer\n to_send_batch._load_events( # pylint:disable=protected-access\n File \"/home/bits/project/.riot/venv_py31113_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.11/site-packages/azure/eventhub/_common.py\", line 622, in _load_events\n for event_data in events:\nTypeError: 'EventData' object is not iterable\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/azure_eventhubs/patch.py\", line 176, in _patched_send_batch\n return wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.12/site-packages/azure/eventhub/_producer_client.py\", line 752, in send_batch\n batch, pid, pkey = self._batch_preparer(\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.12/site-packages/azure/eventhub/_producer_client.py\", line 293, in _batch_preparer\n to_send_batch._load_events( # pylint:disable=protected-access\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.12/site-packages/azure/eventhub/_common.py\", line 622, in _load_events\n for event_data in events:\n ^^^^^^\nTypeError: 'EventData' object is not iterable\n", "error.type": "builtins.TypeError", "language": "python", "messaging.destination.name": "eh1", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "4c5dce7cb1e143eebcef58cc3a343eb4", + "runtime-id": "044632d074d64488bd74ef11c9fbcc37", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 1052 + "_sampling_priority_v1": 1.0, + "process_id": 50128.0 }, - "duration": 513833833, - "start": 1759417757369834012 + "duration": 500723250, + "start": 1776192859391740043 }]] From 143cd7fc4f2044fb785c7e03f83a6a1fa121fe7f Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 11:59:56 -0700 Subject: [PATCH 026/114] update ddtrace_api snapshots --- ...aceAPITestCase.test_current_root_span.json | 23 +++++++++++-------- ....DDTraceAPITestCase.test_current_span.json | 16 +++++++------ ...TraceAPITestCase.test_exc_info_caught.json | 18 ++++++++------- ....DDTraceAPITestCase.test_set_exc_info.json | 18 ++++++++------- ...tion.DDTraceAPITestCase.test_set_tags.json | 16 +++++++------ ...DDTraceAPITestCase.test_set_traceback.json | 18 ++++++++------- ...n.DDTraceAPITestCase.test_span_finish.json | 16 +++++++------ ...tCase.test_span_finish_with_ancestors.json | 23 +++++++++++-------- ...on.DDTraceAPITestCase.test_start_span.json | 16 +++++++------ ...gration.DDTraceAPITestCase.test_trace.json | 16 +++++++------ ...TraceAPITestCase.test_tracer_set_tags.json | 16 +++++++------ ...egration.DDTraceAPITestCase.test_wrap.json | 16 +++++++------ 12 files changed, 121 insertions(+), 91 deletions(-) diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_root_span.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_root_span.json index a4329f40c21..d423655fca4 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_root_span.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_root_span.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 582084, - "start": 1743448283001241712 + "duration": 840250, + "start": 1776193187092345084 }, { "name": "web.other.request", @@ -32,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 254958, - "start": 1743448283001477046 + "meta": { + "_dd.svc_src": "tests.contrib.ddtrace_api" + }, + "duration": 218250, + "start": 1776193187092885417 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_span.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_span.json index 626d4cbb0b3..e3b3935baf2 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_span.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_span.json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68780e3b00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "foobar": "banana", "language": "python", - "runtime-id": "15b7678d00e4466dabeb0ecadfdb38c0" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 45031 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 311500, - "start": 1752698427998559720 + "duration": 305875, + "start": 1776193187134855917 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_exc_info_caught.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_exc_info_caught.json index a3ce15163e6..6a7638415a0 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_exc_info_caught.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_exc_info_caught.json @@ -10,19 +10,21 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "error.message": "", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/tests/contrib/dd_trace_api/test_integration.py\", line 116, in test_exc_info_caught\nException\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/ddtrace_api/test_integration.py\", line 117, in test_exc_info_caught\n raise Exception\nException\n", "error.type": "builtins.Exception", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 380250, - "start": 1743448283129423254 + "duration": 582041, + "start": 1776193187175237584 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_exc_info.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_exc_info.json index c738c3f37ec..7d5f3cba43b 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_exc_info.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_exc_info.json @@ -10,19 +10,21 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "error.message": "", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/tests/contrib/dd_trace_api/test_integration.py\", line 104, in test_set_exc_info\nException\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/ddtrace_api/test_integration.py\", line 105, in test_set_exc_info\n raise Exception\nException\n", "error.type": "builtins.Exception", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 362000, - "start": 1743448283193143754 + "duration": 383167, + "start": 1776193187216256000 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_tags.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_tags.json index dee9ceab877..727d7017dc1 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_tags.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_tags.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8", + "runtime-id": "b7b4ee4841414860848ed1877ed3798c", "tag1": "value1", "tag2": "value2" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 181042, - "start": 1743448283257168421 + "duration": 234542, + "start": 1776193187260548000 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_traceback.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_traceback.json index 53daa875b03..14f30becc77 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_traceback.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_traceback.json @@ -10,19 +10,21 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "error.message": "", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/tests/contrib/dd_trace_api/test_integration.py\", line 94, in test_set_traceback\nException\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/ddtrace_api/test_integration.py\", line 95, in test_set_traceback\n raise Exception\nException\n", "error.type": "builtins.Exception", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 359500, - "start": 1743448283319961879 + "duration": 439333, + "start": 1776193187304303042 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish.json index 034653a6c2b..762d2785b2b 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish.json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 76250, - "start": 1743448283383200504 + "duration": 133791, + "start": 1776193187347583709 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish_with_ancestors.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish_with_ancestors.json index 2cdc17b12e9..6b2bb188856 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish_with_ancestors.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish_with_ancestors.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 167583, - "start": 1743448283446261088 + "duration": 317125, + "start": 1776193187389647875 }, { "name": "web.request", @@ -32,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 73500, - "start": 1743448283446335921 + "meta": { + "_dd.svc_src": "tests.contrib.ddtrace_api" + }, + "duration": 116583, + "start": 1776193187389820959 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_start_span.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_start_span.json index 722b02868fd..6b072936e36 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_start_span.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_start_span.json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 83458, - "start": 1743448283509776463 + "duration": 248708, + "start": 1776193187432477834 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_trace.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_trace.json index 8f7a9fa4143..1402b83290c 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_trace.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_trace.json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 86208, - "start": 1743448283572690088 + "duration": 188500, + "start": 1776193187477085917 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_tracer_set_tags.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_tracer_set_tags.json index 403919c6eb9..857d9a5498e 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_tracer_set_tags.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_tracer_set_tags.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6862c99700000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "189ff080b5004f2186829183a50e3c67", + "runtime-id": "b7b4ee4841414860848ed1877ed3798c", "tag1": "value1", "tag2": "value2" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 1638 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 112708, - "start": 1751304599164607503 + "duration": 138583, + "start": 1776193187522418209 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_wrap.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_wrap.json index 60e783dd376..34749448c70 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_wrap.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_wrap.json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eae8db00000000", + "_dd.p.tid": "69de8ea300000000", + "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "2d2ddc4edf834ba489fb0edc42d699d8" + "runtime-id": "b7b4ee4841414860848ed1877ed3798c" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3919 + "_sampling_priority_v1": 1.0, + "process_id": 55850.0 }, - "duration": 87125, - "start": 1743448283694959254 + "duration": 153917, + "start": 1776193187601615459 }]] From 8d3cf4434b1e80a1631ad172697ab16988acbec5 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 12:25:28 -0700 Subject: [PATCH 027/114] update snapshots: yaaredis, google_cloud_pubsub --- ...sh_subscription_creates_inferred_span.json | 31 ++++++++++--------- ...ion_error_propagates_to_inferred_span.json | 16 +++++----- ...ubscription_propagation_as_span_links.json | 29 +++++++++-------- ...ib.yaaredis.test_yaaredis.test_basics.json | 11 ++++--- ...dis.test_yaaredis.test_cmd_max_length.json | 11 ++++--- ....test_full_command_in_resource_config.json | 20 ++++++------ ...dis.test_full_command_in_resource_env.json | 20 ++++++------ ...redis.test_yaaredis.test_long_command.json | 11 ++++--- ...test_yaaredis.test_pipeline_immediate.json | 22 +++++++------ ...is.test_yaaredis.test_pipeline_traced.json | 11 ++++--- ....test_schematization[service_schema0].json | 22 +++++++------ ....test_schematization[service_schema1].json | 22 +++++++------ ....test_schematization[service_schema2].json | 22 +++++++------ ....test_schematization[service_schema3].json | 22 +++++++------ ....test_schematization[service_schema4].json | 22 +++++++------ ....test_schematization[service_schema5].json | 22 +++++++------ ...b.yaaredis.test_yaaredis.test_unicode.json | 11 ++++--- 17 files changed, 178 insertions(+), 147 deletions(-) diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json index 78e0538e03e..bf2d8a774d3 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bc29ae00000000", + "_dd.p.tid": "69de940b00000000", + "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "65b29840bbcd49fda6017d4635aa66be" + "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 57237.0 }, - "duration": 166541, - "start": 1773939118607889595 + "duration": 891084, + "start": 1776194571847123877 }, { "name": "gcp.pubsub.receive", @@ -35,7 +36,8 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bc29ae00000000", + "_dd.p.tid": "69de940b00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -45,9 +47,9 @@ "messaging.message_id": "12345", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "65b29840bbcd49fda6017d4635aa66be", + "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0", "span.kind": "consumer", - "tracestate": "dd=p:48b8db2ea98f4e1a;s:1;t.dm:-0;t.tid:69bc29ae00000000" + "tracestate": "dd=p:6ce5d82bf69a1476;s:1;t.dm:-0;t.tid:69de940b00000000" }, "metrics": { "_dd.inferred_span": 1.0, @@ -55,10 +57,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 57237.0 }, - "duration": 724167, - "start": 1773939118609035386 + "duration": 697750, + "start": 1776194571849719252 }, { "name": "falcon.request", @@ -71,7 +73,8 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", - "_dd.p.tid": "69bc29ae00000000", + "_dd.p.tid": "69de940b00000000", + "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", "http.route": "/push", @@ -83,6 +86,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 619541, - "start": 1773939118609121720 + "duration": 599667, + "start": 1776194571849794419 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json index f8bd77a5e30..e9f35e8755b 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json @@ -10,7 +10,8 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69c269c600000000", + "_dd.p.tid": "69de940b00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -20,7 +21,7 @@ "messaging.message_id": "12345", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "8e5d60d4405b45b6b7fc8d00fec1709d", + "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0", "span.kind": "consumer" }, "metrics": { @@ -29,10 +30,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1696.0 + "process_id": 57237.0 }, - "duration": 2498791, - "start": 1774348742297368380 + "duration": 1402750, + "start": 1776194571882100961 }, { "name": "falcon.request", @@ -45,6 +46,7 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", + "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", "http.route": "/push", @@ -56,6 +58,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 2184208, - "start": 1774348742297613963 + "duration": 1302458, + "start": 1776194571882171919 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json index 31675993333..24de041b937 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69c26abe00000000", + "_dd.p.tid": "69de940b00000000", + "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "042e3fd34c5b47948df34186f82057f2" + "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 57237.0 }, - "duration": 784875, - "start": 1774348990980458967 + "duration": 147917, + "start": 1776194571866555419 }], [ { @@ -36,8 +37,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69c26abe00000000", - "_dd.span_links": "[{\"trace_id\": \"69c26abe0000000090976135946adddb\", \"span_id\": \"28cc28baaa2379c2\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69c26abe00000000\", \"flags\": 1}]", + "_dd.p.tid": "69de940b00000000", + "_dd.span_links": "[{\"trace_id\": \"69de940b000000000c2b2384253eaf67\", \"span_id\": \"3ac4f310022078eb\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de940b00000000\", \"flags\": 1}]", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -47,7 +49,7 @@ "messaging.message_id": "12345", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "042e3fd34c5b47948df34186f82057f2", + "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0", "span.kind": "consumer" }, "metrics": { @@ -56,10 +58,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 57237.0 }, - "duration": 1002333, - "start": 1774348990982825717 + "duration": 1229458, + "start": 1776194571867380669 }, { "name": "falcon.request", @@ -72,6 +74,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", + "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", "http.route": "/push", @@ -83,6 +86,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 690083, - "start": 1774348990983113092 + "duration": 277417, + "start": 1776194571868312752 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_basics.json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_basics.json index 99734129b21..19f926a7f90 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_basics.json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_basics.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.yaaredis", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cbd00000000", + "_dd.p.tid": "69de949500000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.yaaredis", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET cheese", - "runtime-id": "b2ebad3614724b04ad4dd1a82bf8f375", + "runtime-id": "08d1fdf1c0644263865ce6d98d46c0b7", "server.address": "localhost", "span.kind": "client" }, @@ -30,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 38978.0, + "process_id": 59538.0, "redis.args_length": 2.0 }, - "duration": 1032125, - "start": 1771924669602125463 + "duration": 365250, + "start": 1776194709519051594 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_cmd_max_length.json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_cmd_max_length.json index c6a55e179c7..7b6847a237e 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_cmd_max_length.json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_cmd_max_length.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.yaaredis", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc500000000", + "_dd.p.tid": "69de949300000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.yaaredis", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET here...", - "runtime-id": "b2ebad3614724b04ad4dd1a82bf8f375", + "runtime-id": "08d1fdf1c0644263865ce6d98d46c0b7", "server.address": "localhost", "span.kind": "client" }, @@ -30,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 38978.0, + "process_id": 59538.0, "redis.args_length": 2.0 }, - "duration": 427667, - "start": 1771924677405738050 + "duration": 283083, + "start": 1776194707901341260 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_full_command_in_resource_config.json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_full_command_in_resource_config.json index ba78e051767..7901cdc39e8 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_full_command_in_resource_config.json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_full_command_in_resource_config.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.yaaredis", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc700000000", + "_dd.p.tid": "69de949300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.yaaredis", "language": "python", - "runtime-id": "b2ebad3614724b04ad4dd1a82bf8f375" + "runtime-id": "08d1fdf1c0644263865ce6d98d46c0b7" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38978.0 + "process_id": 59538.0 }, - "duration": 1917250, - "start": 1771924679763755718 + "duration": 1145208, + "start": 1776194707886380677 }, { "name": "redis.command", @@ -51,8 +53,8 @@ "out.redis_db": 0.0, "redis.args_length": 2.0 }, - "duration": 688083, - "start": 1771924679764292468 + "duration": 410458, + "start": 1776194707886649927 }, { "name": "redis.command", @@ -80,6 +82,6 @@ "out.redis_db": 0.0, "redis.pipeline_length": 2.0 }, - "duration": 348875, - "start": 1771924679765286801 + "duration": 289125, + "start": 1776194707887207343 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_full_command_in_resource_env.json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_full_command_in_resource_env.json index 137570bcc10..29f38392ba9 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_full_command_in_resource_env.json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_full_command_in_resource_env.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc700000000", + "_dd.p.tid": "69de949200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpt30en5go,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "2697cd40df1249ea92c87c5ccf348a50" + "runtime-id": "60d41e3f133646cc86d7f488106a4147" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 39108.0 + "process_id": 59661.0 }, - "duration": 11850500, - "start": 1771924679655013176 + "duration": 4309458, + "start": 1776194706212913593 }, { "name": "redis.command", @@ -51,8 +53,8 @@ "out.redis_db": 0.0, "redis.args_length": 2.0 }, - "duration": 9763750, - "start": 1771924679656310468 + "duration": 3817166, + "start": 1776194706213044593 }, { "name": "redis.command", @@ -80,6 +82,6 @@ "out.redis_db": 0.0, "redis.pipeline_length": 2.0 }, - "duration": 230959, - "start": 1771924679666609801 + "duration": 224833, + "start": 1776194706216973218 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_long_command.json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_long_command.json index 599b13bf500..f9bc9ba7581 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_long_command.json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_long_command.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.yaaredis", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cbd00000000", + "_dd.p.tid": "69de949600000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.yaaredis", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "MGET 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 36...", - "runtime-id": "b2ebad3614724b04ad4dd1a82bf8f375", + "runtime-id": "08d1fdf1c0644263865ce6d98d46c0b7", "server.address": "localhost", "span.kind": "client" }, @@ -30,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 38978.0, + "process_id": 59538.0, "redis.args_length": 1001.0 }, - "duration": 8316584, - "start": 1771924669635436463 + "duration": 4649709, + "start": 1776194710440141011 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_pipeline_immediate.json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_pipeline_immediate.json index 0ea472cb108..ba1e49817af 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_pipeline_immediate.json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_pipeline_immediate.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.yaaredis", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc500000000", + "_dd.p.tid": "69de949600000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.yaaredis", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "SET a 1", - "runtime-id": "b2ebad3614724b04ad4dd1a82bf8f375", + "runtime-id": "08d1fdf1c0644263865ce6d98d46c0b7", "server.address": "localhost", "span.kind": "client" }, @@ -29,11 +30,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 38978.0, + "process_id": 59538.0, "redis.args_length": 3.0 }, - "duration": 398291, - "start": 1771924677423411134 + "duration": 361542, + "start": 1776194710403179428 }], [ { @@ -48,14 +49,15 @@ "meta": { "_dd.base_service": "tests.contrib.yaaredis", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc500000000", + "_dd.p.tid": "69de949600000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.yaaredis", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "SET a 1", - "runtime-id": "b2ebad3614724b04ad4dd1a82bf8f375", + "runtime-id": "08d1fdf1c0644263865ce6d98d46c0b7", "server.address": "localhost", "span.kind": "client" }, @@ -66,9 +68,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 38978.0, + "process_id": 59538.0, "redis.pipeline_length": 1.0 }, - "duration": 343209, - "start": 1771924677424125425 + "duration": 275709, + "start": 1776194710403840761 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_pipeline_traced.json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_pipeline_traced.json index f680fc225bf..4ca9910749f 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_pipeline_traced.json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_pipeline_traced.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.yaaredis", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc300000000", + "_dd.p.tid": "69de949400000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.yaaredis", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "SET blah 32\nRPUSH foo \u00e9\u00e9\nHGETALL xxx", - "runtime-id": "b2ebad3614724b04ad4dd1a82bf8f375", + "runtime-id": "08d1fdf1c0644263865ce6d98d46c0b7", "server.address": "localhost", "span.kind": "client" }, @@ -29,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 38978.0, + "process_id": 59538.0, "redis.pipeline_length": 3.0 }, - "duration": 522875, - "start": 1771924675825969175 + "duration": 542708, + "start": 1776194708708011219 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema0].json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema0].json index e9e891c3352..07ea7c3444a 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema0].json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema0].json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cbf00000000", + "_dd.p.tid": "69de949400000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "FLUSHALL", - "runtime-id": "b0d05a626d7340a6a8c197989ac23a89", + "runtime-id": "17960328071c4a3aabd3b1367a8d6cdf", "server.address": "localhost", "span.kind": "client" }, @@ -29,11 +30,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 38993.0, + "process_id": 59716.0, "redis.args_length": 1.0 }, - "duration": 8457792, - "start": 1771924671121440672 + "duration": 3484208, + "start": 1776194708627677427 }], [ { @@ -48,14 +49,15 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cbf00000000", + "_dd.p.tid": "69de949400000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET cheese", - "runtime-id": "b0d05a626d7340a6a8c197989ac23a89", + "runtime-id": "17960328071c4a3aabd3b1367a8d6cdf", "server.address": "localhost", "span.kind": "client" }, @@ -67,9 +69,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 38993.0, + "process_id": 59716.0, "redis.args_length": 2.0 }, - "duration": 254875, - "start": 1771924671133452214 + "duration": 175000, + "start": 1776194708631510760 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema1].json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema1].json index e39cc0c28dd..beb716f1905 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema1].json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema1].json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc000000000", + "_dd.p.tid": "69de949300000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "FLUSHALL", - "runtime-id": "e330ca1735a34be788ce947b02f3e291", + "runtime-id": "69dfa6de50234dc089e06426a16ac815", "server.address": "localhost", "span.kind": "client" }, @@ -29,11 +30,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39006.0, + "process_id": 59691.0, "redis.args_length": 1.0 }, - "duration": 9204250, - "start": 1771924672645523173 + "duration": 2964000, + "start": 1776194707805830260 }], [ { @@ -48,14 +49,15 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc000000000", + "_dd.p.tid": "69de949300000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET cheese", - "runtime-id": "e330ca1735a34be788ce947b02f3e291", + "runtime-id": "69dfa6de50234dc089e06426a16ac815", "server.address": "localhost", "span.kind": "client" }, @@ -67,9 +69,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39006.0, + "process_id": 59691.0, "redis.args_length": 2.0 }, - "duration": 247458, - "start": 1771924672658311298 + "duration": 179708, + "start": 1776194707809148427 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema2].json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema2].json index 825df1119ff..534dad0f53a 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema2].json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema2].json @@ -10,16 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc200000000", + "_dd.p.tid": "69de949200000000", "_dd.peer.service.source": "out.host", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "peer.service": "localhost", "redis.command": "FLUSHALL", - "runtime-id": "e8acda32786d42dd8e35ed826d64ea6a", + "runtime-id": "0649b55e2e004b38a7191d078c49e362", "server.address": "localhost", "span.kind": "client" }, @@ -30,11 +31,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39025.0, + "process_id": 59672.0, "redis.args_length": 1.0 }, - "duration": 8891792, - "start": 1771924674166465340 + "duration": 3210208, + "start": 1776194706985448010 }], [ { @@ -48,16 +49,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc200000000", + "_dd.p.tid": "69de949200000000", "_dd.peer.service.source": "out.host", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "peer.service": "localhost", "redis.command": "GET cheese", - "runtime-id": "e8acda32786d42dd8e35ed826d64ea6a", + "runtime-id": "0649b55e2e004b38a7191d078c49e362", "server.address": "localhost", "span.kind": "client" }, @@ -69,9 +71,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39025.0, + "process_id": 59672.0, "redis.args_length": 2.0 }, - "duration": 173625, - "start": 1771924674178900465 + "duration": 179750, + "start": 1776194706989002218 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema3].json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema3].json index ec4304a85c2..9308e06c8c9 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema3].json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema3].json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc500000000", + "_dd.p.tid": "69de949100000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "FLUSHALL", - "runtime-id": "123c53d12c1142a5a8b7c8664012ffb6", + "runtime-id": "300b8215b4e5439fbb16724ae927b702", "server.address": "localhost", "span.kind": "client" }, @@ -29,11 +30,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39056.0, + "process_id": 59648.0, "redis.args_length": 1.0 }, - "duration": 8058625, - "start": 1771924677211231175 + "duration": 3212792, + "start": 1776194705790103884 }], [ { @@ -48,14 +49,15 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc500000000", + "_dd.p.tid": "69de949100000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET cheese", - "runtime-id": "123c53d12c1142a5a8b7c8664012ffb6", + "runtime-id": "300b8215b4e5439fbb16724ae927b702", "server.address": "localhost", "span.kind": "client" }, @@ -67,9 +69,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39056.0, + "process_id": 59648.0, "redis.args_length": 2.0 }, - "duration": 259250, - "start": 1771924677222992634 + "duration": 175875, + "start": 1776194705793655384 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema4].json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema4].json index ab6af6403cb..6acb2b59bab 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema4].json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema4].json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc300000000", + "_dd.p.tid": "69de949500000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "FLUSHALL", - "runtime-id": "a3477d4b768d4dfea2923290c2236061", + "runtime-id": "65ce8c9ea18e43a4b3583b96bbe0c0fd", "server.address": "localhost", "span.kind": "client" }, @@ -29,11 +30,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39038.0, + "process_id": 59734.0, "redis.args_length": 1.0 }, - "duration": 8356416, - "start": 1771924675689971925 + "duration": 3656250, + "start": 1776194709438295844 }], [ { @@ -48,14 +49,15 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc300000000", + "_dd.p.tid": "69de949500000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET cheese", - "runtime-id": "a3477d4b768d4dfea2923290c2236061", + "runtime-id": "65ce8c9ea18e43a4b3583b96bbe0c0fd", "server.address": "localhost", "span.kind": "client" }, @@ -67,9 +69,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39038.0, + "process_id": 59734.0, "redis.args_length": 2.0 }, - "duration": 252458, - "start": 1771924675701913883 + "duration": 228250, + "start": 1776194709442299927 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema5].json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema5].json index 5d73fb39843..abe5d2ef5cc 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema5].json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_schematization[service_schema5].json @@ -10,16 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc600000000", + "_dd.p.tid": "69de949600000000", "_dd.peer.service.source": "out.host", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "peer.service": "localhost", "redis.command": "FLUSHALL", - "runtime-id": "5d44dd6a6eca443e9cc277067ecbeaec", + "runtime-id": "c32ce0c5e7f54ce9b035d6a3c20759d8", "server.address": "localhost", "span.kind": "client" }, @@ -30,11 +31,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39091.0, + "process_id": 59751.0, "redis.args_length": 1.0 }, - "duration": 11482625, - "start": 1771924678857840676 + "duration": 3476125, + "start": 1776194710316389553 }], [ { @@ -48,16 +49,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc600000000", + "_dd.p.tid": "69de949600000000", "_dd.peer.service.source": "out.host", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "peer.service": "localhost", "redis.command": "GET cheese", - "runtime-id": "5d44dd6a6eca443e9cc277067ecbeaec", + "runtime-id": "c32ce0c5e7f54ce9b035d6a3c20759d8", "server.address": "localhost", "span.kind": "client" }, @@ -69,9 +71,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 39091.0, + "process_id": 59751.0, "redis.args_length": 2.0 }, - "duration": 248125, - "start": 1771924678873206593 + "duration": 185125, + "start": 1776194710320241803 }]] diff --git a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_unicode.json b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_unicode.json index 71318b625a8..d82e7d6ce9e 100644 --- a/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_unicode.json +++ b/tests/snapshots/tests.contrib.yaaredis.test_yaaredis.test_unicode.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.yaaredis", "_dd.p.dm": "-0", - "_dd.p.tid": "699d6cc600000000", + "_dd.p.tid": "69de949600000000", "_dd.svc_src": "yaaredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.yaaredis", "component": "yaaredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET \ud83d\ude10", - "runtime-id": "b2ebad3614724b04ad4dd1a82bf8f375", + "runtime-id": "08d1fdf1c0644263865ce6d98d46c0b7", "server.address": "localhost", "span.kind": "client" }, @@ -30,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 38978.0, + "process_id": 59538.0, "redis.args_length": 2.0 }, - "duration": 535625, - "start": 1771924678995990426 + "duration": 252667, + "start": 1776194710456167928 }]] From ed4f76791a6a661ca54b6f9ef81f9dae0a5e52c0 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 12:28:48 -0700 Subject: [PATCH 028/114] update snapshots: rq, aredis, rediscluster --- ...ontrib.aredis.test_aredis.test_basics.json | 11 +- ...redis.test_aredis.test_cmd_max_length.json | 11 +- ....test_full_command_in_resource_config.json | 20 +- ...dis.test_full_command_in_resource_env.json | 20 +- ....aredis.test_aredis.test_long_command.json | 11 +- ...s.test_aredis.test_pipeline_immediate.json | 22 +- ...edis.test_aredis.test_pipeline_traced.json | 11 +- ...ntrib.aredis.test_aredis.test_unicode.json | 11 +- ...rediscluster.test.test_cmd_max_length.json | 22 +- ....test_full_command_in_resource_config.json | 32 +-- ...est.test_full_command_in_resource_env.json | 21 +- ...ing_enabled_False_worker_service_None.json | 90 ++++---- ..._worker_service_custom-worker-service.json | 96 ++++---- ...cing_enabled_None_worker_service_None.json | 99 +++++---- ..._worker_service_custom-worker-service.json | 97 ++++---- ...rib.rq.test_rq.test_queue_failing_job.json | 22 +- ..._rq.test_queue_failing_job_pre_1_10_1.json | 24 +- ....test_schematization[service_schema0].json | 145 ++++++------ ...atization[service_schema0]_pre_1_10_1.json | 145 ++++++------ ....test_schematization[service_schema1].json | 47 ++-- ...atization[service_schema1]_pre_1_10_1.json | 145 ++++++------ ....test_schematization[service_schema2].json | 45 ++-- ...atization[service_schema2]_pre_1_10_1.json | 141 ++++++------ ....test_schematization[service_schema3].json | 141 ++++++------ ...atization[service_schema3]_pre_1_10_1.json | 141 ++++++------ ....test_schematization[service_schema4].json | 49 +++-- ...atization[service_schema4]_pre_1_10_1.json | 141 ++++++------ ....test_schematization[service_schema5].json | 45 ++-- ...atization[service_schema5]_pre_1_10_1.json | 141 ++++++------ ...ib.rq.test_rq.test_sync_queue_enqueue.json | 20 +- ...s.contrib.rq.test_rq.test_sync_worker.json | 99 +++++---- ...st_rq.test_sync_worker_config_service.json | 99 +++++---- ...est_rq.test_sync_worker_multiple_jobs.json | 102 +++++---- ...ntrib.rq.test_rq.test_sync_worker_ttl.json | 99 +++++---- ...trib.rq.test_rq.test_worker_class_job.json | 208 +++++++++--------- ...ib.rq.test_rq.test_worker_failing_job.json | 68 +----- 36 files changed, 1358 insertions(+), 1283 deletions(-) diff --git a/tests/snapshots/tests.contrib.aredis.test_aredis.test_basics.json b/tests/snapshots/tests.contrib.aredis.test_aredis.test_basics.json index 3d2795321e2..faa197198a7 100644 --- a/tests/snapshots/tests.contrib.aredis.test_aredis.test_basics.json +++ b/tests/snapshots/tests.contrib.aredis.test_aredis.test_basics.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.aredis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5eb2500000000", + "_dd.p.tid": "69de94d200000000", "_dd.svc_src": "aredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aredis", "component": "aredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET cheese", - "runtime-id": "44c636383e7240d59d17575bf5f491a4", + "runtime-id": "e2fcbf10e6ee43cd9a879a5b7143db60", "server.address": "localhost", "span.kind": "client" }, @@ -30,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 28047.0, + "process_id": 61089.0, "redis.args_length": 2.0 }, - "duration": 1109583, - "start": 1772481317396378210 + "duration": 655417, + "start": 1776194770201997386 }]] diff --git a/tests/snapshots/tests.contrib.aredis.test_aredis.test_cmd_max_length.json b/tests/snapshots/tests.contrib.aredis.test_aredis.test_cmd_max_length.json index 46acfe12568..f314bfd7bef 100644 --- a/tests/snapshots/tests.contrib.aredis.test_aredis.test_cmd_max_length.json +++ b/tests/snapshots/tests.contrib.aredis.test_aredis.test_cmd_max_length.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.aredis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5eb2800000000", + "_dd.p.tid": "69de94d500000000", "_dd.svc_src": "aredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aredis", "component": "aredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET here...", - "runtime-id": "44c636383e7240d59d17575bf5f491a4", + "runtime-id": "e2fcbf10e6ee43cd9a879a5b7143db60", "server.address": "localhost", "span.kind": "client" }, @@ -30,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 28047.0, + "process_id": 61089.0, "redis.args_length": 2.0 }, - "duration": 1729083, - "start": 1772481320520578003 + "duration": 822042, + "start": 1776194773946308346 }]] diff --git a/tests/snapshots/tests.contrib.aredis.test_aredis.test_full_command_in_resource_config.json b/tests/snapshots/tests.contrib.aredis.test_aredis.test_full_command_in_resource_config.json index da7269b4a31..92e45385c8d 100644 --- a/tests/snapshots/tests.contrib.aredis.test_aredis.test_full_command_in_resource_config.json +++ b/tests/snapshots/tests.contrib.aredis.test_aredis.test_full_command_in_resource_config.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.aredis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5eb2300000000", + "_dd.p.tid": "69de94d200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aredis", "language": "python", - "runtime-id": "44c636383e7240d59d17575bf5f491a4" + "runtime-id": "e2fcbf10e6ee43cd9a879a5b7143db60" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 28047.0 + "process_id": 61089.0 }, - "duration": 1570875, - "start": 1772481315862145584 + "duration": 1342959, + "start": 1776194770184206344 }, { "name": "redis.command", @@ -51,8 +53,8 @@ "out.redis_db": 0.0, "redis.args_length": 2.0 }, - "duration": 545708, - "start": 1772481315862506334 + "duration": 368166, + "start": 1776194770184745928 }, { "name": "redis.command", @@ -80,6 +82,6 @@ "out.redis_db": 0.0, "redis.pipeline_length": 2.0 }, - "duration": 348833, - "start": 1772481315863332584 + "duration": 256875, + "start": 1776194770185267761 }]] diff --git a/tests/snapshots/tests.contrib.aredis.test_aredis.test_full_command_in_resource_env.json b/tests/snapshots/tests.contrib.aredis.test_aredis.test_full_command_in_resource_env.json index 50a47351ddb..5b82ee37235 100644 --- a/tests/snapshots/tests.contrib.aredis.test_aredis.test_full_command_in_resource_env.json +++ b/tests/snapshots/tests.contrib.aredis.test_aredis.test_full_command_in_resource_env.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5eb2300000000", + "_dd.p.tid": "69de94d700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz3g7ns_9,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "ad2356ba7e0f40c8a914b75439b464fd" + "runtime-id": "74d740e4e6a44d71a5c550380559ebd3" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 28077.0 + "process_id": 61322.0 }, - "duration": 11631750, - "start": 1772481315756475917 + "duration": 4173250, + "start": 1776194775135773555 }, { "name": "redis.command", @@ -51,8 +53,8 @@ "out.redis_db": 0.0, "redis.args_length": 2.0 }, - "duration": 9357041, - "start": 1772481315757883084 + "duration": 3727334, + "start": 1776194775135927763 }, { "name": "redis.command", @@ -80,6 +82,6 @@ "out.redis_db": 0.0, "redis.pipeline_length": 2.0 }, - "duration": 240250, - "start": 1772481315767843084 + "duration": 184875, + "start": 1776194775139744138 }]] diff --git a/tests/snapshots/tests.contrib.aredis.test_aredis.test_long_command.json b/tests/snapshots/tests.contrib.aredis.test_aredis.test_long_command.json index add81fc8f94..409e3c73ff0 100644 --- a/tests/snapshots/tests.contrib.aredis.test_aredis.test_long_command.json +++ b/tests/snapshots/tests.contrib.aredis.test_aredis.test_long_command.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.aredis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5eb2200000000", + "_dd.p.tid": "69de94d500000000", "_dd.svc_src": "aredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aredis", "component": "aredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "MGET 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 36...", - "runtime-id": "44c636383e7240d59d17575bf5f491a4", + "runtime-id": "e2fcbf10e6ee43cd9a879a5b7143db60", "server.address": "localhost", "span.kind": "client" }, @@ -30,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 28047.0, + "process_id": 61089.0, "redis.args_length": 1001.0 }, - "duration": 8598500, - "start": 1772481314658293167 + "duration": 5429167, + "start": 1776194773925762513 }]] diff --git a/tests/snapshots/tests.contrib.aredis.test_aredis.test_pipeline_immediate.json b/tests/snapshots/tests.contrib.aredis.test_aredis.test_pipeline_immediate.json index afa01e9da51..78b37ea830f 100644 --- a/tests/snapshots/tests.contrib.aredis.test_aredis.test_pipeline_immediate.json +++ b/tests/snapshots/tests.contrib.aredis.test_aredis.test_pipeline_immediate.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.aredis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5eb2a00000000", + "_dd.p.tid": "69de94c500000000", "_dd.svc_src": "aredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aredis", "component": "aredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "SET a 1", - "runtime-id": "44c636383e7240d59d17575bf5f491a4", + "runtime-id": "9066123909e24c8a8a1c0a36763aaec7", "server.address": "localhost", "span.kind": "client" }, @@ -29,11 +30,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 28047.0, + "process_id": 60438.0, "redis.args_length": 3.0 }, - "duration": 1012208, - "start": 1772481322098806920 + "duration": 818542, + "start": 1776194757094042130 }], [ { @@ -48,14 +49,15 @@ "meta": { "_dd.base_service": "tests.contrib.aredis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5eb2a00000000", + "_dd.p.tid": "69de94c500000000", "_dd.svc_src": "aredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aredis", "component": "aredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "SET a 1", - "runtime-id": "44c636383e7240d59d17575bf5f491a4", + "runtime-id": "9066123909e24c8a8a1c0a36763aaec7", "server.address": "localhost", "span.kind": "client" }, @@ -66,9 +68,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 28047.0, + "process_id": 60438.0, "redis.pipeline_length": 1.0 }, - "duration": 319375, - "start": 1772481322100096170 + "duration": 224291, + "start": 1776194757095107047 }]] diff --git a/tests/snapshots/tests.contrib.aredis.test_aredis.test_pipeline_traced.json b/tests/snapshots/tests.contrib.aredis.test_aredis.test_pipeline_traced.json index c7abe0402af..092c075270c 100644 --- a/tests/snapshots/tests.contrib.aredis.test_aredis.test_pipeline_traced.json +++ b/tests/snapshots/tests.contrib.aredis.test_aredis.test_pipeline_traced.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.aredis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5eb2a00000000", + "_dd.p.tid": "69de94d200000000", "_dd.svc_src": "aredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aredis", "component": "aredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "SET blah 32\nRPUSH foo \u00e9\u00e9\nHGETALL xxx", - "runtime-id": "44c636383e7240d59d17575bf5f491a4", + "runtime-id": "e2fcbf10e6ee43cd9a879a5b7143db60", "server.address": "localhost", "span.kind": "client" }, @@ -29,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 28047.0, + "process_id": 61089.0, "redis.pipeline_length": 3.0 }, - "duration": 1301208, - "start": 1772481322081948795 + "duration": 924584, + "start": 1776194770924574136 }]] diff --git a/tests/snapshots/tests.contrib.aredis.test_aredis.test_unicode.json b/tests/snapshots/tests.contrib.aredis.test_aredis.test_unicode.json index f8ad801e95f..6d2c2a19c48 100644 --- a/tests/snapshots/tests.contrib.aredis.test_aredis.test_unicode.json +++ b/tests/snapshots/tests.contrib.aredis.test_aredis.test_unicode.json @@ -11,14 +11,15 @@ "meta": { "_dd.base_service": "tests.contrib.aredis", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5eb2100000000", + "_dd.p.tid": "69de94d200000000", "_dd.svc_src": "aredis", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aredis", "component": "aredis", "db.system": "redis", "language": "python", "out.host": "localhost", "redis.raw_command": "GET \ud83d\ude10", - "runtime-id": "44c636383e7240d59d17575bf5f491a4", + "runtime-id": "e2fcbf10e6ee43cd9a879a5b7143db60", "server.address": "localhost", "span.kind": "client" }, @@ -30,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.redis_db": 0.0, - "process_id": 28047.0, + "process_id": 61089.0, "redis.args_length": 2.0 }, - "duration": 1981667, - "start": 1772481313118702763 + "duration": 774417, + "start": 1776194770939034511 }]] diff --git a/tests/snapshots/tests.contrib.rediscluster.test.test_cmd_max_length.json b/tests/snapshots/tests.contrib.rediscluster.test.test_cmd_max_length.json index b27f242202a..c2060064f4d 100644 --- a/tests/snapshots/tests.contrib.rediscluster.test.test_cmd_max_length.json +++ b/tests/snapshots/tests.contrib.rediscluster.test.test_cmd_max_length.json @@ -11,13 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.rediscluster", "_dd.p.dm": "-0", - "_dd.p.tid": "69a6ed7b00000000", + "_dd.p.tid": "69de951f00000000", "_dd.svc_src": "rediscluster", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rediscluster", "component": "rediscluster", "db.system": "redis", "language": "python", "redis.raw_command": "FLUSHALL", - "runtime-id": "177784688fe9472aab8be6ad7bb2ce1e", + "runtime-id": "810836a1048c47f1a61dbcafd832e5ef", "span.kind": "client" }, "metrics": { @@ -25,11 +26,11 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 18007.0, + "process_id": 61912.0, "redis.args_length": 1.0 }, - "duration": 3555208, - "start": 1772547451266273222 + "duration": 3002792, + "start": 1776194847454051838 }], [ { @@ -44,13 +45,14 @@ "meta": { "_dd.base_service": "tests.contrib.rediscluster", "_dd.p.dm": "-0", - "_dd.p.tid": "69a6ed7b00000000", + "_dd.p.tid": "69de951f00000000", "_dd.svc_src": "rediscluster", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rediscluster", "component": "rediscluster", "db.system": "redis", "language": "python", "redis.raw_command": "GET here...", - "runtime-id": "177784688fe9472aab8be6ad7bb2ce1e", + "runtime-id": "810836a1048c47f1a61dbcafd832e5ef", "span.kind": "client" }, "metrics": { @@ -59,9 +61,9 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "db.row_count": 0.0, - "process_id": 18007.0, + "process_id": 61912.0, "redis.args_length": 2.0 }, - "duration": 352375, - "start": 1772547451271264347 + "duration": 255208, + "start": 1776194847458197172 }]] diff --git a/tests/snapshots/tests.contrib.rediscluster.test.test_full_command_in_resource_config.json b/tests/snapshots/tests.contrib.rediscluster.test.test_full_command_in_resource_config.json index f478762e893..67b0f2d34df 100644 --- a/tests/snapshots/tests.contrib.rediscluster.test.test_full_command_in_resource_config.json +++ b/tests/snapshots/tests.contrib.rediscluster.test.test_full_command_in_resource_config.json @@ -11,13 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.rediscluster", "_dd.p.dm": "-0", - "_dd.p.tid": "69a6ed7b00000000", + "_dd.p.tid": "69de951f00000000", "_dd.svc_src": "rediscluster", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rediscluster", "component": "rediscluster", "db.system": "redis", "language": "python", "redis.raw_command": "FLUSHALL", - "runtime-id": "177784688fe9472aab8be6ad7bb2ce1e", + "runtime-id": "810836a1048c47f1a61dbcafd832e5ef", "span.kind": "client" }, "metrics": { @@ -25,11 +26,11 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 18007.0, + "process_id": 61912.0, "redis.args_length": 1.0 }, - "duration": 5288875, - "start": 1772547451187726180 + "duration": 3447042, + "start": 1776194847499643963 }], [ { @@ -44,18 +45,20 @@ "meta": { "_dd.base_service": "tests.contrib.rediscluster", "_dd.p.dm": "-0", - "_dd.p.tid": "69a6ed7b00000000", + "_dd.p.tid": "69de951f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rediscluster", "language": "python", - "runtime-id": "177784688fe9472aab8be6ad7bb2ce1e" + "runtime-id": "810836a1048c47f1a61dbcafd832e5ef" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 18007.0 + "process_id": 61912.0 }, - "duration": 2144417, - "start": 1772547451194632597 + "duration": 1591500, + "start": 1776194847504024338 }, { "name": "redis.command", @@ -80,8 +83,8 @@ "db.row_count": 0.0, "redis.args_length": 2.0 }, - "duration": 603084, - "start": 1772547451194986430 + "duration": 393291, + "start": 1776194847504148922 }, { "name": "redis.command", @@ -94,6 +97,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.rediscluster", + "_dd.svc_src": "rediscluster", "component": "rediscluster", "db.system": "redis", "redis.raw_command": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2", @@ -104,6 +108,6 @@ "_dd.top_level": 1.0, "redis.pipeline_length": 2.0 }, - "duration": 947000, - "start": 1772547451195785347 + "duration": 910500, + "start": 1776194847504670005 }]] diff --git a/tests/snapshots/tests.contrib.rediscluster.test.test_full_command_in_resource_env.json b/tests/snapshots/tests.contrib.rediscluster.test.test_full_command_in_resource_env.json index 245c50e6b36..d4e45232877 100644 --- a/tests/snapshots/tests.contrib.rediscluster.test.test_full_command_in_resource_env.json +++ b/tests/snapshots/tests.contrib.rediscluster.test.test_full_command_in_resource_env.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69a6ed7c00000000", + "_dd.p.tid": "69de951f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpnyeoqf6u,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "ca9855cf77554642944ebb76b6520228" + "runtime-id": "620dcf39afdb4b2bad8e393066dc1043" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 18097.0 + "process_id": 62001.0 }, - "duration": 35779292, - "start": 1772547452175198625 + "duration": 20953625, + "start": 1776194847933974589 }, { "name": "redis.command", @@ -47,8 +49,8 @@ "db.row_count": 0.0, "redis.args_length": 2.0 }, - "duration": 719584, - "start": 1772547452209200958 + "duration": 323041, + "start": 1776194847954048964 }, { "name": "redis.command", @@ -61,6 +63,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "rediscluster", "component": "rediscluster", "db.system": "redis", "redis.raw_command": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2", @@ -71,6 +74,6 @@ "_dd.top_level": 1.0, "redis.pipeline_length": 2.0 }, - "duration": 404459, - "start": 1772547452210549583 + "duration": 463375, + "start": 1776194847954447464 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_None.json b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_None.json index 19abc29d468..cfd3527a4ec 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_None.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_None.json @@ -1,9 +1,42 @@ [[ + { + "name": "rq.queue.enqueue_job", + "service": "rq", + "resource": "tests.contrib.rq.jobs.job_add1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.rq", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", + "component": "rq", + "job.func_name": "tests.contrib.rq.jobs.job_add1", + "job.id": "6aa4cbdb-9e19-41c4-973c-abb3daa2441a", + "language": "python", + "queue.name": "q", + "runtime-id": "6a01082606b940feb84197d38404ca13", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 + }, + "duration": 4091792, + "start": 1776194891022419178 + }], +[ { "name": "rq.worker.perform_job", "service": "rq-worker", "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, + "trace_id": 1, "span_id": 1, "parent_id": 0, "type": "worker", @@ -11,70 +44,41 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69a893d600000000", + "_dd.p.tid": "69de954b00000000", "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:rq,entrypoint.type:script,entrypoint.workdir:project,svc.auto:rq", "component": "rq", - "job.id": "f465ebfe-5fcc-4800-8f57-10f1020d3c45", + "job.id": "6aa4cbdb-9e19-41c4-973c-abb3daa2441a", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "071737d2285a48fa80fa102487203472", + "runtime-id": "7638a2b69d3d4f72845fd9bc4855cb07", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57457.0 + "process_id": 62961.0 }, - "duration": 14074166, - "start": 1772655574374334264 + "duration": 6907209, + "start": 1776194891540545303 }, { "name": "rq.job.perform", "service": "rq-worker", "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, + "trace_id": 1, "span_id": 2, "parent_id": 1, "type": "", "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "f465ebfe-5fcc-4800-8f57-10f1020d3c45" + "job.id": "6aa4cbdb-9e19-41c4-973c-abb3daa2441a" }, - "duration": 4570333, - "start": 1772655574378854097 - }], -[ - { - "name": "rq.queue.enqueue_job", - "service": "rq", - "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.rq", - "_dd.p.dm": "-0", - "_dd.p.tid": "69a893d500000000", - "component": "rq", - "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "f465ebfe-5fcc-4800-8f57-10f1020d3c45", - "language": "python", - "queue.name": "q", - "runtime-id": "3bef17745d644bd5b616d01696165990", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 57410.0 - }, - "duration": 1974000, - "start": 1772655573153579096 - }]] + "duration": 3612625, + "start": 1776194891542262845 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_custom-worker-service.json b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_custom-worker-service.json index b690a6a7d8a..4f7c59a4351 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_custom-worker-service.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_custom-worker-service.json @@ -1,7 +1,7 @@ [[ { - "name": "rq.worker.perform_job", - "service": "custom-worker-service", + "name": "rq.queue.enqueue_job", + "service": "rq", "resource": "tests.contrib.rq.jobs.job_add1", "trace_id": 0, "span_id": 1, @@ -9,46 +9,32 @@ "type": "worker", "error": 0, "meta": { + "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "264cc976-ded7-449d-8abb-3e33c6cc842a", - "job.origin": "q", - "job.status": "finished", + "job.func_name": "tests.contrib.rq.jobs.job_add1", + "job.id": "52aa1f78-3f72-4410-a6ee-bc74de0436a0", "language": "python", - "runtime-id": "01f946fada474bc88f2b6b2a8733bb21", - "span.kind": "consumer" + "queue.name": "q", + "runtime-id": "6a01082606b940feb84197d38404ca13", + "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2623 + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 }, - "duration": 10435292, - "start": 1692649892989179344 - }, - { - "name": "rq.job.perform", - "service": "custom-worker-service", - "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "503d25d4-c7d5-451c-8b83-8f7e467b4dba" - }, - "duration": 7019167, - "start": 1692649892990994469 - }], + "duration": 1997958, + "start": 1776194883728855925 + }], [ { - "name": "rq.queue.enqueue_job", - "service": "rq", + "name": "rq.worker.perform_job", + "service": "custom-worker-service", "resource": "tests.contrib.rq.jobs.job_add1", "trace_id": 1, "span_id": 1, @@ -56,23 +42,41 @@ "type": "worker", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:rq,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "503d25d4-c7d5-451c-8b83-8f7e467b4dba", + "job.id": "52aa1f78-3f72-4410-a6ee-bc74de0436a0", + "job.origin": "q", + "job.status": "finished", "language": "python", - "queue.name": "q", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", - "span.kind": "producer" + "runtime-id": "aa6e6a2810de426a8c693fd92f33855e", + "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "_sampling_priority_v1": 1.0, + "process_id": 62834.0 }, - "duration": 2229458, - "start": 1692649892260471094 - }]] + "duration": 6395208, + "start": 1776194884256729550 + }, + { + "name": "rq.job.perform", + "service": "custom-worker-service", + "resource": "tests.contrib.rq.jobs.job_add1", + "trace_id": 1, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 0, + "meta": { + "_dd.svc_src": "rq", + "component": "rq", + "job.id": "52aa1f78-3f72-4410-a6ee-bc74de0436a0" + }, + "duration": 3248459, + "start": 1776194884258409633 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_None.json b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_None.json index a0befaff75f..d85b5096f38 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_None.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_None.json @@ -11,71 +11,74 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "5e7a8f08-e011-4ebb-8cab-3ebbd30e089e", + "job.id": "84b3eb03-a78d-4d21-a226-38ea1f1f8c5e", "language": "python", "queue.name": "q", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 }, - "duration": 3057583, - "start": 1692649890802011260 + "duration": 4062958, + "start": 1776194886952341093 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "rq-worker", + "resource": "tests.contrib.rq.jobs.job_add1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954700000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:rq,entrypoint.type:script,entrypoint.workdir:project,svc.auto:rq", + "component": "rq", + "job.id": "84b3eb03-a78d-4d21-a226-38ea1f1f8c5e", + "job.origin": "q", + "job.status": "finished", + "language": "python", + "runtime-id": "49c432eaa05545fc82bae63bc420a786", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62892.0 + }, + "duration": 6456250, + "start": 1776194887469234093 }, { - "name": "rq.worker.perform_job", + "name": "rq.job.perform", "service": "rq-worker", "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, + "trace_id": 1, "span_id": 2, "parent_id": 1, - "type": "worker", + "type": "", "error": 0, "meta": { "_dd.base_service": "", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "5e7a8f08-e011-4ebb-8cab-3ebbd30e089e", - "job.origin": "q", - "job.status": "finished", - "language": "python", - "runtime-id": "c6ed7b3d08024c52ad8e0c2da8eaef6b", - "span.kind": "consumer", - "traceparent": "00-00000000000000006a1a3b27022b96f5-6a50567ba6906843-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2618 + "job.id": "84b3eb03-a78d-4d21-a226-38ea1f1f8c5e" }, - "duration": 12139083, - "start": 1692649891606680385 - }, - { - "name": "rq.job.perform", - "service": "rq-worker", - "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "5e7a8f08-e011-4ebb-8cab-3ebbd30e089e" - }, - "duration": 8641291, - "start": 1692649891608589677 - }]] + "duration": 3341208, + "start": 1776194887470919343 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_custom-worker-service.json b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_custom-worker-service.json index a8aaf123f38..7eae7e1de53 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_custom-worker-service.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_custom-worker-service.json @@ -11,69 +11,72 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "da5d74e6-52f8-411a-9a6f-e748344c3e62", + "job.id": "edab78af-7f76-40dc-a4bf-c475dac6320e", "language": "python", "queue.name": "q", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 }, - "duration": 2846333, - "start": 1692649893610660136 + "duration": 1979125, + "start": 1776194885918205176 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "custom-worker-service", + "resource": "tests.contrib.rq.jobs.job_add1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:rq,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "component": "rq", + "job.id": "edab78af-7f76-40dc-a4bf-c475dac6320e", + "job.origin": "q", + "job.status": "finished", + "language": "python", + "runtime-id": "fef0946063d94aca8d389f0647f823f4", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62869.0 + }, + "duration": 6749208, + "start": 1776194886423798593 }, { - "name": "rq.worker.perform_job", + "name": "rq.job.perform", "service": "custom-worker-service", "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, + "trace_id": 1, "span_id": 2, "parent_id": 1, - "type": "worker", + "type": "", "error": 0, "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "da5d74e6-52f8-411a-9a6f-e748344c3e62", - "job.origin": "q", - "job.status": "finished", - "language": "python", - "runtime-id": "894f44942f5b4f9fb7c7e4e7d745d687", - "span.kind": "consumer", - "traceparent": "00-000000000000000042abba68f84c565e-5dbe7a56625518d1-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2628 + "job.id": "edab78af-7f76-40dc-a4bf-c475dac6320e" }, - "duration": 12055500, - "start": 1692649894342189928 - }, - { - "name": "rq.job.perform", - "service": "custom-worker-service", - "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "da5d74e6-52f8-411a-9a6f-e748344c3e62" - }, - "duration": 7928500, - "start": 1692649894343940345 - }]] + "duration": 3645042, + "start": 1776194886425352884 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job.json b/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job.json index 5e0aa17f222..0f053d14c34 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job.json @@ -11,23 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894c600000000", + "_dd.p.tid": "69de955400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_fail", - "job.id": "88bce67d-24c8-4821-9852-8b35757ca32e", + "job.id": "290442b8-e7a7-4ea8-9b2c-3ce5b0d0db0c", "language": "python", "queue.name": "sync-q", - "runtime-id": "d6eec59b18054e63811ec6b3b914b695", + "runtime-id": "bcddea3267f64ed68a48edc9cc5f0c91", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 60322.0 + "process_id": 63023.0 }, - "duration": 4075625, - "start": 1772655814233727930 + "duration": 3028083, + "start": 1776194900802408919 }, { "name": "rq.job.perform", @@ -43,10 +45,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", "error.type": "tests.contrib.rq.jobs.MyException", - "job.id": "88bce67d-24c8-4821-9852-8b35757ca32e" + "job.id": "290442b8-e7a7-4ea8-9b2c-3ce5b0d0db0c" }, - "duration": 651625, - "start": 1772655814235237222 + "duration": 1499750, + "start": 1776194900803668544 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job_pre_1_10_1.json index 8043948d9a2..6497fe59d8d 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job_pre_1_10_1.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69a893d800000000", + "_dd.p.tid": "69de954b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "error.message": "error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 86, in traced_queue_enqueue_job\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/queue.py\", line 484, in enqueue_job\n job = self.run_job(job)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/queue.py\", line 370, in run_job\n job.perform()\n File \"/home/bits/project/ddtrace/contrib/internal/trace_utils.py\", line 309, in wrapper\n return func(mod, pin, wrapped, instance, args, kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 86, in traced_queue_enqueue_job\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/queue.py\", line 484, in enqueue_job\n job = self.run_job(job)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/queue.py\", line 370, in run_job\n job.perform()\n File \"/home/bits/project/ddtrace/contrib/internal/trace_utils.py\", line 310, in wrapper\n return func(mod, pin, wrapped, instance, args, kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", "error.type": "tests.contrib.rq.jobs.MyException", "job.func_name": "tests.contrib.rq.jobs.job_fail", - "job.id": "0a57bf3b-e8ba-4651-a2ce-37981dba89f2", + "job.id": "a67c6e1d-2008-4c8a-b196-878756d87fc5", "language": "python", "queue.name": "sync-q", - "runtime-id": "3bef17745d644bd5b616d01696165990", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57410.0 + "process_id": 62795.0 }, - "duration": 4364042, - "start": 1772655576944658792 + "duration": 3453125, + "start": 1776194891007770095 }, { "name": "rq.job.perform", @@ -46,10 +48,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", "error.type": "tests.contrib.rq.jobs.MyException", - "job.id": "0a57bf3b-e8ba-4651-a2ce-37981dba89f2" + "job.id": "a67c6e1d-2008-4c8a-b196-878756d87fc5" }, - "duration": 2064167, - "start": 1772655576946016875 + "duration": 1355417, + "start": 1776194891009081428 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0].json index 2e1c383a465..6cde86a8e58 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0].json @@ -11,77 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de955400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "cf740fea-3fc5-4165-a1cf-e1be0fee4d88", + "job.id": "94fffdf7-d3f3-4132-841a-81eb76cd9e73", "language": "python", "queue.name": "q", - "runtime-id": "2b97494586c34e01812f3305d79a278e", + "runtime-id": "bfd5abd56bf24876b1d000ee8050f382", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2690 + "_sampling_priority_v1": 1.0, + "process_id": 63045.0 }, - "duration": 2546333, - "start": 1692649925165184845 - }, - { - "name": "rq.worker.perform_job", - "service": "rq-worker", - "resource": "__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 1, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "cf740fea-3fc5-4165-a1cf-e1be0fee4d88", - "job.origin": "q", - "job.status": "failed", - "language": "python", - "runtime-id": "2b97494586c34e01812f3305d79a278e", - "span.kind": "consumer", - "traceparent": "00-0000000000000000189a1d988c1c55a5-40843f2caf73b45c-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2690 - }, - "duration": 5131417, - "start": 1692649925215645053 - }, - { - "name": "rq.job.perform", - "service": "rq-worker", - "resource": "__call__", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 1, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/rq/__init__.py\", line 215, in traced_job_perform\n return func(*args, **kwargs)\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", - "error.type": "builtins.TypeError", - "job.id": "cf740fea-3fc5-4165-a1cf-e1be0fee4d88" - }, - "duration": 1903375, - "start": 1692649925216092345 - }], + "duration": 2094708, + "start": 1776194900512749460 + }], [ { "name": "rq.queue.fetch_job", @@ -95,18 +44,74 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de955400000000", + "_dd.svc_src": "rq", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "2b97494586c34e01812f3305d79a278e" + "runtime-id": "bfd5abd56bf24876b1d000ee8050f382" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2690 + "_sampling_priority_v1": 1.0, + "process_id": 63045.0 }, - "duration": 615000, - "start": 1692649925210258262 - }]] + "duration": 241500, + "start": 1776194900515155293 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "rq-worker", + "resource": "__call__", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de955400000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "component": "rq", + "job.id": "94fffdf7-d3f3-4132-841a-81eb76cd9e73", + "job.origin": "q", + "job.status": "failed", + "language": "python", + "runtime-id": "bfd5abd56bf24876b1d000ee8050f382", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 63045.0 + }, + "duration": 2453458, + "start": 1776194900519212377 + }, + { + "name": "rq.job.perform", + "service": "rq-worker", + "resource": "__call__", + "trace_id": 2, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "rq", + "component": "rq", + "error.message": "__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.type": "builtins.TypeError", + "job.id": "94fffdf7-d3f3-4132-841a-81eb76cd9e73" + }, + "duration": 760500, + "start": 1776194900519542502 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0]_pre_1_10_1.json index 40064ec114a..2c7266a3db0 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0]_pre_1_10_1.json @@ -11,77 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "753c0cfd-9c60-4bcd-8d34-3e4e5f992565", + "job.id": "651b24da-7d4d-4edf-a97d-ad664ac8ebc1", "language": "python", "queue.name": "q", - "runtime-id": "da206a39e33945868d255c5d941b0908", + "runtime-id": "73bfc677d7fe44da8b0ce4b87def45af", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2631 + "_sampling_priority_v1": 1.0, + "process_id": 62925.0 }, - "duration": 2130292, - "start": 1692649896030199220 - }, - { - "name": "rq.worker.perform_job", - "service": "rq-worker", - "resource": "__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 1, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "753c0cfd-9c60-4bcd-8d34-3e4e5f992565", - "job.origin": "q", - "job.status": "failed", - "language": "python", - "runtime-id": "da206a39e33945868d255c5d941b0908", - "span.kind": "consumer", - "traceparent": "00-0000000000000000c107c6b059ed370a-58b7ac06f2e37582-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2631 - }, - "duration": 4162083, - "start": 1692649896063258929 - }, - { - "name": "rq.job.perform", - "service": "rq-worker", - "resource": "__call__", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 1, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/rq/__init__.py\", line 215, in traced_job_perform\n return func(*args, **kwargs)\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", - "error.type": "builtins.TypeError", - "job.id": "753c0cfd-9c60-4bcd-8d34-3e4e5f992565" - }, - "duration": 1432000, - "start": 1692649896063698512 - }], + "duration": 1970125, + "start": 1776194889679110053 + }], [ { "name": "rq.queue.fetch_job", @@ -95,18 +44,74 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954900000000", + "_dd.svc_src": "rq", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "da206a39e33945868d255c5d941b0908" + "runtime-id": "73bfc677d7fe44da8b0ce4b87def45af" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2631 + "_sampling_priority_v1": 1.0, + "process_id": 62925.0 }, - "duration": 382584, - "start": 1692649896059108845 - }]] + "duration": 255584, + "start": 1776194889681386469 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "rq-worker", + "resource": "__call__", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954900000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "component": "rq", + "job.id": "651b24da-7d4d-4edf-a97d-ad664ac8ebc1", + "job.origin": "q", + "job.status": "failed", + "language": "python", + "runtime-id": "73bfc677d7fe44da8b0ce4b87def45af", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62925.0 + }, + "duration": 2402708, + "start": 1776194889685125386 + }, + { + "name": "rq.job.perform", + "service": "rq-worker", + "resource": "__call__", + "trace_id": 2, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "rq", + "component": "rq", + "error.message": "__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.type": "builtins.TypeError", + "job.id": "651b24da-7d4d-4edf-a97d-ad664ac8ebc1" + }, + "duration": 815459, + "start": 1776194889685461094 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1].json index 3a032b84784..c28629c3636 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1].json @@ -11,23 +11,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894bb00000000", + "_dd.p.tid": "69de955a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "21e8d0a6-c170-45b3-a940-e2e38f27b943", + "job.id": "8fd45076-20b9-4b05-b862-7b0ab2bf3c50", "language": "python", "queue.name": "q", - "runtime-id": "85dfcd2c8a71402bbeb4a36c7ef687fb", + "runtime-id": "6310aa5d8ae84d28abb63dcd9e5f9b3b", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 60360.0 + "process_id": 63131.0 }, - "duration": 8761500, - "start": 1772655803844894800 + "duration": 2019875, + "start": 1776194906387249671 }], [ { @@ -42,21 +44,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894bb00000000", + "_dd.p.tid": "69de955a00000000", "_dd.svc_src": "rq", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "85dfcd2c8a71402bbeb4a36c7ef687fb" + "runtime-id": "6310aa5d8ae84d28abb63dcd9e5f9b3b" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 60360.0 + "process_id": 63131.0 }, - "duration": 495792, - "start": 1772655803857493092 + "duration": 334792, + "start": 1776194906389705796 }], [ { @@ -71,24 +74,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894bb00000000", + "_dd.p.tid": "69de955a00000000", "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", - "job.id": "21e8d0a6-c170-45b3-a940-e2e38f27b943", + "job.id": "8fd45076-20b9-4b05-b862-7b0ab2bf3c50", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "85dfcd2c8a71402bbeb4a36c7ef687fb", + "runtime-id": "6310aa5d8ae84d28abb63dcd9e5f9b3b", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 60360.0 + "process_id": 63131.0 }, - "duration": 7014875, - "start": 1772655803865955717 + "duration": 2471708, + "start": 1776194906394004130 }, { "name": "rq.job.perform", @@ -101,12 +105,13 @@ "error": 1, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "21e8d0a6-c170-45b3-a940-e2e38f27b943" + "job.id": "8fd45076-20b9-4b05-b862-7b0ab2bf3c50" }, - "duration": 1984167, - "start": 1772655803867475550 + "duration": 776458, + "start": 1776194906394358755 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1]_pre_1_10_1.json index 531a8125c78..733312c3501 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1]_pre_1_10_1.json @@ -11,77 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "bc49fc4a-35d3-43db-b325-31edd249d511", + "job.id": "3bc87376-82a4-4668-850c-095464eda985", "language": "python", "queue.name": "q", - "runtime-id": "0dda1d7f349d4a4f8acc8a9cf46b6225", + "runtime-id": "dcaef7be3dc14cb2b1a3e2934f4da232", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2635 + "_sampling_priority_v1": 1.0, + "process_id": 62800.0 }, - "duration": 2189166, - "start": 1692649897424798513 - }, - { - "name": "rq.worker.perform_job", - "service": "rq-worker", - "resource": "__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 1, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "bc49fc4a-35d3-43db-b325-31edd249d511", - "job.origin": "q", - "job.status": "failed", - "language": "python", - "runtime-id": "0dda1d7f349d4a4f8acc8a9cf46b6225", - "span.kind": "consumer", - "traceparent": "00-0000000000000000084f59fce94ddf51-de8154ea08c16fcc-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2635 - }, - "duration": 3849334, - "start": 1692649897457880054 - }, - { - "name": "rq.job.perform", - "service": "rq-worker", - "resource": "__call__", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 1, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/rq/__init__.py\", line 215, in traced_job_perform\n return func(*args, **kwargs)\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", - "error.type": "builtins.TypeError", - "job.id": "bc49fc4a-35d3-43db-b325-31edd249d511" - }, - "duration": 1363583, - "start": 1692649897458272471 - }], + "duration": 2077459, + "start": 1776194882427552757 + }], [ { "name": "rq.queue.fetch_job", @@ -95,18 +44,74 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954200000000", + "_dd.svc_src": "rq", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "0dda1d7f349d4a4f8acc8a9cf46b6225" + "runtime-id": "dcaef7be3dc14cb2b1a3e2934f4da232" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2635 + "_sampling_priority_v1": 1.0, + "process_id": 62800.0 }, - "duration": 407583, - "start": 1692649897453507346 - }]] + "duration": 252500, + "start": 1776194882429946174 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "rq-worker", + "resource": "__call__", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954200000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "component": "rq", + "job.id": "3bc87376-82a4-4668-850c-095464eda985", + "job.origin": "q", + "job.status": "failed", + "language": "python", + "runtime-id": "dcaef7be3dc14cb2b1a3e2934f4da232", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62800.0 + }, + "duration": 2435417, + "start": 1776194882436154757 + }, + { + "name": "rq.job.perform", + "service": "rq-worker", + "resource": "__call__", + "trace_id": 2, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "rq", + "component": "rq", + "error.message": "__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.type": "builtins.TypeError", + "job.id": "3bc87376-82a4-4668-850c-095464eda985" + }, + "duration": 742583, + "start": 1776194882436516216 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2].json index fe8c321dc10..428738d97f9 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2].json @@ -10,24 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a8954300000000", + "_dd.p.tid": "69de955300000000", "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "f99211f9-2e3d-4a34-a266-5e64b928d1eb", + "job.id": "c636692b-6859-4591-a308-7e991a465a20", "language": "python", "queue.name": "q", - "runtime-id": "4072d15490b143ed9ba049c699eb44fe", + "runtime-id": "aad5ec29b68945b68a25752a458fa3d0", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62277.0 + "process_id": 63028.0 }, - "duration": 8737375, - "start": 1772655939862141335 + "duration": 2216292, + "start": 1776194899292319876 }], [ { @@ -41,21 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a8954300000000", + "_dd.p.tid": "69de955300000000", "_dd.svc_src": "rq", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "4072d15490b143ed9ba049c699eb44fe" + "runtime-id": "aad5ec29b68945b68a25752a458fa3d0" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62277.0 + "process_id": 63028.0 }, - "duration": 451542, - "start": 1772655939874818918 + "duration": 311041, + "start": 1776194899294968168 }], [ { @@ -69,24 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a8954300000000", + "_dd.p.tid": "69de955300000000", "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", - "job.id": "f99211f9-2e3d-4a34-a266-5e64b928d1eb", + "job.id": "c636692b-6859-4591-a308-7e991a465a20", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "4072d15490b143ed9ba049c699eb44fe", + "runtime-id": "aad5ec29b68945b68a25752a458fa3d0", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62277.0 + "process_id": 63028.0 }, - "duration": 7185417, - "start": 1772655939883684377 + "duration": 2621666, + "start": 1776194899299463793 }, { "name": "rq.job.perform", @@ -101,10 +104,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "f99211f9-2e3d-4a34-a266-5e64b928d1eb" + "job.id": "c636692b-6859-4591-a308-7e991a465a20" }, - "duration": 2096958, - "start": 1772655939885283377 + "duration": 825375, + "start": 1776194899299843834 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2]_pre_1_10_1.json index 9a80d9b13b9..70235ec2ea7 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2]_pre_1_10_1.json @@ -10,75 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954500000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "209c71fa-052d-4648-bb5d-2900ec537e33", + "job.id": "e2241a36-5b01-464a-a723-8cdda3043abb", "language": "python", "queue.name": "q", - "runtime-id": "732c2084ef6444aba4bcea2923bec38b", + "runtime-id": "74271d07bbf045b9b26d510acbef70da", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55847 + "_sampling_priority_v1": 1.0, + "process_id": 62848.0 }, - "duration": 2227251, - "start": 1691167592960472625 - }, - { - "name": "rq.worker.perform_job", - "service": "ddtrace_subprocess_dir", - "resource": "__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 1, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "209c71fa-052d-4648-bb5d-2900ec537e33", - "job.origin": "q", - "job.status": "failed", - "language": "python", - "runtime-id": "732c2084ef6444aba4bcea2923bec38b", - "span.kind": "consumer", - "traceparent": "00-0000000000000000dd11369e64bf7a45-6bb6a077472f810e-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55847 - }, - "duration": 1802309, - "start": 1691167592977209362 - }, - { - "name": "rq.job.perform", - "service": "ddtrace_subprocess_dir", - "resource": "__call__", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 1, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/rq/__init__.py\", line 215, in traced_job_perform\n return func(*args, **kwargs)\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", - "error.type": "builtins.TypeError", - "job.id": "209c71fa-052d-4648-bb5d-2900ec537e33" - }, - "duration": 343910, - "start": 1691167592977596195 - }], + "duration": 1969375, + "start": 1776194885611474301 + }], [ { "name": "rq.process", @@ -91,18 +42,72 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954500000000", + "_dd.svc_src": "rq", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "732c2084ef6444aba4bcea2923bec38b" + "runtime-id": "74271d07bbf045b9b26d510acbef70da" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55847 + "_sampling_priority_v1": 1.0, + "process_id": 62848.0 }, - "duration": 412315, - "start": 1691167592973027977 - }]] + "duration": 242125, + "start": 1776194885613764509 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "ddtrace_subprocess_dir", + "resource": "__call__", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954500000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "component": "rq", + "job.id": "e2241a36-5b01-464a-a723-8cdda3043abb", + "job.origin": "q", + "job.status": "failed", + "language": "python", + "runtime-id": "74271d07bbf045b9b26d510acbef70da", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62848.0 + }, + "duration": 2341625, + "start": 1776194885617524051 + }, + { + "name": "rq.job.perform", + "service": "ddtrace_subprocess_dir", + "resource": "__call__", + "trace_id": 2, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.svc_src": "rq", + "component": "rq", + "error.message": "__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.type": "builtins.TypeError", + "job.id": "e2241a36-5b01-464a-a723-8cdda3043abb" + }, + "duration": 785500, + "start": 1776194885617852634 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3].json index 5e7b1fa1778..e89cc727a90 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3].json @@ -10,75 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de955900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "12cce4a4-61b4-4238-bdf3-d85ece86c9b9", + "job.id": "40833627-71fa-4419-b1c8-b734d402f873", "language": "python", "queue.name": "q", - "runtime-id": "0eca84fda7db4b88ab47d50c775491d8", + "runtime-id": "48b1175995e94bc99c363e4d3aff658a", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55936 + "_sampling_priority_v1": 1.0, + "process_id": 63115.0 }, - "duration": 2278193, - "start": 1691167613031332808 - }, - { - "name": "rq.worker.perform_job", - "service": "mysvc", - "resource": "__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 1, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "12cce4a4-61b4-4238-bdf3-d85ece86c9b9", - "job.origin": "q", - "job.status": "failed", - "language": "python", - "runtime-id": "0eca84fda7db4b88ab47d50c775491d8", - "span.kind": "consumer", - "traceparent": "00-00000000000000006924207fecd1d8b3-9becb0895d93e64b-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55936 - }, - "duration": 1852196, - "start": 1691167613051524938 - }, - { - "name": "rq.job.perform", - "service": "mysvc", - "resource": "__call__", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 1, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/rq/__init__.py\", line 215, in traced_job_perform\n return func(*args, **kwargs)\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~1100_click712/lib/python3.7/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~1100_click712/lib/python3.7/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", - "error.type": "builtins.TypeError", - "job.id": "12cce4a4-61b4-4238-bdf3-d85ece86c9b9" - }, - "duration": 375458, - "start": 1691167613051962737 - }], + "duration": 2200167, + "start": 1776194905143726254 + }], [ { "name": "rq.queue.fetch_job", @@ -91,18 +42,72 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de955900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "0eca84fda7db4b88ab47d50c775491d8" + "runtime-id": "48b1175995e94bc99c363e4d3aff658a" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55936 + "_sampling_priority_v1": 1.0, + "process_id": 63115.0 }, - "duration": 454869, - "start": 1691167613046808005 - }]] + "duration": 372333, + "start": 1776194905146345921 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "mysvc", + "resource": "__call__", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de955900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "component": "rq", + "job.id": "40833627-71fa-4419-b1c8-b734d402f873", + "job.origin": "q", + "job.status": "failed", + "language": "python", + "runtime-id": "48b1175995e94bc99c363e4d3aff658a", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 63115.0 + }, + "duration": 2875708, + "start": 1776194905151296921 + }, + { + "name": "rq.job.perform", + "service": "mysvc", + "resource": "__call__", + "trace_id": 2, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.svc_src": "rq", + "component": "rq", + "error.message": "__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.type": "builtins.TypeError", + "job.id": "40833627-71fa-4419-b1c8-b734d402f873" + }, + "duration": 827917, + "start": 1776194905151713629 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3]_pre_1_10_1.json index 61aa6d8949d..fc6e192d609 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3]_pre_1_10_1.json @@ -10,75 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "9e52b4e1-f4b0-4c9b-b31b-e3777802b642", + "job.id": "d4dd3ab7-76c2-47f3-bf7b-14cf9b85c857", "language": "python", "queue.name": "q", - "runtime-id": "4683cdfd72b1406c95b8b165fb77eb3c", + "runtime-id": "d462937d1ad64e27b113da06c4fcf905", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55853 + "_sampling_priority_v1": 1.0, + "process_id": 62812.0 }, - "duration": 2460928, - "start": 1691167593777981531 - }, - { - "name": "rq.worker.perform_job", - "service": "mysvc", - "resource": "__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 1, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "9e52b4e1-f4b0-4c9b-b31b-e3777802b642", - "job.origin": "q", - "job.status": "failed", - "language": "python", - "runtime-id": "4683cdfd72b1406c95b8b165fb77eb3c", - "span.kind": "consumer", - "traceparent": "00-00000000000000009d292185afe210e0-e8c7103b6bd9be13-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55853 - }, - "duration": 1928443, - "start": 1691167593795566376 - }, - { - "name": "rq.job.perform", - "service": "mysvc", - "resource": "__call__", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 1, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/rq/__init__.py\", line 215, in traced_job_perform\n return func(*args, **kwargs)\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", - "error.type": "builtins.TypeError", - "job.id": "9e52b4e1-f4b0-4c9b-b31b-e3777802b642" - }, - "duration": 382106, - "start": 1691167593795999563 - }], + "duration": 2013542, + "start": 1776194883408298258 + }], [ { "name": "rq.queue.fetch_job", @@ -91,18 +42,72 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "4683cdfd72b1406c95b8b165fb77eb3c" + "runtime-id": "d462937d1ad64e27b113da06c4fcf905" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55853 + "_sampling_priority_v1": 1.0, + "process_id": 62812.0 }, - "duration": 487691, - "start": 1691167593791043874 - }]] + "duration": 235625, + "start": 1776194883410624633 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "mysvc", + "resource": "__call__", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "component": "rq", + "job.id": "d4dd3ab7-76c2-47f3-bf7b-14cf9b85c857", + "job.origin": "q", + "job.status": "failed", + "language": "python", + "runtime-id": "d462937d1ad64e27b113da06c4fcf905", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62812.0 + }, + "duration": 2533750, + "start": 1776194883414666758 + }, + { + "name": "rq.job.perform", + "service": "mysvc", + "resource": "__call__", + "trace_id": 2, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.svc_src": "rq", + "component": "rq", + "error.message": "__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.type": "builtins.TypeError", + "job.id": "d4dd3ab7-76c2-47f3-bf7b-14cf9b85c857" + }, + "duration": 877625, + "start": 1776194883415028133 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4].json index c65d6e5471e..8637471935a 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4].json @@ -10,23 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a8946200000000", + "_dd.p.tid": "69de955800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "37317767-1d1f-42f3-abcc-7ccb764f7dc2", + "job.id": "a9e56e38-3340-40a3-9678-79b00735a1b3", "language": "python", "queue.name": "q", - "runtime-id": "9830ed3583be46ce83c17dc5f015ab11", + "runtime-id": "e408200fa47549879be1995628490650", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 59380.0 + "process_id": 63103.0 }, - "duration": 9489083, - "start": 1772655714399388634 + "duration": 2156125, + "start": 1776194904156623128 }], [ { @@ -40,20 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a8946200000000", + "_dd.p.tid": "69de955800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "9830ed3583be46ce83c17dc5f015ab11" + "runtime-id": "e408200fa47549879be1995628490650" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 59380.0 + "process_id": 63103.0 }, - "duration": 587750, - "start": 1772655714412984550 + "duration": 259459, + "start": 1776194904159132503 }], [ { @@ -67,23 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a8946200000000", + "_dd.p.tid": "69de955800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "37317767-1d1f-42f3-abcc-7ccb764f7dc2", + "job.id": "a9e56e38-3340-40a3-9678-79b00735a1b3", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "9830ed3583be46ce83c17dc5f015ab11", + "runtime-id": "e408200fa47549879be1995628490650", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 59380.0 + "process_id": 63103.0 }, - "duration": 7714333, - "start": 1772655714422918967 + "duration": 2688792, + "start": 1776194904163269503 }, { "name": "rq.job.perform", @@ -95,12 +101,13 @@ "type": "", "error": 1, "meta": { + "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "37317767-1d1f-42f3-abcc-7ccb764f7dc2" + "job.id": "a9e56e38-3340-40a3-9678-79b00735a1b3" }, - "duration": 2243125, - "start": 1772655714424670384 + "duration": 817541, + "start": 1776194904163636837 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4]_pre_1_10_1.json index d0c2b5bbd75..359a2ae3e21 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4]_pre_1_10_1.json @@ -10,75 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "a7d61d4e-c6df-45c8-9382-0394d8266c41", + "job.id": "3cbeb43b-6751-49f7-bbe2-f659d903106a", "language": "python", "queue.name": "q", - "runtime-id": "d760d6ed93924e74accf1039b02d7a58", + "runtime-id": "6c650afbcd8845f9a2b7fe2358e34876", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55859 + "_sampling_priority_v1": 1.0, + "process_id": 62937.0 }, - "duration": 2244888, - "start": 1691167594585451599 - }, - { - "name": "rq.worker.perform_job", - "service": "mysvc", - "resource": "__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 1, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "a7d61d4e-c6df-45c8-9382-0394d8266c41", - "job.origin": "q", - "job.status": "failed", - "language": "python", - "runtime-id": "d760d6ed93924e74accf1039b02d7a58", - "span.kind": "consumer", - "traceparent": "00-0000000000000000c7ae2470a78e4287-1e40f5015eaf8a6b-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55859 - }, - "duration": 1688589, - "start": 1691167594601984338 - }, - { - "name": "rq.job.perform", - "service": "mysvc", - "resource": "__call__", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 1, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/rq/__init__.py\", line 215, in traced_job_perform\n return func(*args, **kwargs)\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", - "error.type": "builtins.TypeError", - "job.id": "a7d61d4e-c6df-45c8-9382-0394d8266c41" - }, - "duration": 334461, - "start": 1691167594602382381 - }], + "duration": 1971125, + "start": 1776194890710265761 + }], [ { "name": "rq.queue.fetch_job", @@ -91,18 +42,72 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "d760d6ed93924e74accf1039b02d7a58" + "runtime-id": "6c650afbcd8845f9a2b7fe2358e34876" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55859 + "_sampling_priority_v1": 1.0, + "process_id": 62937.0 }, - "duration": 301563, - "start": 1691167594597898732 - }]] + "duration": 237000, + "start": 1776194890712571845 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "mysvc", + "resource": "__call__", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "component": "rq", + "job.id": "3cbeb43b-6751-49f7-bbe2-f659d903106a", + "job.origin": "q", + "job.status": "failed", + "language": "python", + "runtime-id": "6c650afbcd8845f9a2b7fe2358e34876", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62937.0 + }, + "duration": 2375792, + "start": 1776194890716269761 + }, + { + "name": "rq.job.perform", + "service": "mysvc", + "resource": "__call__", + "trace_id": 2, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.svc_src": "rq", + "component": "rq", + "error.message": "__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.type": "builtins.TypeError", + "job.id": "3cbeb43b-6751-49f7-bbe2-f659d903106a" + }, + "duration": 838791, + "start": 1776194890716600470 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5].json index 01729b29419..9ead15a26e9 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5].json @@ -10,24 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a8953f00000000", + "_dd.p.tid": "69de955600000000", "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "e83d5a91-40df-4c5e-80e9-03000ff88cf0", + "job.id": "4029cb17-4a32-458b-bbc3-7b3b8e9c5f2c", "language": "python", "queue.name": "q", - "runtime-id": "334dfb4ef2d0497d8b78d136f6e876cb", + "runtime-id": "1e00977e8da54fd4bd3de6ae4dda1b6c", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62241.0 + "process_id": 63087.0 }, - "duration": 9161042, - "start": 1772655935705197708 + "duration": 2074833, + "start": 1776194902907890420 }], [ { @@ -41,21 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a8953f00000000", + "_dd.p.tid": "69de955600000000", "_dd.svc_src": "rq", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "334dfb4ef2d0497d8b78d136f6e876cb" + "runtime-id": "1e00977e8da54fd4bd3de6ae4dda1b6c" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62241.0 + "process_id": 63087.0 }, - "duration": 469875, - "start": 1772655935718348292 + "duration": 227416, + "start": 1776194902910287670 }], [ { @@ -69,24 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a8953f00000000", + "_dd.p.tid": "69de955600000000", "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "e83d5a91-40df-4c5e-80e9-03000ff88cf0", + "job.id": "4029cb17-4a32-458b-bbc3-7b3b8e9c5f2c", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "334dfb4ef2d0497d8b78d136f6e876cb", + "runtime-id": "1e00977e8da54fd4bd3de6ae4dda1b6c", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62241.0 + "process_id": 63087.0 }, - "duration": 7738042, - "start": 1772655935727142750 + "duration": 2385084, + "start": 1776194902914343211 }, { "name": "rq.job.perform", @@ -101,10 +104,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq_click712/lib/python3.9/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "e83d5a91-40df-4c5e-80e9-03000ff88cf0" + "job.id": "4029cb17-4a32-458b-bbc3-7b3b8e9c5f2c" }, - "duration": 2420375, - "start": 1772655935728691417 + "duration": 758333, + "start": 1776194902914686420 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5]_pre_1_10_1.json index 13fe20376cd..ee62527667e 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5]_pre_1_10_1.json @@ -10,75 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954d00000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "10c7014d-1acb-445f-8399-7cc8e971e9d2", + "job.id": "35cf6a90-f323-4138-93df-4c19eb03e1a5", "language": "python", "queue.name": "q", - "runtime-id": "568fc201be764810bc4010a8474d55dc", + "runtime-id": "941beb2bd930445bb695d24dd9c3489a", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55865 + "_sampling_priority_v1": 1.0, + "process_id": 62979.0 }, - "duration": 2253809, - "start": 1691167595377034549 - }, - { - "name": "rq.worker.perform_job", - "service": "mysvc", - "resource": "__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 1, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "10c7014d-1acb-445f-8399-7cc8e971e9d2", - "job.origin": "q", - "job.status": "failed", - "language": "python", - "runtime-id": "568fc201be764810bc4010a8474d55dc", - "span.kind": "consumer", - "traceparent": "00-0000000000000000b420fc8ffae600db-3b40aa0ded0e62c9-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55865 - }, - "duration": 1715343, - "start": 1691167595393527289 - }, - { - "name": "rq.job.perform", - "service": "mysvc", - "resource": "__call__", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 1, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/rq/__init__.py\", line 215, in traced_job_perform\n return func(*args, **kwargs)\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", - "error.type": "builtins.TypeError", - "job.id": "10c7014d-1acb-445f-8399-7cc8e971e9d2" - }, - "duration": 342642, - "start": 1691167595393913513 - }], + "duration": 2182042, + "start": 1776194893096009054 + }], [ { "name": "rq.process", @@ -91,18 +42,72 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954d00000000", + "_dd.svc_src": "rq", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "568fc201be764810bc4010a8474d55dc" + "runtime-id": "941beb2bd930445bb695d24dd9c3489a" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55865 + "_sampling_priority_v1": 1.0, + "process_id": 62979.0 }, - "duration": 261632, - "start": 1691167595389320020 - }]] + "duration": 250291, + "start": 1776194893098560846 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "mysvc", + "resource": "__call__", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954d00000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "component": "rq", + "job.id": "35cf6a90-f323-4138-93df-4c19eb03e1a5", + "job.origin": "q", + "job.status": "failed", + "language": "python", + "runtime-id": "941beb2bd930445bb695d24dd9c3489a", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62979.0 + }, + "duration": 2872875, + "start": 1776194893102679346 + }, + { + "name": "rq.job.perform", + "service": "mysvc", + "resource": "__call__", + "trace_id": 2, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.svc_src": "rq", + "component": "rq", + "error.message": "__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.type": "builtins.TypeError", + "job.id": "35cf6a90-f323-4138-93df-4c19eb03e1a5" + }, + "duration": 934667, + "start": 1776194893103112512 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_queue_enqueue.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_queue_enqueue.json index 0c729fb5a9a..d6c9d3bdd08 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_queue_enqueue.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_queue_enqueue.json @@ -11,23 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69a8941700000000", + "_dd.p.tid": "69de954800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "b51a2910-e804-4ffb-9923-4f63cea7a2f3", + "job.id": "dd9fca7a-1112-44dd-95c3-296779948491", "language": "python", "queue.name": "sync-q", - "runtime-id": "b01a5dc0522c4709bdb2de4b72952a2a", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 58189.0 + "process_id": 62795.0 }, - "duration": 2444125, - "start": 1772655639356850335 + "duration": 1942042, + "start": 1776194888995639844 }, { "name": "rq.job.perform", @@ -42,8 +44,8 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "b51a2910-e804-4ffb-9923-4f63cea7a2f3" + "job.id": "dd9fca7a-1112-44dd-95c3-296779948491" }, - "duration": 279209, - "start": 1772655639358196293 + "duration": 193333, + "start": 1776194888996774719 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker.json index fef7f4c4523..c3310db6375 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker.json @@ -11,71 +11,74 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "30c861b5-640d-4d34-aed4-f4a5270723f1", + "job.id": "c4e8aca3-8f05-4c1b-aa99-402efba4d3d4", "language": "python", "queue.name": "q", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 }, - "duration": 830708, - "start": 1692649887569483383 + "duration": 1129500, + "start": 1776194888310105177 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "rq-worker", + "resource": "tests.contrib.rq.jobs.job_add1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.rq", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954800000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", + "component": "rq", + "job.id": "c4e8aca3-8f05-4c1b-aa99-402efba4d3d4", + "job.origin": "q", + "job.status": "finished", + "language": "python", + "runtime-id": "6a01082606b940feb84197d38404ca13", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 + }, + "duration": 2583333, + "start": 1776194888317616844 }, { - "name": "rq.worker.perform_job", + "name": "rq.job.perform", "service": "rq-worker", "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, + "trace_id": 1, "span_id": 2, "parent_id": 1, - "type": "worker", + "type": "", "error": 0, "meta": { "_dd.base_service": "tests.contrib.rq", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "30c861b5-640d-4d34-aed4-f4a5270723f1", - "job.origin": "q", - "job.status": "finished", - "language": "python", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", - "span.kind": "consumer", - "traceparent": "00-0000000000000000dfe7ed03d1f23df4-d773b116ed54102c-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "job.id": "c4e8aca3-8f05-4c1b-aa99-402efba4d3d4" }, - "duration": 1692083, - "start": 1692649887575252633 - }, - { - "name": "rq.job.perform", - "service": "rq-worker", - "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.rq", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "30c861b5-640d-4d34-aed4-f4a5270723f1" - }, - "duration": 178917, - "start": 1692649887575690758 - }]] + "duration": 365125, + "start": 1776194888318465302 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_config_service.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_config_service.json index bfbc6993f4e..f54c24b892e 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_config_service.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_config_service.json @@ -11,71 +11,74 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "97f1d8cc-a944-48c9-a71f-2f1f316d0a19", + "job.id": "a622bfe1-2807-41fb-9088-3d1591c59596", "language": "python", "queue.name": "q", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 }, - "duration": 2230500, - "start": 1692649888021325467 + "duration": 1140958, + "start": 1776194893388571096 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "my-worker-svc", + "resource": "tests.contrib.rq.jobs.job_add1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.rq", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", + "component": "rq", + "job.id": "a622bfe1-2807-41fb-9088-3d1591c59596", + "job.origin": "q", + "job.status": "finished", + "language": "python", + "runtime-id": "6a01082606b940feb84197d38404ca13", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 + }, + "duration": 1908083, + "start": 1776194893394278263 }, { - "name": "rq.worker.perform_job", + "name": "rq.job.perform", "service": "my-worker-svc", "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, + "trace_id": 1, "span_id": 2, "parent_id": 1, - "type": "worker", + "type": "", "error": 0, "meta": { "_dd.base_service": "tests.contrib.rq", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "97f1d8cc-a944-48c9-a71f-2f1f316d0a19", - "job.origin": "q", - "job.status": "finished", - "language": "python", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", - "span.kind": "consumer", - "traceparent": "00-0000000000000000c7e95eafa9909299-8b78ee45ba9b710e-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "job.id": "a622bfe1-2807-41fb-9088-3d1591c59596" }, - "duration": 3876000, - "start": 1692649888029838550 - }, - { - "name": "rq.job.perform", - "service": "my-worker-svc", - "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.rq", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "97f1d8cc-a944-48c9-a71f-2f1f316d0a19" - }, - "duration": 593958, - "start": 1692649888030888925 - }]] + "duration": 215292, + "start": 1776194893394848179 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_multiple_jobs.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_multiple_jobs.json index 77b8b32eb2b..37f932a5ae0 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_multiple_jobs.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_multiple_jobs.json @@ -11,24 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894dd00000000", + "_dd.p.tid": "69de954800000000", "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "9f987dd6-9964-45fe-9dc7-b6bad4db2bf1", + "job.id": "4630c81f-3fb5-44fc-a7b6-e71027479297", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "54faff9cbf934b8e8e7545a4ad9cbbff", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 61071.0 + "process_id": 62795.0 }, - "duration": 2146375, - "start": 1772655837653624427 + "duration": 2013125, + "start": 1776194888562515552 }, { "name": "rq.job.perform", @@ -41,11 +42,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.rq", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "9f987dd6-9964-45fe-9dc7-b6bad4db2bf1" + "job.id": "4630c81f-3fb5-44fc-a7b6-e71027479297" }, - "duration": 234875, - "start": 1772655837654271635 + "duration": 227667, + "start": 1776194888563080302 }], [ { @@ -60,24 +62,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894dd00000000", + "_dd.p.tid": "69de954800000000", "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "482de295-33bd-4765-ba2e-b9a33ddef0dd", + "job.id": "070244eb-8480-4430-98dc-3ed6acb87f08", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "54faff9cbf934b8e8e7545a4ad9cbbff", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 61071.0 + "process_id": 62795.0 }, - "duration": 2359875, - "start": 1772655837648020927 + "duration": 2339500, + "start": 1776194888557324052 }, { "name": "rq.job.perform", @@ -90,11 +93,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.rq", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "482de295-33bd-4765-ba2e-b9a33ddef0dd" + "job.id": "070244eb-8480-4430-98dc-3ed6acb87f08" }, - "duration": 281000, - "start": 1772655837648745552 + "duration": 258875, + "start": 1776194888557994302 }], [ { @@ -109,23 +113,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894dd00000000", + "_dd.p.tid": "69de954800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "d40e9068-6082-4ada-8e38-1270dc05d385", + "job.id": "49ff66f2-f873-4718-8d2a-7327a4cba2b8", "language": "python", "queue.name": "q", - "runtime-id": "54faff9cbf934b8e8e7545a4ad9cbbff", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 61071.0 + "process_id": 62795.0 }, - "duration": 1463416, - "start": 1772655837632297344 + "duration": 1545291, + "start": 1776194888540212844 }], [ { @@ -140,23 +146,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894dd00000000", + "_dd.p.tid": "69de954800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "482de295-33bd-4765-ba2e-b9a33ddef0dd", + "job.id": "070244eb-8480-4430-98dc-3ed6acb87f08", "language": "python", "queue.name": "q", - "runtime-id": "54faff9cbf934b8e8e7545a4ad9cbbff", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 61071.0 + "process_id": 62795.0 }, - "duration": 684708, - "start": 1772655837634179302 + "duration": 844459, + "start": 1776194888542125135 }], [ { @@ -171,23 +179,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894dd00000000", + "_dd.p.tid": "69de954800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "9f987dd6-9964-45fe-9dc7-b6bad4db2bf1", + "job.id": "4630c81f-3fb5-44fc-a7b6-e71027479297", "language": "python", "queue.name": "q", - "runtime-id": "54faff9cbf934b8e8e7545a4ad9cbbff", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 61071.0 + "process_id": 62795.0 }, - "duration": 633791, - "start": 1772655837635126969 + "duration": 891250, + "start": 1776194888543270635 }], [ { @@ -202,24 +212,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69a894dd00000000", + "_dd.p.tid": "69de954800000000", "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "d40e9068-6082-4ada-8e38-1270dc05d385", + "job.id": "49ff66f2-f873-4718-8d2a-7327a4cba2b8", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "54faff9cbf934b8e8e7545a4ad9cbbff", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 61071.0 + "process_id": 62795.0 }, - "duration": 3312959, - "start": 1772655837640537135 + "duration": 2804625, + "start": 1776194888550492052 }, { "name": "rq.job.perform", @@ -232,9 +243,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.rq", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "d40e9068-6082-4ada-8e38-1270dc05d385" + "job.id": "49ff66f2-f873-4718-8d2a-7327a4cba2b8" }, - "duration": 428750, - "start": 1772655837641410094 + "duration": 338125, + "start": 1776194888551315010 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_ttl.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_ttl.json index 0426fb379ac..61b8c8c6224 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_ttl.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_ttl.json @@ -11,71 +11,74 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "30c861b5-640d-4d34-aed4-f4a5270723f1", + "job.id": "886034e5-474f-4676-81b6-55ba7e264c46", "language": "python", "queue.name": "q", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 }, - "duration": 830708, - "start": 1692649887569483383 + "duration": 1146417, + "start": 1776194888768143760 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "rq-worker", + "resource": "tests.contrib.rq.jobs.job_add1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.rq", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954800000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", + "component": "rq", + "job.id": "886034e5-474f-4676-81b6-55ba7e264c46", + "job.origin": "q", + "job.status": "None", + "language": "python", + "runtime-id": "6a01082606b940feb84197d38404ca13", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 + }, + "duration": 2263584, + "start": 1776194888773019135 }, { - "name": "rq.worker.perform_job", + "name": "rq.job.perform", "service": "rq-worker", "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, + "trace_id": 1, "span_id": 2, "parent_id": 1, - "type": "worker", + "type": "", "error": 0, "meta": { "_dd.base_service": "tests.contrib.rq", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "30c861b5-640d-4d34-aed4-f4a5270723f1", - "job.origin": "q", - "job.status": "None", - "language": "python", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", - "span.kind": "consumer", - "traceparent": "00-0000000000000000dfe7ed03d1f23df4-d773b116ed54102c-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "job.id": "886034e5-474f-4676-81b6-55ba7e264c46" }, - "duration": 1692083, - "start": 1692649887575252633 - }, - { - "name": "rq.job.perform", - "service": "rq-worker", - "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.rq", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "30c861b5-640d-4d34-aed4-f4a5270723f1" - }, - "duration": 178917, - "start": 1692649887575690758 - }]] + "duration": 183750, + "start": 1776194888773556427 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_worker_class_job.json b/tests/snapshots/tests.contrib.rq.test_rq.test_worker_class_job.json index ca71d2b7755..fee553f826d 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_worker_class_job.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_worker_class_job.json @@ -1,8 +1,8 @@ [[ { - "name": "rq.queue.enqueue_job", - "service": "rq", - "resource": "tests.contrib.rq.jobs.JobClass.__call__", + "name": "rq.worker.perform_job", + "service": "rq-worker", + "resource": "__call__", "trace_id": 0, "span_id": 1, "parent_id": 0, @@ -11,74 +11,44 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954c00000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.func_name": "__call__", - "job.id": "163cbef5-7bef-4712-b7f6-3312801605ec", + "job.id": "8fe83c7d-115c-4927-9ddd-a89e61738f7c", + "job.origin": "q", + "job.status": "finished", "language": "python", - "queue.name": "q", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", - "span.kind": "producer" + "runtime-id": "6a01082606b940feb84197d38404ca13", + "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 }, - "duration": 1405875, - "start": 1692649889010972675 + "duration": 2432625, + "start": 1776194892178941970 }, { - "name": "rq.worker.perform_job", + "name": "rq.job.perform", "service": "rq-worker", "resource": "__call__", "trace_id": 0, "span_id": 2, "parent_id": 1, - "type": "worker", + "type": "", "error": 0, "meta": { "_dd.base_service": "tests.contrib.rq", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "163cbef5-7bef-4712-b7f6-3312801605ec", - "job.origin": "q", - "job.status": "finished", - "language": "python", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", - "span.kind": "consumer", - "traceparent": "00-0000000000000000ca8efbd373b000c4-8181c29a96439a08-01", - "tracestate": "dd=s:1;t.dm:-0" + "job.id": "8fe83c7d-115c-4927-9ddd-a89e61738f7c" }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 - }, - "duration": 3012167, - "start": 1692649889027591925 - }, - { - "name": "rq.job.perform", - "service": "rq-worker", - "resource": "__call__", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.rq", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "163cbef5-7bef-4712-b7f6-3312801605ec" - }, - "duration": 375042, - "start": 1692649889028484842 - }], + "duration": 227500, + "start": 1776194892179687137 + }], [ { "name": "rq.queue.enqueue_job", @@ -92,71 +62,107 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de954c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "job_on_class", - "job.id": "b46b05f7-e418-4cb7-afa8-de25d42ba0bb", + "job.id": "8a2dd6d3-ff6e-41c5-99db-a40fcd7b23c1", + "language": "python", + "queue.name": "q", + "runtime-id": "6a01082606b940feb84197d38404ca13", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 + }, + "duration": 2165125, + "start": 1776194892162812012 + }], +[ + { + "name": "rq.queue.enqueue_job", + "service": "rq", + "resource": "tests.contrib.rq.jobs.JobClass.__call__", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.rq", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", + "component": "rq", + "job.func_name": "__call__", + "job.id": "8fe83c7d-115c-4927-9ddd-a89e61738f7c", "language": "python", "queue.name": "q", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 + }, + "duration": 952166, + "start": 1776194892165519054 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "rq-worker", + "resource": "job_on_class", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.rq", + "_dd.p.dm": "-0", + "_dd.p.tid": "69de954c00000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", + "component": "rq", + "job.id": "8a2dd6d3-ff6e-41c5-99db-a40fcd7b23c1", + "job.origin": "q", + "job.status": "finished", + "language": "python", + "runtime-id": "6a01082606b940feb84197d38404ca13", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "_sampling_priority_v1": 1.0, + "process_id": 62795.0 }, - "duration": 2605917, - "start": 1692649889007909925 + "duration": 2653916, + "start": 1776194892171504304 }, { - "name": "rq.worker.perform_job", + "name": "rq.job.perform", "service": "rq-worker", "resource": "job_on_class", - "trace_id": 1, + "trace_id": 3, "span_id": 2, "parent_id": 1, - "type": "worker", + "type": "", "error": 0, "meta": { "_dd.base_service": "tests.contrib.rq", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "rq", "component": "rq", - "job.id": "b46b05f7-e418-4cb7-afa8-de25d42ba0bb", - "job.origin": "q", - "job.status": "finished", - "language": "python", - "runtime-id": "696c3bcd1bb346e982f3c710445cbea1", - "span.kind": "consumer", - "traceparent": "00-00000000000000009afba59f8340c843-59d5d6268d89e44d-01", - "tracestate": "dd=s:1;t.dm:-0" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2601 + "job.id": "8a2dd6d3-ff6e-41c5-99db-a40fcd7b23c1" }, - "duration": 3630417, - "start": 1692649889018475342 - }, - { - "name": "rq.job.perform", - "service": "rq-worker", - "resource": "job_on_class", - "trace_id": 1, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.rq", - "_dd.p.tid": "654a694400000000", - "component": "rq", - "job.id": "b46b05f7-e418-4cb7-afa8-de25d42ba0bb" - }, - "duration": 363917, - "start": 1692649889019516300 - }]] + "duration": 338042, + "start": 1776194892172249845 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_worker_failing_job.json b/tests/snapshots/tests.contrib.rq.test_rq.test_worker_failing_job.json index 74348dfecde..70d70113d52 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_worker_failing_job.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_worker_failing_job.json @@ -11,73 +11,23 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "699da49e00000000", + "_dd.p.tid": "69de954800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_fail", - "job.id": "f7405633-a123-4e12-a1c7-c1aef54ce86f", + "job.id": "b65d1144-bc68-45d8-9460-69f3bb617f1c", "language": "python", "queue.name": "q", - "runtime-id": "6059835bc1f74468afbcbe00fcf4231f", + "runtime-id": "6a01082606b940feb84197d38404ca13", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 94756.0 + "process_id": 62795.0 }, - "duration": 1275083, - "start": 1771938974742595924 - }], -[ - { - "name": "rq.worker.perform_job", - "service": "rq-worker", - "resource": "tests.contrib.rq.jobs.job_fail", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 1, - "meta": { - "_dd.base_service": "tests.contrib.rq", - "_dd.p.dm": "-0", - "_dd.p.tid": "699da49e00000000", - "_dd.svc_src": "rq_worker", - "component": "rq", - "job.id": "f7405633-a123-4e12-a1c7-c1aef54ce86f", - "job.origin": "q", - "job.status": "failed", - "language": "python", - "runtime-id": "6059835bc1f74468afbcbe00fcf4231f", - "span.kind": "consumer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 94756.0 - }, - "duration": 6185042, - "start": 1771938974749957340 - }, - { - "name": "rq.job.perform", - "service": "rq-worker", - "resource": "tests.contrib.rq.jobs.job_fail", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 1, - "meta": { - "_dd.base_service": "tests.contrib.rq", - "component": "rq", - "error.message": "error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31211_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", - "error.type": "tests.contrib.rq.jobs.MyException", - "job.id": "f7405633-a123-4e12-a1c7-c1aef54ce86f" - }, - "duration": 958583, - "start": 1771938974750951674 - }]] + "duration": 1249416, + "start": 1776194888091495052 + }]] From d4588456b3f62fe0229b20d73b7888198bda4321 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 12:33:07 -0700 Subject: [PATCH 029/114] update snapshots: valkey, kombu --- ....test.test_data_streams_kombu_enabled.json | 30 ++++---- ....test_valkey.test_analytics_with_rate.json | 37 --------- ...st_valkey.test_analytics_without_rate.json | 37 --------- ...ontrib.valkey.test_valkey.test_basics.json | 31 ++++---- ...ey.test_valkey.test_custom_cmd_length.json | 31 ++++---- ...est_valkey.test_custom_cmd_length_env.json | 31 ++++---- ...est_env_user_specified_valkey_service.json | 68 +++++------------ ....test_full_command_in_resource_config.json | 65 +++++----------- ...key.test_full_command_in_resource_env.json | 65 +++++----------- ....valkey.test_valkey.test_long_command.json | 31 ++++---- ...valkey.test_valkey.test_meta_override.json | 31 ++++---- ...b.valkey.test_valkey.test_opentracing.json | 56 -------------- ...y.test_valkey.test_pipeline_immediate.json | 65 +++++----------- ...lkey.test_valkey.test_pipeline_traced.json | 29 ++++--- ...y.test_valkey.test_service_precedence.json | 31 ++++---- ...ntrib.valkey.test_valkey.test_unicode.json | 31 ++++---- ...st_valkey.test_user_specified_service.json | 31 ++++---- ...est_valkey_asyncio.test_basic_request.json | 26 ++++--- ....test_valkey_asyncio.test_client_name.json | 34 +++++---- ..._valkey_asyncio.test_connection_error.json | 28 +++---- ...y_asyncio.test_decoding_non_utf8_args.json | 50 ++++++------ ....test_decoding_non_utf8_pipeline_args.json | 24 +++--- ...test_valkey_asyncio.test_long_command.json | 26 ++++--- ...ey_asyncio.test_override_service_name.json | 76 ++++++++++--------- ...ey.test_valkey_asyncio.test_parenting.json | 50 ++++++------ ...b.valkey.test_valkey_asyncio.test_pin.json | 37 --------- ...t_valkey_asyncio.test_pipeline_traced.json | 24 +++--- ...ne_traced_context_manager_transaction.json | 24 +++--- ...key_asyncio.test_two_traced_pipelines.json | 48 ++++++------ ...t_valkey_asyncio.test_unicode_request.json | 26 ++++--- 30 files changed, 482 insertions(+), 691 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.valkey.test_valkey.test_analytics_with_rate.json delete mode 100644 tests/snapshots/tests.contrib.valkey.test_valkey.test_analytics_without_rate.json delete mode 100644 tests/snapshots/tests.contrib.valkey.test_valkey.test_opentracing.json delete mode 100644 tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pin.json diff --git a/tests/snapshots/tests.contrib.kombu.test.test_data_streams_kombu_enabled.json b/tests/snapshots/tests.contrib.kombu.test.test_data_streams_kombu_enabled.json index c1962d0a195..1e21df66913 100644 --- a/tests/snapshots/tests.contrib.kombu.test.test_data_streams_kombu_enabled.json +++ b/tests/snapshots/tests.contrib.kombu.test.test_data_streams_kombu_enabled.json @@ -10,15 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "697bad5100000000", + "_dd.p.tid": "69de95c800000000", + "_dd.svc_src": "kombu", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz_k6oz2q,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kombu", "kombu.exchange": "dsm_test_exchange", "kombu.routing_key": "dsm_test", "language": "python", "out.host": "127.0.0.1", "out.vhost": "/", - "pathway.hash": "14241834167477407193", - "runtime-id": "aea8d840512c49d785fe2848c222fc76", + "pathway.hash": "13618132776631307998", + "runtime-id": "0ddc9d942ad94907bf6d9b6630ae462e", "span.kind": "producer" }, "metrics": { @@ -28,10 +30,10 @@ "_sampling_priority_v1": 1.0, "kombu.body_length": 16.0, "network.destination.port": 5672.0, - "process_id": 45049.0 + "process_id": 64679.0 }, - "duration": 3139000, - "start": 1769712977201497000 + "duration": 4512417, + "start": 1776195016238933833 }, { "name": "kombu.receive", @@ -44,17 +46,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "697bad5100000000", + "_dd.p.tid": "69de95c800000000", + "_dd.svc_src": "kombu", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz_k6oz2q,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kombu", "kombu.exchange": "dsm_test_exchange", "kombu.routing_key": "dsm_test", "language": "python", "out.host": "127.0.0.1", "out.vhost": "/", - "pathway.hash": "10302394269421895618", - "runtime-id": "aea8d840512c49d785fe2848c222fc76", + "pathway.hash": "5087588053493223456", + "runtime-id": "0ddc9d942ad94907bf6d9b6630ae462e", "span.kind": "consumer", - "tracestate": "dd=p:e89d9c8a1f58ba15;s:1;t.dm:-0;t.tid:697bad5100000000" + "tracestate": "dd=p:cf4503e4ddc61d2b;s:1;t.dm:-0;t.tid:69de95c800000000" }, "metrics": { "_dd.measured": 1.0, @@ -62,8 +66,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5672.0, - "process_id": 45049.0 + "process_id": 64679.0 }, - "duration": 91000, - "start": 1769712977206529000 + "duration": 178125, + "start": 1776195016245056000 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_analytics_with_rate.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_analytics_with_rate.json deleted file mode 100644 index fe15bf01d63..00000000000 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_analytics_with_rate.json +++ /dev/null @@ -1,37 +0,0 @@ -[[ - { - "name": "valkey.command", - "service": "valkey", - "resource": "GET", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "valkey", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.valkey", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "valkey", - "db.system": "valkey", - "language": "python", - "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", - "server.address": "localhost", - "span.kind": "client", - "valkey.raw_command": "GET cheese" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 - }, - "duration": 516916, - "start": 1692651820581556875 - }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_analytics_without_rate.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_analytics_without_rate.json deleted file mode 100644 index fa8cee04c6e..00000000000 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_analytics_without_rate.json +++ /dev/null @@ -1,37 +0,0 @@ -[[ - { - "name": "valkey.command", - "service": "valkey", - "resource": "GET", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "valkey", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.valkey", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "valkey", - "db.system": "valkey", - "language": "python", - "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", - "server.address": "localhost", - "span.kind": "client", - "valkey.raw_command": "GET cheese" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 - }, - "duration": 340708, - "start": 1692651820591814875 - }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json index e6da74211bb..3b1600b412d 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json @@ -7,31 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66061.0, + "valkey.args_length": 2.0 }, - "duration": 335292, - "start": 1692651820600962708 + "duration": 452333, + "start": 1776195083277965003 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json index 5614e912961..79da2a74e17 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json @@ -7,31 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET here..." }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66061.0, + "valkey.args_length": 2.0 }, - "duration": 326167, - "start": 1692651820609597416 + "duration": 461125, + "start": 1776195082603343211 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json index 75f058f3700..79b47710a76 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json @@ -7,31 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "ea409d0295db44adbf88dda3e4806547", + "runtime-id": "3fbbfbe7b23249c4a27fdbe2d0cb01fb", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET here-is..." }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 20043, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66169.0, + "valkey.args_length": 2.0 }, - "duration": 404084, - "start": 1692651821117540958 + "duration": 1661041, + "start": 1776195086464071755 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json index f4b7d26f3a6..37357fd599a 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json @@ -7,68 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "e263ff9ad1cd43099216a11ca5e19377", + "runtime-id": "f0f74bf2667d4c419a4492cd34f3f77c", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 20046, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66136.0, + "valkey.args_length": 2.0 }, - "duration": 501125, - "start": 1692651821692035875 - }], -[ - { - "name": "valkey.command", - "service": "cfg-valkey", - "resource": "GET", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "valkey", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "valkey", - "db.system": "valkey", - "language": "python", - "out.host": "localhost", - "runtime-id": "e263ff9ad1cd43099216a11ca5e19377", - "server.address": "localhost", - "span.kind": "client", - "valkey.raw_command": "GET cheese" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 20046, - "valkey.args_length": 2 - }, - "duration": 329333, - "start": 1692651821722196292 + "duration": 1642458, + "start": 1776195085284077671 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json index c447412ee09..11b46d1d95c 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json @@ -7,65 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", + "_dd.p.tid": "69de960c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "3a1f7ba9b1ab42f4858e5effd03877ef", + "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET put_key_in_resource" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 65639, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66061.0, + "valkey.args_length": 2.0 }, - "duration": 2978000, - "start": 1698858795260743000 - }], -[ - { - "name": "valkey.command", - "service": "valkey", - "resource": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "valkey", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.valkey", - "_dd.p.dm": "-0", - "component": "valkey", - "db.system": "valkey", - "language": "python", - "out.host": "localhost", - "runtime-id": "3a1f7ba9b1ab42f4858e5effd03877ef", - "server.address": "localhost", - "span.kind": "client", - "valkey.raw_command": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 65639, - "valkey.pipeline_length": 2 - }, - "duration": 1408000, - "start": 1698858795278553000 + "duration": 577333, + "start": 1776195084607403212 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json index f7f89e8565a..0e7caacf7fe 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json @@ -7,65 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", + "_dd.p.tid": "69de960d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "451464ac55804a488cf355b1d96c7002", + "runtime-id": "f76cbf4a1eef43e5ad91c1d4db37cbe4", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET put_key_in_resource" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 65646, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66147.0, + "valkey.args_length": 2.0 }, - "duration": 3112000, - "start": 1698858796156355000 - }], -[ - { - "name": "valkey.command", - "service": "valkey", - "resource": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "valkey", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.dm": "-0", - "component": "valkey", - "db.system": "valkey", - "language": "python", - "out.host": "localhost", - "runtime-id": "451464ac55804a488cf355b1d96c7002", - "server.address": "localhost", - "span.kind": "client", - "valkey.raw_command": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 65646, - "valkey.pipeline_length": 2 - }, - "duration": 1246000, - "start": 1698858796167913000 + "duration": 1522833, + "start": 1776195085678212796 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json index 15378c706ba..f339b82617f 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json @@ -7,31 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "MGET 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 36..." }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 1001 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66061.0, + "valkey.args_length": 1001.0 }, - "duration": 3428042, - "start": 1692651821775339875 + "duration": 740958, + "start": 1776195082249659586 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json index fd5b4f70aff..5dce4cf8e11 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json @@ -7,31 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66061.0, + "valkey.args_length": 2.0 }, - "duration": 474500, - "start": 1692651821790889125 + "duration": 1686208, + "start": 1776195081602519919 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_opentracing.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_opentracing.json deleted file mode 100644 index 749bd3d3307..00000000000 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_opentracing.json +++ /dev/null @@ -1,56 +0,0 @@ -[[ - { - "name": "valkey_get", - "service": "valkey_svc", - "resource": "valkey_get", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.valkey", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "language": "python", - "runtime-id": "3cf1df7fb079462ab81608355e026651" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19999 - }, - "duration": 534179, - "start": 1692651821803009280 - }, - { - "name": "valkey.command", - "service": "valkey", - "resource": "GET", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "valkey", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.valkey", - "_dd.p.tid": "654a694400000000", - "component": "valkey", - "db.system": "valkey", - "out.host": "localhost", - "server.address": "localhost", - "span.kind": "client", - "valkey.raw_command": "GET cheese" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "valkey.args_length": 2 - }, - "duration": 358500, - "start": 1692651821803151542 - }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json index 5559b6a5959..13260c1a187 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json @@ -7,66 +7,35 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 1356, in immediate_execute_command\n conn = self.connection_pool.get_connection(command_name, self.shard_hint)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "SET a 1" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 3 + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66061.0, + "valkey.args_length": 3.0 }, - "duration": 343500, - "start": 1692651821823333917 - }], -[ - { - "name": "valkey.command", - "service": "valkey", - "resource": "SET", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "valkey", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.valkey", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "valkey", - "db.system": "valkey", - "language": "python", - "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", - "server.address": "localhost", - "span.kind": "client", - "valkey.raw_command": "SET a 1" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.pipeline_length": 1 - }, - "duration": 158750, - "start": 1692651821823756750 + "duration": 556042, + "start": 1776195083935688753 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json index c5e90a181b3..7582d6bb2f9 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json @@ -7,30 +7,35 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 80, in _instrument_valkey_execute_pipeline\n yield span\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 203, in _instrumented_execute_pipeline\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 1541, in execute\n conn = self.connection_pool.get_connection(\"MULTI\", self.shard_hint)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "SET blah 32\nRPUSH foo \u00e9\u00e9\nHGETALL xxx" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.pipeline_length": 3 + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66061.0, + "valkey.pipeline_length": 3.0 }, - "duration": 589917, - "start": 1692651821833429417 + "duration": 499583, + "start": 1776195081980005086 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json index 27979635427..f5a9890f82b 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json @@ -7,31 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "app-svc", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "0f782133fa34462daf85cad95bb55fd2", + "runtime-id": "c8a4b364eb6748d9af431b74a3dca537", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 20052, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66158.0, + "valkey.args_length": 2.0 }, - "duration": 423750, - "start": 1692651822324419751 + "duration": 1600458, + "start": 1776195086072805546 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json index 09f6f46fd3d..e05a345baa0 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json @@ -7,31 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET \ud83d\ude10" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66061.0, + "valkey.args_length": 2.0 }, - "duration": 512083, - "start": 1692651822408832834 + "duration": 585542, + "start": 1776195082933734003 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json index 7a91612554e..8cabed4bcb5 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json @@ -7,31 +7,36 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 0, + "error": 1, "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de960c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "valkey", "db.system": "valkey", + "error.message": "Error 111 connecting to localhost:6379. Connection refused.", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", + "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "9d4dd102c4394715976611e15b961233", + "runtime-id": "4b2379d330b848e084a6e0a6a678a56b", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 20056, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 66118.0, + "valkey.args_length": 2.0 }, - "duration": 439500, - "start": 1692651822941153668 + "duration": 1619667, + "start": 1776195084552240962 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json index 70b0e166d97..6860a8383d7 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json @@ -11,27 +11,29 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET cheese" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.args_length": 2.0 }, - "duration": 595750, - "start": 1692651823036625793 + "duration": 358875, + "start": 1776195039114901136 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json index 4f7b2688d76..3e4b124945a 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "language": "python", - "runtime-id": "3cf1df7fb079462ab81608355e026651" + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19999 + "_sampling_priority_v1": 1.0, + "process_id": 65440.0 }, - "duration": 828125, - "start": 1692651823188535376 + "duration": 1063208, + "start": 1776195039218629969 }, { "name": "valkey.command", @@ -35,7 +37,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -45,13 +47,13 @@ "valkey.raw_command": "GET blah" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "valkey.args_length": 2 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "valkey.args_length": 2.0 }, - "duration": 541041, - "start": 1692651823188798168 + "duration": 668208, + "start": 1776195039218985719 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json index 64609dd8614..df7b0d16df9 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json @@ -11,30 +11,32 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "error.message": "whatever", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/trace_utils_valkey.py\", line 117, in _trace_valkey_cmd\n yield span\n File \"/root/project/ddtrace/contrib/valkey/asyncio_patch.py\", line 22, in traced_async_execute_command\n return await _run_valkey_command_async(span=span, func=func, args=args, kwargs=kwargs)\n File \"/root/project/ddtrace/contrib/valkey/asyncio_patch.py\", line 41, in _run_valkey_command_async\n result = await func(*args, **kwargs)\n File \"/root/project/.riot/venv_py31011_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_valkey~41/lib/python3.10/site-packages/valkey/asyncio/client.py\", line 509, in execute_command\n conn = self.connection or await pool.get_connection(command_name, **options)\n File \"/root/.pyenv/versions/3.10.11/lib/python3.10/unittest/mock.py\", line 2234, in _execute_mock_call\n raise effect\nvalkey.exceptions.ConnectionError: whatever\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/asyncio_patch.py\", line 16, in instrumented_async_execute_command\n return await _run_valkey_command_async(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey_utils.py\", line 72, in _run_valkey_command_async\n result = await func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/asyncio/client.py\", line 628, in execute_command\n conn = self.connection or await pool.get_connection(command_name, **options)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 2153, in _execute_mock_call\n raise effect\nvalkey.exceptions.ConnectionError: whatever\n", "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "dc59875580884b52bebd2f9c402238f8", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET foo" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 2340, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.args_length": 2.0 }, - "duration": 935417, - "start": 1695409673533997174 + "duration": 337250, + "start": 1776195039266724969 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json index 649d89db933..c0585e19529 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json @@ -11,28 +11,30 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET \\x80foo \\x80abc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 3 + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.args_length": 3.0 }, - "duration": 512917, - "start": 1692651823066497751 + "duration": 239416, + "start": 1776195039252504386 }], [ { @@ -47,27 +49,29 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET \\x80foo" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.args_length": 2.0 }, - "duration": 330333, - "start": 1692651823067101001 + "duration": 289292, + "start": 1776195039252932719 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json index c22d2347b5e..f36d53e1ad2 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET \\x80blah boo\nSET foo \\x80abc\nGET \\x80blah\nGET foo" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.pipeline_length": 4 + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.pipeline_length": 4.0 }, - "duration": 404709, - "start": 1692651823079707584 + "duration": 460958, + "start": 1776195039157045261 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json index 9f4e40ffd1b..5f89118b9ac 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json @@ -11,27 +11,29 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "MGET 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 36..." }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 1001 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.args_length": 1001.0 }, - "duration": 5689625, - "start": 1692651823091333793 + "duration": 6364542, + "start": 1776195039171074219 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json index f3d0bce583a..205644e02d5 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json @@ -11,29 +11,31 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET cheese" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.args_length": 2.0 }, - "duration": 297666, - "start": 1692651823109161293 + "duration": 310125, + "start": 1776195039233367052 }], [ { @@ -48,28 +50,30 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET cheese my-cheese" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 3 + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.args_length": 3.0 }, - "duration": 230084, - "start": 1692651823109550709 + "duration": 290958, + "start": 1776195039233951594 }], [ { @@ -84,27 +88,29 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET cheese" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.args_length": 2.0 }, - "duration": 160875, - "start": 1692651823109840043 + "duration": 312625, + "start": 1776195039234416261 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json index c9a38d7fa31..f46a998d4f0 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "language": "python", - "runtime-id": "3cf1df7fb079462ab81608355e026651" + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19999 + "_sampling_priority_v1": 1.0, + "process_id": 65440.0 }, - "duration": 953000, - "start": 1692651823176740209 + "duration": 1165375, + "start": 1776195039143912427 }, { "name": "valkey.command", @@ -35,7 +37,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -44,14 +46,14 @@ "valkey.raw_command": "SET blah boo" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "valkey.args_length": 3 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "valkey.args_length": 3.0 }, - "duration": 270791, - "start": 1692651823176857918 + "duration": 541417, + "start": 1776195039144112969 }, { "name": "valkey.command", @@ -64,7 +66,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -73,13 +75,13 @@ "valkey.raw_command": "GET blah" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "db.row_count": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "valkey.args_length": 2 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "db.row_count": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "valkey.args_length": 2.0 }, - "duration": 499000, - "start": 1692651823177170168 + "duration": 247083, + "start": 1776195039144802844 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pin.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pin.json deleted file mode 100644 index 91c995cc259..00000000000 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pin.json +++ /dev/null @@ -1,37 +0,0 @@ -[[ - { - "name": "valkey.command", - "service": "my-valkey", - "resource": "GET", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "valkey", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.valkey", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "valkey", - "db.system": "valkey", - "language": "python", - "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", - "server.address": "127.0.0.1", - "span.kind": "client", - "valkey.raw_command": "GET cheese" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 - }, - "duration": 327417, - "start": 1692651823121474251 - }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json index e267216e24f..34d580fdf1b 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET blah boo\nSET foo bar\nGET blah\nGET foo" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.pipeline_length": 4 + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.pipeline_length": 4.0 }, - "duration": 384125, - "start": 1692651823134602834 + "duration": 302041, + "start": 1776195039205947386 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json index 72633ef5e16..d6f5a91b25a 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET blah boo\nSET foo bar\nGET blah\nGET foo" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.pipeline_length": 4 + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.pipeline_length": 4.0 }, - "duration": 507125, - "start": 1692651823152247501 + "duration": 611958, + "start": 1776195039101213511 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json index 60ff68c9b1b..e59074fb966 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json @@ -11,18 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "language": "python", - "runtime-id": "3cf1df7fb079462ab81608355e026651" + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19999 + "_sampling_priority_v1": 1.0, + "process_id": 65440.0 }, - "duration": 940000, - "start": 1692651823164019209 + "duration": 1162417, + "start": 1776195039192814594 }, { "name": "valkey.command", @@ -35,7 +37,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -44,14 +46,14 @@ "valkey.raw_command": "SET blah boo\nGET blah" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "valkey.pipeline_length": 2 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "valkey.pipeline_length": 2.0 }, - "duration": 352833, - "start": 1692651823164207293 + "duration": 363667, + "start": 1776195039193195594 }, { "name": "valkey.command", @@ -64,7 +66,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -73,12 +75,12 @@ "valkey.raw_command": "SET foo bar\nGET foo" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "network.destination.port": 6379, - "out.valkey_db": 0, - "valkey.pipeline_length": 2 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "valkey.pipeline_length": 2.0 }, - "duration": 310042, - "start": 1692651823164624126 + "duration": 291584, + "start": 1776195039193643927 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json index c6db207fd51..45813dbc767 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json @@ -11,27 +11,29 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de95df00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3cf1df7fb079462ab81608355e026651", + "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET \ud83d\ude10" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "network.destination.port": 6379, - "out.valkey_db": 0, - "process_id": 19999, - "valkey.args_length": 2 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 65440.0, + "valkey.args_length": 2.0 }, - "duration": 300041, - "start": 1692651823049427543 + "duration": 417167, + "start": 1776195039279571052 }]] From fdf57c739100490d410099c7950a4f8c6ad5887b Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 12:34:48 -0700 Subject: [PATCH 030/114] update snapshots: pyramid --- ...amid.test_simple_pyramid_app_endpoint.json | 34 ------------------- ...b_pyramid_pserve_app_development.ini].json | 20 ++++++----- ...hon_tests_contrib_pyramid_app_app.py].json | 20 ++++++----- 3 files changed, 22 insertions(+), 52 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint.json diff --git a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint.json b/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint.json deleted file mode 100644 index c887d653f41..00000000000 --- a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint.json +++ /dev/null @@ -1,34 +0,0 @@ -[[ - { - "name": "pyramid.request", - "service": "pyramid", - "resource": "GET hello", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "pyramid", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "http://localhost:8000/", - "http.useragent": "python-requests/2.28.1", - "language": "python", - "pyramid.route.name": "hello", - "runtime-id": "af71bf0b951244fba40d444b10b2e462", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 98244 - }, - "duration": 178000, - "start": 1635361523989149000 - }]] diff --git a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_pserve_tests_contrib_pyramid_pserve_app_development.ini].json b/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_pserve_tests_contrib_pyramid_pserve_app_development.ini].json index 12c5af1dfbe..2db97e51f66 100644 --- a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_pserve_tests_contrib_pyramid_pserve_app_development.ini].json +++ b/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_pserve_tests_contrib_pyramid_pserve_app_development.ini].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "sample_app", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de96c500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pserve,entrypoint.type:script,entrypoint.workdir:project,svc.auto:sample_app", "component": "pyramid", "http.method": "GET", "http.route": "/", "http.status_code": "200", "http.url": "http://localhost:8000/", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.32.3", "language": "python", "pyramid.route.name": "hello", - "runtime-id": "557455e0f3da43d395a65ac1229c433c", + "runtime-id": "6e5272a5dcda494b9a1239c3ffb32301", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 80708 + "_sampling_priority_v1": 1.0, + "process_id": 70367.0 }, - "duration": 108208, - "start": 1692712502994791256 + "duration": 88583, + "start": 1776195269823462381 }]] diff --git a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_python_tests_contrib_pyramid_app_app.py].json b/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_python_tests_contrib_pyramid_app_app.py].json index eec596f3daa..b225b537a37 100644 --- a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_python_tests_contrib_pyramid_app_app.py].json +++ b/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_python_tests_contrib_pyramid_app_app.py].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "sample_app", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de96c500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:sample_app,entrypoint.name:app,entrypoint.type:script,entrypoint.workdir:project,svc.auto:sample_app", "component": "pyramid", "http.method": "GET", "http.route": "/", "http.status_code": "200", "http.url": "http://localhost:8000/", - "http.useragent": "python-requests/2.28.2", + "http.useragent": "python-requests/2.32.3", "language": "python", "pyramid.route.name": "hello", - "runtime-id": "d9908345d0c648618fd57ba4d5ed5f65", + "runtime-id": "d90531d3707f46a09d5b4bb04c81db83", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 80715 + "_sampling_priority_v1": 1.0, + "process_id": 70354.0 }, - "duration": 170750, - "start": 1692712509142352342 + "duration": 168833, + "start": 1776195269181086464 }]] From 1e0c6f244d804380cf3555603aa0a228de2a7ba7 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 13:15:19 -0700 Subject: [PATCH 031/114] update snapshots: opentelemetry, wsgi, graphql, graphene, aiomysql, dramatiq --- ...l.test_aiomysql.test_async_with_usage.json | 36 ----- ...b.aiomysql.test_aiomysql.test_queries.json | 50 ++++--- ...omysql.test_schematized_span_name[v0].json | 24 +-- ...omysql.test_schematized_span_name[v1].json | 24 +-- ..._aiomysql.test_unspecified_service_v1.json | 24 +-- ...omysql.test_user_specified_service_v0.json | 24 +-- ...omysql.test_user_specified_service_v1.json | 24 +-- ...egration.test_fn_exception_no_retries.json | 16 +- ...t_integration.test_fn_retry_exception.json | 16 +- ...iq.test_integration.test_fn_task_send.json | 32 ++-- ...gration.test_fn_task_send_with_params.json | 32 ++-- ...est_integration.test_idempotent_patch.json | 32 ++-- ....test_integration.test_send_exception.json | 18 ++- ...ene.test_graphene.test_schema_execute.json | 38 ++--- ...ne.test_schema_execute_with_resolvers.json | 62 ++++---- ..._graphene.test_schema_failing_execute.json | 50 ++++--- ...aphene.test_schema_failing_extensions.json | 43 +++--- ...rib.graphql.test_graphql.test_graphql.json | 38 ++--- ...aphql.test_graphql.test_graphql_error.json | 32 ++-- ....test_graphql_execute_with_middleware.json | 68 ++++----- ...raphql.test_graphql.test_graphql_fail.json | 138 ------------------ ...ql.test_graphql.test_graphql_fail_2.x.json | 66 +++++---- ...raphql_with_document_with_no_location.json | 34 +++-- ...hql.test_graphql_with_traced_resolver.json | 44 +++--- ...l.test_span_schematization[None-None].json | 38 ++--- ...hql.test_span_schematization[None-v0].json | 38 ++--- ...hql.test_span_schematization[None-v1].json | 38 ++--- ..._span_schematization[my-service-None].json | 38 ++--- ...st_span_schematization[my-service-v0].json | 38 ++--- ...st_span_schematization[my-service-v1].json | 38 ++--- ...tests.contrib.wsgi.test_wsgi.test_200.json | 25 ++-- ...s.contrib.wsgi.test_wsgi.test_500_py3.json | 20 +-- ...i.test_base_exception_in_wsgi_app_py3.json | 20 +-- ...s.contrib.wsgi.test_wsgi.test_chunked.json | 25 ++-- ..._wsgi.test_distributed_tracing_nested.json | 41 +++--- ....test_generator_exit_ignored_snapshot.json | 25 ++-- ...t_wsgi.test_schematization[None-None].json | 25 ++-- ...est_wsgi.test_schematization[None-v0].json | 25 ++-- ...est_wsgi.test_schematization[None-v1].json | 25 ++-- ..._wsgi.test_schematization[mysvc-None].json | 34 +++-- ...st_wsgi.test_schematization[mysvc-v0].json | 34 +++-- ...st_wsgi.test_schematization[mysvc-v1].json | 34 +++-- ...i.test_stop_iteration_in_wsgi_app_py3.json | 25 ++-- ...i.test_wsgi.test_wsgi_base_middleware.json | 21 +-- ...st_wsgi.test_wsgi_base_middleware_500.json | 20 +-- ...start_as_current_span_decorator_async.json | 29 ++++ ...sk_app[with_opentelemetry_instrument].json | 80 ++++++++++ 47 files changed, 879 insertions(+), 822 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_async_with_usage.json delete mode 100644 tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail.json create mode 100644 tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json create mode 100644 tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json diff --git a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_async_with_usage.json b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_async_with_usage.json deleted file mode 100644 index f37daf4613e..00000000000 --- a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_async_with_usage.json +++ /dev/null @@ -1,36 +0,0 @@ -[[ - { - "name": "mysql.query", - "service": "", - "resource": "SELECT 1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "sql", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "aiomysql", - "db.name": "test", - "db.system": "mysql", - "db.user": "test", - "language": "python", - "out.host": "127.0.0.1", - "runtime-id": "f09816a4d96c4c51abaf8769c10b0a7a", - "server.address": "127.0.0.1", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "db.rownumber": 0, - "network.destination.port": 3306, - "process_id": 89502 - }, - "duration": 1370000, - "start": 1656453688953207000 - }]] diff --git a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_queries.json b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_queries.json index 595dabed064..512f22a9133 100644 --- a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_queries.json +++ b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_queries.json @@ -11,29 +11,31 @@ "meta": { "_dd.base_service": "tests.contrib.aiomysql", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9d3400000000", + "_dd.svc_src": "aiomysql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiomysql", "component": "aiomysql", "db.name": "test", "db.system": "mysql", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "5fd399879b2c43628ee3ab3b6470b8b7", + "runtime-id": "e9c27f9edafe48a09b7a0d73d6993f15", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "db.rownumber": 0, - "network.destination.port": 3306, - "process_id": 51883 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "db.rownumber": 0.0, + "network.destination.port": 3306.0, + "process_id": 71795.0 }, - "duration": 6833000, - "start": 1667240729105451000 + "duration": 755625, + "start": 1776196916216386965 }], [ { @@ -48,30 +50,32 @@ "meta": { "_dd.base_service": "tests.contrib.aiomysql", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9d3400000000", + "_dd.svc_src": "aiomysql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiomysql", "component": "aiomysql", "db.name": "test", "db.system": "mysql", "db.user": "test", "error.message": "(1146, \"Table 'test.some_non_existant_table' doesn't exist\")", - "error.stack": "Traceback (most recent call last):\n File \"/Users/kverhoog/dev/dd-trace-py/ddtrace/contrib/aiomysql/patch.py\", line 69, in _trace_method\n result = await method(*args, **kwargs)\n File \"/Users/kverhoog/dev/dd-trace-py/.venv/lib/python3.10/site-packages/aiomysql/cursors.py\", line 239, in execute\n await self._query(query)\n File \"/Users/kverhoog/dev/dd-trace-py/.venv/lib/python3.10/site-packages/aiomysql/cursors.py\", line 457, in _query\n await conn.query(q)\n File \"/Users/kverhoog/dev/dd-trace-py/.venv/lib/python3.10/site-packages/aiomysql/connection.py\", line 469, in query\n await self._read_query_result(unbuffered=unbuffered)\n File \"/Users/kverhoog/dev/dd-trace-py/.venv/lib/python3.10/site-packages/aiomysql/connection.py\", line 672, in _read_query_result\n await result.read()\n File \"/Users/kverhoog/dev/dd-trace-py/.venv/lib/python3.10/site-packages/aiomysql/connection.py\", line 1157, in read\n first_packet = await self.connection._read_packet()\n File \"/Users/kverhoog/dev/dd-trace-py/.venv/lib/python3.10/site-packages/aiomysql/connection.py\", line 641, in _read_packet\n packet.raise_for_error()\n File \"/Users/kverhoog/dev/dd-trace-py/.venv/lib/python3.10/site-packages/pymysql/protocol.py\", line 221, in raise_for_error\n err.raise_mysql_exception(self._data)\n File \"/Users/kverhoog/dev/dd-trace-py/.venv/lib/python3.10/site-packages/pymysql/err.py\", line 143, in raise_mysql_exception\n raise errorclass(errno, errval)\npymysql.err.ProgrammingError: (1146, \"Table 'test.some_non_existant_table' doesn't exist\")\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/aiomysql/patch.py\", line 101, in _trace_method\n result = await method(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_pytest-asyncio0211_aiomysql~010/lib/python3.9/site-packages/aiomysql/cursors.py\", line 239, in execute\n await self._query(query)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_pytest-asyncio0211_aiomysql~010/lib/python3.9/site-packages/aiomysql/cursors.py\", line 457, in _query\n await conn.query(q)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_pytest-asyncio0211_aiomysql~010/lib/python3.9/site-packages/aiomysql/connection.py\", line 469, in query\n await self._read_query_result(unbuffered=unbuffered)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_pytest-asyncio0211_aiomysql~010/lib/python3.9/site-packages/aiomysql/connection.py\", line 672, in _read_query_result\n await result.read()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_pytest-asyncio0211_aiomysql~010/lib/python3.9/site-packages/aiomysql/connection.py\", line 1153, in read\n first_packet = await self.connection._read_packet()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_pytest-asyncio0211_aiomysql~010/lib/python3.9/site-packages/aiomysql/connection.py\", line 641, in _read_packet\n packet.raise_for_error()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_pytest-asyncio0211_aiomysql~010/lib/python3.9/site-packages/pymysql/protocol.py\", line 221, in raise_for_error\n err.raise_mysql_exception(self._data)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-randomly_pytest-asyncio0211_aiomysql~010/lib/python3.9/site-packages/pymysql/err.py\", line 143, in raise_mysql_exception\n raise errorclass(errno, errval)\npymysql.err.ProgrammingError: (1146, \"Table 'test.some_non_existant_table' doesn't exist\")\n", "error.type": "pymysql.err.ProgrammingError", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "5fd399879b2c43628ee3ab3b6470b8b7", + "runtime-id": "e9c27f9edafe48a09b7a0d73d6993f15", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 0, - "db.rownumber": 0, - "network.destination.port": 3306, - "process_id": 51883 + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "db.rownumber": 0.0, + "network.destination.port": 3306.0, + "process_id": 71795.0 }, - "duration": 8135000, - "start": 1667240729138420000 + "duration": 2003708, + "start": 1776196916218038549 }]] diff --git a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_schematized_span_name[v0].json b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_schematized_span_name[v0].json index feb56d61490..cf1970cb204 100644 --- a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_schematized_span_name[v0].json +++ b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_schematized_span_name[v0].json @@ -11,27 +11,29 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9d3500000000", + "_dd.svc_src": "aiomysql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "aiomysql", "db.name": "test", "db.system": "mysql", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "10185724725e43958ae66f62b7c6216d", + "runtime-id": "fa6d1b49e73b432f91e45122ae8bab86", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "db.rownumber": 0, - "network.destination.port": 3306, - "process_id": 8670 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "db.rownumber": 0.0, + "network.destination.port": 3306.0, + "process_id": 71937.0 }, - "duration": 321000, - "start": 1682562112206059292 + "duration": 358250, + "start": 1776196917617991008 }]] diff --git a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_schematized_span_name[v1].json b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_schematized_span_name[v1].json index f5092a21933..cea541f65e1 100644 --- a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_schematized_span_name[v1].json +++ b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_schematized_span_name[v1].json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9d3700000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "aiomysql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "aiomysql", "db.name": "test", "db.system": "mysql", @@ -19,20 +21,20 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "9f466d3fd1ef4e59ab6d72707e720ecf", + "runtime-id": "86c3ecf734be425399b5ebf3ceccc05c", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "db.rownumber": 0, - "network.destination.port": 3306, - "process_id": 8675 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "db.rownumber": 0.0, + "network.destination.port": 3306.0, + "process_id": 71959.0 }, - "duration": 303000, - "start": 1682562112974022834 + "duration": 301708, + "start": 1776196919050684217 }]] diff --git a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_unspecified_service_v1.json b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_unspecified_service_v1.json index 300e93fe335..7f4bab2b382 100644 --- a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_unspecified_service_v1.json +++ b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_unspecified_service_v1.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9d3600000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "aiomysql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "aiomysql", "db.name": "test", "db.system": "mysql", @@ -19,20 +21,20 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "f446781b5d244b95abc64fb246064c81", + "runtime-id": "ef6181d8e4d142238fc3c6ce52337fe1", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "db.rownumber": 0, - "network.destination.port": 3306, - "process_id": 1959 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "db.rownumber": 0.0, + "network.destination.port": 3306.0, + "process_id": 71948.0 }, - "duration": 336750, - "start": 1682181472030042004 + "duration": 333083, + "start": 1776196918322912550 }]] diff --git a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_user_specified_service_v0.json b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_user_specified_service_v0.json index 986d33b7b19..cad05c423ad 100644 --- a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_user_specified_service_v0.json +++ b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_user_specified_service_v0.json @@ -11,27 +11,29 @@ "meta": { "_dd.base_service": "my-service-name", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9d3400000000", + "_dd.svc_src": "aiomysql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "aiomysql", "db.name": "test", "db.system": "mysql", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "edd004724e314daf9ff1e51e8234b4df", + "runtime-id": "6ccf3914e35749a6882c71d40c3312d8", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "db.rownumber": 0, - "network.destination.port": 3306, - "process_id": 1191 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "db.rownumber": 0.0, + "network.destination.port": 3306.0, + "process_id": 71904.0 }, - "duration": 339958, - "start": 1682180471955479013 + "duration": 350208, + "start": 1776196916146532174 }]] diff --git a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_user_specified_service_v1.json b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_user_specified_service_v1.json index a895c9b6cc3..11961a0b120 100644 --- a/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_user_specified_service_v1.json +++ b/tests/snapshots/tests.contrib.aiomysql.test_aiomysql.test_user_specified_service_v1.json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9d3400000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "aiomysql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "aiomysql", "db.name": "test", "db.system": "mysql", @@ -19,20 +21,20 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "ae2b5fb6b2b849ed9a299852cb4df1d5", + "runtime-id": "0b5b188a1bc040e38b563c142f925393", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "db.rownumber": 0, - "network.destination.port": 3306, - "process_id": 1196 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "db.rownumber": 0.0, + "network.destination.port": 3306.0, + "process_id": 71926.0 }, - "duration": 361500, - "start": 1682180472703443222 + "duration": 311250, + "start": 1776196916891916882 }]] diff --git a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_exception_no_retries.json b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_exception_no_retries.json index b02973135c5..2b18cbb6c88 100644 --- a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_exception_no_retries.json +++ b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_exception_no_retries.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66045a7900000000", + "_dd.p.tid": "69de9dbb00000000", + "_dd.svc_src": "dramatiq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.dramatiq", "actor.name": "fn_task", "actor.options": "{}", "language": "python", - "runtime-id": "cfcd83a635904a38b9b1e08a2631d30c", + "runtime-id": "7171554b23eb48f18f73159a06b1c463", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9685 + "_sampling_priority_v1": 1.0, + "process_id": 74061.0 }, - "duration": 2023375, - "start": 1711561337865187722 + "duration": 5138375, + "start": 1776197051866721209 }]] diff --git a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_retry_exception.json b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_retry_exception.json index 218eadca619..951f8582256 100644 --- a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_retry_exception.json +++ b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_retry_exception.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66045a5d00000000", + "_dd.p.tid": "69de9dbb00000000", + "_dd.svc_src": "dramatiq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.dramatiq", "actor.name": "fn_task", "actor.options": "{'max_retries': 1}", "language": "python", - "runtime-id": "52f96d4951184129b324a4fa7c46f4fd", + "runtime-id": "7171554b23eb48f18f73159a06b1c463", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9573 + "_sampling_priority_v1": 1.0, + "process_id": 74061.0 }, - "duration": 179375, - "start": 1711561309822650917 + "duration": 168458, + "start": 1776197051957090042 }]] diff --git a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_task_send.json b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_task_send.json index 6194693147c..d8b825859c1 100644 --- a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_task_send.json +++ b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_task_send.json @@ -10,21 +10,23 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66045a7900000000", + "_dd.p.tid": "69de9dbb00000000", + "_dd.svc_src": "dramatiq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.dramatiq", "actor.name": "fn_task", "actor.options": "{}", "language": "python", - "runtime-id": "cfcd83a635904a38b9b1e08a2631d30c", + "runtime-id": "7171554b23eb48f18f73159a06b1c463", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9685 + "_sampling_priority_v1": 1.0, + "process_id": 74061.0 }, - "duration": 318125, - "start": 1711561337883231972 + "duration": 493584, + "start": 1776197051881388875 }], [ { @@ -38,19 +40,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66045a7900000000", + "_dd.p.tid": "69de9dbb00000000", + "_dd.svc_src": "dramatiq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.dramatiq", "actor.name": "fn_task", "actor.options": "{}", "language": "python", - "runtime-id": "cfcd83a635904a38b9b1e08a2631d30c", + "runtime-id": "7171554b23eb48f18f73159a06b1c463", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9685 + "_sampling_priority_v1": 1.0, + "process_id": 74061.0 }, - "duration": 204083, - "start": 1711561337883645472 + "duration": 288250, + "start": 1776197051882019875 }]] diff --git a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_task_send_with_params.json b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_task_send_with_params.json index d13031cf5a2..2df40b1f278 100644 --- a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_task_send_with_params.json +++ b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_fn_task_send_with_params.json @@ -10,21 +10,23 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66045a7900000000", + "_dd.p.tid": "69de9dbb00000000", + "_dd.svc_src": "dramatiq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.dramatiq", "actor.name": "fn_task", "actor.options": "{}", "language": "python", - "runtime-id": "cfcd83a635904a38b9b1e08a2631d30c", + "runtime-id": "7171554b23eb48f18f73159a06b1c463", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9685 + "_sampling_priority_v1": 1.0, + "process_id": 74061.0 }, - "duration": 215458, - "start": 1711561337887595889 + "duration": 311958, + "start": 1776197051890133167 }], [ { @@ -38,19 +40,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66045a7900000000", + "_dd.p.tid": "69de9dbb00000000", + "_dd.svc_src": "dramatiq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.dramatiq", "actor.name": "fn_task", "actor.options": "{}", "language": "python", - "runtime-id": "cfcd83a635904a38b9b1e08a2631d30c", + "runtime-id": "7171554b23eb48f18f73159a06b1c463", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9685 + "_sampling_priority_v1": 1.0, + "process_id": 74061.0 }, - "duration": 160083, - "start": 1711561337887886472 + "duration": 185292, + "start": 1776197051890588750 }]] diff --git a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_idempotent_patch.json b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_idempotent_patch.json index cec8a33847a..b0e9a114063 100644 --- a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_idempotent_patch.json +++ b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_idempotent_patch.json @@ -10,21 +10,23 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66045a7900000000", + "_dd.p.tid": "69de9dbb00000000", + "_dd.svc_src": "dramatiq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.dramatiq", "actor.name": "fn_task", "actor.options": "{}", "language": "python", - "runtime-id": "cfcd83a635904a38b9b1e08a2631d30c", + "runtime-id": "7171554b23eb48f18f73159a06b1c463", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9685 + "_sampling_priority_v1": 1.0, + "process_id": 74061.0 }, - "duration": 301291, - "start": 1711561337892212889 + "duration": 576250, + "start": 1776197051904027375 }], [ { @@ -38,19 +40,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66045a7900000000", + "_dd.p.tid": "69de9dbb00000000", + "_dd.svc_src": "dramatiq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.dramatiq", "actor.name": "fn_task", "actor.options": "{}", "language": "python", - "runtime-id": "cfcd83a635904a38b9b1e08a2631d30c", + "runtime-id": "7171554b23eb48f18f73159a06b1c463", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9685 + "_sampling_priority_v1": 1.0, + "process_id": 74061.0 }, - "duration": 177083, - "start": 1711561337892595472 + "duration": 282625, + "start": 1776197051904745625 }]] diff --git a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_send_exception.json b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_send_exception.json index aaa0b2dc805..6d2fc99a8c8 100644 --- a/tests/snapshots/tests.contrib.dramatiq.test_integration.test_send_exception.json +++ b/tests/snapshots/tests.contrib.dramatiq.test_integration.test_send_exception.json @@ -10,22 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66045a7900000000", + "_dd.p.tid": "69de9dbb00000000", + "_dd.svc_src": "dramatiq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.dramatiq", "actor.name": "fn_task", "actor.options": "{}", "error.message": "send_with_options() takes 1 positional argument but 2 were given", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/dramatiq/patch.py\", line 70, in _traced_send_with_options\n return func(*args, **kwargs)\nTypeError: send_with_options() takes 1 positional argument but 2 were given\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/dramatiq/patch.py\", line 75, in _traced_send_with_options\n return func(*args, **kwargs)\nTypeError: send_with_options() takes 1 positional argument but 2 were given\n", "error.type": "builtins.TypeError", "language": "python", - "runtime-id": "cfcd83a635904a38b9b1e08a2631d30c", + "runtime-id": "7171554b23eb48f18f73159a06b1c463", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9685 + "_sampling_priority_v1": 1.0, + "process_id": 74061.0 }, - "duration": 319125, - "start": 1711561337913970014 + "duration": 364708, + "start": 1776197051922505209 }]] diff --git a/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_execute.json b/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_execute.json index cbaef2543cd..2134721ce70 100644 --- a/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_execute.json +++ b/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_execute.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphene", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e5900000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphene", "component": "graphql", "language": "python", - "runtime-id": "bd29f6239b6740229c13f18d5b0d3f74" + "runtime-id": "86f05524281e4a99b7f47ccfbc51d763" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 47948 + "_sampling_priority_v1": 1.0, + "process_id": 76592.0 }, - "duration": 1876334, - "start": 1692710307274338836 + "duration": 3144167, + "start": 1776197209246874462 }, { "name": "graphql.parse", @@ -37,12 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "{ patron { id name age } }" }, - "duration": 192333, - "start": 1692710307274744795 + "duration": 180833, + "start": 1776197209247362504 }, { "name": "graphql.validate", @@ -55,12 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "{ patron { id name age } }" }, - "duration": 1064916, - "start": 1692710307274986545 + "duration": 2092916, + "start": 1776197209247594754 }, { "name": "graphql.execute", @@ -73,14 +75,14 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.type": "query", "graphql.source": "{ patron { id name age } }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 106709, - "start": 1692710307276089461 + "duration": 181291, + "start": 1776197209249814504 }]] diff --git a/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_execute_with_resolvers.json b/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_execute_with_resolvers.json index a3b1795df9e..ae0c6517df4 100644 --- a/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_execute_with_resolvers.json +++ b/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_execute_with_resolvers.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphene", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e5900000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphene", "component": "graphql", "language": "python", - "runtime-id": "bd29f6239b6740229c13f18d5b0d3f74" + "runtime-id": "86f05524281e4a99b7f47ccfbc51d763" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 47948 + "_sampling_priority_v1": 1.0, + "process_id": 76592.0 }, - "duration": 1739416, - "start": 1692710307352437295 + "duration": 2409042, + "start": 1776197209264690670 }, { "name": "graphql.parse", @@ -37,12 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "{ patron { id name age } }" }, - "duration": 129667, - "start": 1692710307352665086 + "duration": 166500, + "start": 1776197209264986087 }, { "name": "graphql.validate", @@ -55,12 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "{ patron { id name age } }" }, - "duration": 1038292, - "start": 1692710307352832211 + "duration": 1471417, + "start": 1776197209265198795 }, { "name": "graphql.execute", @@ -73,16 +75,16 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.type": "query", "graphql.source": "{ patron { id name age } }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 249666, - "start": 1692710307353912670 + "duration": 347875, + "start": 1776197209266734420 }, { "name": "graphql.resolve", @@ -95,11 +97,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 20750, - "start": 1692710307353978586 + "duration": 29250, + "start": 1776197209266835045 }, { "name": "graphql.resolve", @@ -112,11 +114,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 18750, - "start": 1692710307354035420 + "duration": 26291, + "start": 1776197209266908379 }, { "name": "graphql.resolve", @@ -129,11 +131,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 17541, - "start": 1692710307354081045 + "duration": 24792, + "start": 1776197209266971962 }, { "name": "graphql.resolve", @@ -146,9 +148,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 16750, - "start": 1692710307354122295 + "duration": 24208, + "start": 1776197209267028379 }]] diff --git a/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_failing_execute.json b/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_failing_execute.json index e3afa039915..54b1d28bfd4 100644 --- a/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_failing_execute.json +++ b/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_failing_execute.json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "tests.contrib.graphene", "_dd.p.dm": "-0", - "_dd.p.tid": "679ba78900000000", + "_dd.p.tid": "69de9e5900000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphene", "component": "graphql", "error.message": "exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id", - "error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 242, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\", line 26, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphql-relay_pytest-randomly_graphene~300_pytest-asyncio0211/lib/python3.9/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphene/test_graphene.py\", line 27, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id\n", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1738254217957740000,\"attributes\": {\"locations\": \"3:7\",\"message\": \"exception was raised in a graphene query\",\"path\": \"patron\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\\\", line 242, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\\\", line 26, in resolve_patron\\n raise Exception(\\\"exception was raised in a graphene query\\\")\\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\\n\\nGraphQL request:3:7\\n2 | {\\n3 | patron {\\n | ^\\n4 | id\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197209913965129,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"exception was raised in a graphene query\",\"path\": \"patron\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphql-relay_pytest-randomly_graphene~300_pytest-asyncio0211/lib/python3.9/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\\\", line 246, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/home/bits/project/tests/contrib/graphene/test_graphene.py\\\", line 27, in resolve_patron\\n raise Exception(\\\"exception was raised in a graphene query\\\")\\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\\n\\nGraphQL request:3:7\\n2 | {\\n3 | patron {\\n | ^\\n4 | id\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "language": "python", - "runtime-id": "8203164c8f8a4840943bf798c4daea9a" + "runtime-id": "86f05524281e4a99b7f47ccfbc51d763" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 62451 + "_sampling_priority_v1": 1.0, + "process_id": 76592.0 }, - "duration": 5396000, - "start": 1738254217952345000 + "duration": 4486667, + "start": 1776197209909480879 }, { "name": "graphql.parse", @@ -41,11 +43,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "{ patron { id name age } }" }, - "duration": 828000, - "start": 1738254217952815000 + "duration": 180292, + "start": 1776197209909777837 }, { "name": "graphql.validate", @@ -58,11 +61,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphene", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "{ patron { id name age } }" }, - "duration": 2534000, - "start": 1738254217954222000 + "duration": 1801875, + "start": 1776197209910008796 }, { "name": "graphql.execute", @@ -75,19 +79,20 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphene", + "_dd.svc_src": "graphql", "component": "graphql", "error.message": "exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id", - "error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 242, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\", line 26, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphql-relay_pytest-randomly_graphene~300_pytest-asyncio0211/lib/python3.9/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphene/test_graphene.py\", line 27, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\n\nGraphQL request:3:7\n2 | {\n3 | patron {\n | ^\n4 | id\n", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1738254217957645000,\"attributes\": {\"locations\": \"3:7\",\"message\": \"exception was raised in a graphene query\",\"path\": \"patron\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\\\", line 242, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\\\", line 26, in resolve_patron\\n raise Exception(\\\"exception was raised in a graphene query\\\")\\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\\n\\nGraphQL request:3:7\\n2 | {\\n3 | patron {\\n | ^\\n4 | id\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197209913768462,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"exception was raised in a graphene query\",\"path\": \"patron\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphql-relay_pytest-randomly_graphene~300_pytest-asyncio0211/lib/python3.9/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\\\", line 246, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/home/bits/project/tests/contrib/graphene/test_graphene.py\\\", line 27, in resolve_patron\\n raise Exception(\\\"exception was raised in a graphene query\\\")\\ngraphql.error.graphql_error.GraphQLError: exception was raised in a graphene query\\n\\nGraphQL request:3:7\\n2 | {\\n3 | patron {\\n | ^\\n4 | id\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "graphql.operation.type": "query", "graphql.source": "{ patron { id name age } }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 803000, - "start": 1738254217956843000 + "duration": 1869709, + "start": 1776197209911904462 }, { "name": "graphql.resolve", @@ -100,11 +105,12 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphene", + "_dd.svc_src": "graphql", "component": "graphql", "error.message": "exception was raised in a graphene query", - "error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 242, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\", line 26, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\nException: exception was raised in a graphene query\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphene/test_graphene.py\", line 27, in resolve_patron\n raise Exception(\"exception was raised in a graphene query\")\nException: exception was raised in a graphene query\n", "error.type": "builtins.Exception" }, - "duration": 430000, - "start": 1738254217956914000 + "duration": 592334, + "start": 1776197209912032087 }]] diff --git a/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_failing_extensions.json b/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_failing_extensions.json index f578795f1ee..161054a35df 100644 --- a/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_failing_extensions.json +++ b/tests/snapshots/tests.contrib.graphene.test_graphene.test_schema_failing_extensions.json @@ -11,24 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "67b4cea400000000", + "_dd.p.tid": "69de9e5900000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpfxdc4spp,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "error.message": "User not found\n\nGraphQL request:1:3\n1 | { user(id: \"999\") }\n | ^", - "error.stack": "Traceback (most recent call last):\n\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py3127_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\", line 35, in resolve_user\n raise graphql.error.GraphQLError(\n\ngraphql.error.graphql_error.GraphQLError: User not found\n\nGraphQL request:1:3\n1 | { user(id: \"999\") }\n | ^\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphql-relay_pytest-randomly_graphene~300_pytest-asyncio0211/lib/python3.9/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n File \"/home/bits/project/tests/contrib/graphene/test_graphene.py\", line 35, in resolve_user\n raise graphql.error.GraphQLError(\ngraphql.error.graphql_error.GraphQLError: User not found\n\nGraphQL request:1:3\n1 | { user(id: \"999\") }\n | ^\n", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1739902628776246000,\"attributes\": {\"extensions.code\": \"USER_NOT_FOUND\",\"extensions.status\": 404,\"locations\": [\"1:3\"],\"message\": \"User not found\",\"path\": \"user\",\"stacktrace\": \"Traceback (most recent call last):\\n\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py3127_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\\\", line 35, in resolve_user\\n raise graphql.error.GraphQLError(\\n\\ngraphql.error.graphql_error.GraphQLError: User not found\\n\\nGraphQL request:1:3\\n1 | { user(id: \\\"999\\\") }\\n | ^\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197209815084754,\"attributes\": {\"extensions.code\": \"USER_NOT_FOUND\",\"extensions.status\": 404,\"locations\": [\"1:3\"],\"message\": \"User not found\",\"path\": \"user\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphql-relay_pytest-randomly_graphene~300_pytest-asyncio0211/lib/python3.9/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/home/bits/project/tests/contrib/graphene/test_graphene.py\\\", line 35, in resolve_user\\n raise graphql.error.GraphQLError(\\ngraphql.error.graphql_error.GraphQLError: User not found\\n\\nGraphQL request:1:3\\n1 | { user(id: \\\"999\\\") }\\n | ^\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "language": "python", - "runtime-id": "8cbbf6dde3964c80b5a6a70abc93ac87" + "runtime-id": "6f746589e9254c1a91d5fa6082ff858f" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 48668 + "_sampling_priority_v1": 1.0, + "process_id": 76607.0 }, - "duration": 1010000, - "start": 1739902628775236000 + "duration": 1889167, + "start": 1776197209813196587 }, { "name": "graphql.parse", @@ -41,11 +43,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "{ user(id: \"999\") }" }, - "duration": 124000, - "start": 1739902628775328000 + "duration": 94334, + "start": 1776197209813372212 }, { "name": "graphql.validate", @@ -58,11 +61,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "{ user(id: \"999\") }" }, - "duration": 309000, - "start": 1739902628775473000 + "duration": 492000, + "start": 1776197209813493212 }, { "name": "graphql.execute", @@ -75,17 +79,18 @@ "error": 1, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "graphql", "component": "graphql", "error.message": "User not found\n\nGraphQL request:1:3\n1 | { user(id: \"999\") }\n | ^", - "error.stack": "Traceback (most recent call last):\n\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py3127_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\", line 35, in resolve_user\n raise graphql.error.GraphQLError(\n\ngraphql.error.graphql_error.GraphQLError: User not found\n\nGraphQL request:1:3\n1 | { user(id: \"999\") }\n | ^\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphql-relay_pytest-randomly_graphene~300_pytest-asyncio0211/lib/python3.9/site-packages/graphql/execution/execute.py\", line 617, in resolve_field\n result = resolve_fn(source, info, **args)\n File \"/home/bits/project/tests/contrib/graphene/test_graphene.py\", line 35, in resolve_user\n raise graphql.error.GraphQLError(\ngraphql.error.graphql_error.GraphQLError: User not found\n\nGraphQL request:1:3\n1 | { user(id: \"999\") }\n | ^\n", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1739902628776152000,\"attributes\": {\"extensions.code\": \"USER_NOT_FOUND\",\"extensions.status\": 404,\"locations\": [\"1:3\"],\"message\": \"User not found\",\"path\": \"user\",\"stacktrace\": \"Traceback (most recent call last):\\n\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py3127_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphene~300_pytest-asyncio0211_graphql-relay_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphene/test_graphene.py\\\", line 35, in resolve_user\\n raise graphql.error.GraphQLError(\\n\\ngraphql.error.graphql_error.GraphQLError: User not found\\n\\nGraphQL request:1:3\\n1 | { user(id: \\\"999\\\") }\\n | ^\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197209814980796,\"attributes\": {\"extensions.code\": \"USER_NOT_FOUND\",\"extensions.status\": 404,\"locations\": [\"1:3\"],\"message\": \"User not found\",\"path\": \"user\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_graphql-relay_pytest-randomly_graphene~300_pytest-asyncio0211/lib/python3.9/site-packages/graphql/execution/execute.py\\\", line 617, in resolve_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/home/bits/project/tests/contrib/graphene/test_graphene.py\\\", line 35, in resolve_user\\n raise graphql.error.GraphQLError(\\ngraphql.error.graphql_error.GraphQLError: User not found\\n\\nGraphQL request:1:3\\n1 | { user(id: \\\"999\\\") }\\n | ^\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "graphql.operation.type": "query", "graphql.source": "{ user(id: \"999\") }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 354000, - "start": 1739902628775799000 + "duration": 975667, + "start": 1776197209814009379 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json index baa635e0d9c..74c22f35720 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e3e00000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "language": "python", - "runtime-id": "13a9a43400594de89a6aa537a3cb7b8e" + "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 50292 + "_sampling_priority_v1": 1.0, + "process_id": 75639.0 }, - "duration": 1358041, - "start": 1692710417103585263 + "duration": 2416542, + "start": 1776197182351845797 }, { "name": "graphql.parse", @@ -37,12 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 125459, - "start": 1692710417104051929 + "duration": 393416, + "start": 1776197182352392589 }, { "name": "graphql.validate", @@ -55,12 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 582292, - "start": 1692710417104228596 + "duration": 1170041, + "start": 1776197182352907589 }, { "name": "graphql.execute", @@ -73,15 +75,15 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 79917, - "start": 1692710417104847096 + "duration": 127333, + "start": 1776197182354121047 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json index bb004ea1d53..f7529a9d048 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json @@ -11,23 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "679b96df00000000", + "_dd.p.tid": "69de9e4000000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "error.message": "Cannot query field 'invalid_schema' on type 'RootQueryType'.\n\nGraphQL request:1:17\n1 | query my_query{ invalid_schema }\n | ^", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1738249951802662000,\"attributes\": {\"locations\": \"1:17\",\"message\": \"Cannot query field 'invalid_schema' on type 'RootQueryType'.\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197184203243173,\"attributes\": {\"locations\": [\"1:17\"],\"message\": \"Cannot query field 'invalid_schema' on type 'RootQueryType'.\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "language": "python", - "runtime-id": "9a4c224e6fdd49cea07a7a3954fd5db7" + "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 26822 + "_sampling_priority_v1": 1.0, + "process_id": 75639.0 }, - "duration": 1221000, - "start": 1738249951801442000 + "duration": 1824209, + "start": 1776197184201432839 }, { "name": "graphql.parse", @@ -40,11 +42,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query my_query{ invalid_schema }" }, - "duration": 143000, - "start": 1738249951801693000 + "duration": 173625, + "start": 1776197184201711006 }, { "name": "graphql.validate", @@ -57,12 +60,13 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "error.message": "Cannot query field 'invalid_schema' on type 'RootQueryType'.\n\nGraphQL request:1:17\n1 | query my_query{ invalid_schema }\n | ^", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1738249951802627000,\"attributes\": {\"locations\": \"1:17\",\"message\": \"Cannot query field 'invalid_schema' on type 'RootQueryType'.\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197184203068756,\"attributes\": {\"locations\": [\"1:17\"],\"message\": \"Cannot query field 'invalid_schema' on type 'RootQueryType'.\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "graphql.source": "query my_query{ invalid_schema }" }, - "duration": 745000, - "start": 1738249951801884000 + "duration": 1145333, + "start": 1776197184201929798 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json index cbc434788b5..7198317c6c2 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e4000000000", + "_dd.svc_src": "tests.contrib.graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "language": "python", - "runtime-id": "13a9a43400594de89a6aa537a3cb7b8e" + "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 50292 + "_sampling_priority_v1": 1.0, + "process_id": 75639.0 }, - "duration": 734750, - "start": 1692710417200574429 + "duration": 1220916, + "start": 1776197184146248923 }, { "name": "graphql.parse", @@ -34,15 +36,15 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 103542, - "start": 1692710417200667846 + "duration": 293750, + "start": 1776197184146440214 }, { "name": "graphql.execute", @@ -55,18 +57,18 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 + "_dd.measured": 1.0, + "_dd.top_level": 1.0 }, - "duration": 339334, - "start": 1692710417200814554 + "duration": 394875, + "start": 1776197184146884881 }, { "name": "graphql.resolve", @@ -79,11 +81,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 52250, - "start": 1692710417201071054 + "duration": 65041, + "start": 1776197184147186548 }, { "name": "test_middleware", @@ -96,10 +98,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000" + "_dd.svc_src": "graphql" }, - "duration": 16708, - "start": 1692710417201093263 + "duration": 18416, + "start": 1776197184147216798 }, { "name": "graphql.execute", @@ -112,18 +114,18 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 + "_dd.measured": 1.0, + "_dd.top_level": 1.0 }, - "duration": 112333, - "start": 1692710417201186346 + "duration": 129458, + "start": 1776197184147327131 }, { "name": "graphql.resolve", @@ -136,11 +138,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 43500, - "start": 1692710417201236054 + "duration": 47917, + "start": 1776197184147393256 }, { "name": "test_middleware", @@ -153,8 +155,8 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000" + "_dd.svc_src": "graphql" }, - "duration": 14000, - "start": 1692710417201254179 + "duration": 15334, + "start": 1776197184147416089 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail.json deleted file mode 100644 index c5b4df656da..00000000000 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail.json +++ /dev/null @@ -1,138 +0,0 @@ -[[ - { - "name": "graphql.parse", - "service": "graphql", - "resource": "graphql.parse", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "graphql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.graphql", - "_dd.p.dm": "-0", - "_dd.p.tid": "679b976d00000000", - "component": "graphql", - "graphql.source": "type Query { fail: String }", - "language": "python", - "runtime-id": "596dfe80a9184851a69f62836436abe5" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 27630 - }, - "duration": 257000, - "start": 1738250093732371000 - }], -[ - { - "name": "graphql.request", - "service": "graphql", - "resource": "query { fail }", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "graphql", - "error": 1, - "meta": { - "_dd.base_service": "tests.contrib.graphql", - "_dd.p.dm": "-0", - "_dd.p.tid": "679b976d00000000", - "component": "graphql", - "error.message": "'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }", - "error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 243, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\", line 104, in \n result = graphql_sync(test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name])\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", - "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1738250093735707000,\"attributes\": {\"locations\": \"3:7\",\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\\\", line 243, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\\\", line 104, in \\n result = graphql_sync(test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name])\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", - "language": "python", - "runtime-id": "596dfe80a9184851a69f62836436abe5" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 27630 - }, - "duration": 1681000, - "start": 1738250093734027000 - }, - { - "name": "graphql.parse", - "service": "graphql", - "resource": "graphql.parse", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "graphql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.graphql", - "component": "graphql", - "graphql.source": "query { fail }" - }, - "duration": 128000, - "start": 1738250093734164000 - }, - { - "name": "graphql.validate", - "service": "graphql", - "resource": "graphql.validate", - "trace_id": 1, - "span_id": 3, - "parent_id": 1, - "type": "graphql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.graphql", - "component": "graphql", - "graphql.source": "query { fail }" - }, - "duration": 493000, - "start": 1738250093734336000 - }, - { - "name": "graphql.execute", - "service": "graphql", - "resource": "query { fail }", - "trace_id": 1, - "span_id": 4, - "parent_id": 1, - "type": "graphql", - "error": 1, - "meta": { - "_dd.base_service": "tests.contrib.graphql", - "component": "graphql", - "error.message": "'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }", - "error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 243, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\", line 104, in \n result = graphql_sync(test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name])\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", - "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1738250093735623000,\"attributes\": {\"locations\": \"3:7\",\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.10/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\\\", line 243, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\\\", line 104, in \\n result = graphql_sync(test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name])\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", - "graphql.operation.type": "query", - "graphql.source": "query { fail }" - }, - "metrics": { - "_dd.measured": 1 - }, - "duration": 761000, - "start": 1738250093734863000 - }, - { - "name": "graphql.resolve", - "service": "graphql", - "resource": "fail", - "trace_id": 1, - "span_id": 5, - "parent_id": 4, - "type": "graphql", - "error": 1, - "meta": { - "_dd.base_service": "tests.contrib.graphql", - "component": "graphql", - "error.message": "'NoneType' object has no attribute 'name'", - "error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 243, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\", line 104, in \n result = graphql_sync(test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name])\nAttributeError: 'NoneType' object has no attribute 'name'\n", - "error.type": "builtins.AttributeError" - }, - "duration": 424000, - "start": 1738250093734961000 - }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json index ab7793f05c4..69e8176a1a8 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "67f3eb9500000000", + "_dd.p.tid": "69de9e4300000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "graphql.source": "type Query { fail: String }", "language": "python", - "runtime-id": "e03a446c4168427390fa1561d97ffdbd" + "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 66669 + "_sampling_priority_v1": 1.0, + "process_id": 75639.0 }, - "duration": 290000, - "start": 1744038805823133000 + "duration": 433083, + "start": 1776197187679345591 }], [ { @@ -39,24 +41,26 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "67f3eb9500000000", + "_dd.p.tid": "69de9e4300000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "error.message": "'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }", - "error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py3127_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 253, in _resolver_middleware\n return next_middleware(root, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\", line 104, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\n ^^^^^^^^^^\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.9/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1744038805827710000,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py3127_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\\\", line 253, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\\\", line 104, in \\n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\\n ^^^^^^^^^^\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197187684630633,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.9/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\\\", line 246, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/home/bits/project/tests/contrib/graphql/test_graphql.py\\\", line 107, in \\n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "language": "python", - "runtime-id": "e03a446c4168427390fa1561d97ffdbd" + "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 66669 + "_sampling_priority_v1": 1.0, + "process_id": 75639.0 }, - "duration": 2341000, - "start": 1744038805825370000 + "duration": 3293250, + "start": 1776197187681339049 }, { "name": "graphql.parse", @@ -69,11 +73,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query { fail }" }, - "duration": 108000, - "start": 1744038805825572000 + "duration": 187208, + "start": 1776197187681626758 }, { "name": "graphql.validate", @@ -86,11 +91,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query { fail }" }, - "duration": 585000, - "start": 1744038805825715000 + "duration": 1041667, + "start": 1776197187681856841 }, { "name": "graphql.execute", @@ -103,19 +109,20 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "error.message": "'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }", - "error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/.riot/venv_py3127_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 253, in _resolver_middleware\n return next_middleware(root, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\", line 104, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\n ^^^^^^^^^^\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.9/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1744038805827554000,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/Users/quinna.halim/dd-trace-py/.riot/venv_py3127_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\\\", line 253, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\\\", line 104, in \\n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\\n ^^^^^^^^^^\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197187684427674,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.9/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\\\", line 246, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/home/bits/project/tests/contrib/graphql/test_graphql.py\\\", line 107, in \\n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "graphql.operation.type": "query", "graphql.source": "query { fail }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 1212000, - "start": 1744038805826344000 + "duration": 1472583, + "start": 1776197187682960216 }, { "name": "graphql.resolve", @@ -128,11 +135,12 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "error.message": "'NoneType' object has no attribute 'name'", - "error.stack": "Traceback (most recent call last):\n File \"/Users/quinna.halim/dd-trace-py/ddtrace/contrib/internal/graphql/patch.py\", line 253, in _resolver_middleware\n return next_middleware(root, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/quinna.halim/dd-trace-py/tests/contrib/graphql/test_graphql.py\", line 104, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\n ^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'name'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\nAttributeError: 'NoneType' object has no attribute 'name'\n", "error.type": "builtins.AttributeError" }, - "duration": 714000, - "start": 1744038805826467000 + "duration": 335417, + "start": 1776197187683078424 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json index 6f959c9ec10..9c3d0ae5067 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e4000000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "graphql.source": "query HELLO { hello }", "language": "python", - "runtime-id": "630b203d91914ec1bf98fe21da63344d" + "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 29253 + "_sampling_priority_v1": 1.0, + "process_id": 75639.0 }, - "duration": 284000, - "start": 1695228158961101000 + "duration": 237375, + "start": 1776197184160642506 }], [ { @@ -39,21 +41,23 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e4000000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "", "language": "python", - "runtime-id": "630b203d91914ec1bf98fe21da63344d" + "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 29253 + "_sampling_priority_v1": 1.0, + "process_id": 75639.0 }, - "duration": 336000, - "start": 1695228158977945000 + "duration": 230458, + "start": 1776197184161037631 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json index 775adc1a204..0244cfbdd74 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e4000000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "language": "python", - "runtime-id": "13a9a43400594de89a6aa537a3cb7b8e" + "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 50292 + "_sampling_priority_v1": 1.0, + "process_id": 75639.0 }, - "duration": 1105500, - "start": 1692710417165780513 + "duration": 2098667, + "start": 1776197184173971214 }, { "name": "graphql.parse", @@ -37,12 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 102458, - "start": 1692710417166025138 + "duration": 165750, + "start": 1776197184174211131 }, { "name": "graphql.validate", @@ -55,12 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 548167, - "start": 1692710417166169721 + "duration": 1335083, + "start": 1776197184174425548 }, { "name": "graphql.execute", @@ -73,17 +75,17 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 115208, - "start": 1692710417166756971 + "duration": 185792, + "start": 1776197184175871839 }, { "name": "graphql.resolve", @@ -96,9 +98,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 18959, - "start": 1692710417166824804 + "duration": 24875, + "start": 1776197184176003798 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json index d440c7ce4a1..2b9573651bd 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e4100000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "language": "python", - "runtime-id": "ea4afbfebb9a4284bb7eb192c35fdc7d" + "runtime-id": "6127cc7e98ba4c75b63718ca1595c38b" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 50295 + "_sampling_priority_v1": 1.0, + "process_id": 75789.0 }, - "duration": 858458, - "start": 1692710418280167430 + "duration": 877709, + "start": 1776197185030226256 }, { "name": "graphql.parse", @@ -37,12 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 84000, - "start": 1692710418280344846 + "duration": 158292, + "start": 1776197185030374548 }, { "name": "graphql.validate", @@ -55,12 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 446375, - "start": 1692710418280461180 + "duration": 422000, + "start": 1776197185030579256 }, { "name": "graphql.execute", @@ -73,15 +75,15 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 84917, - "start": 1692710418280930888 + "duration": 73375, + "start": 1776197185031023548 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json index 5393c7b99cb..07cff00b2f4 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json @@ -11,20 +11,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e4100000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "language": "python", - "runtime-id": "cfcd240f30a64938a983f08647fbe527" + "runtime-id": "511317cabce145c0be7e840ec72dc314" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 50298 + "_sampling_priority_v1": 1.0, + "process_id": 75803.0 }, - "duration": 786250, - "start": 1692710419356984972 + "duration": 1280750, + "start": 1776197185895890965 }, { "name": "graphql.parse", @@ -37,12 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 81333, - "start": 1692710419357155889 + "duration": 187417, + "start": 1776197185896062132 }, { "name": "graphql.validate", @@ -55,12 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 408625, - "start": 1692710419357266722 + "duration": 701625, + "start": 1776197185896285299 }, { "name": "graphql.execute", @@ -73,15 +75,15 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 64375, - "start": 1692710419357697347 + "duration": 90500, + "start": 1776197185897073132 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json index ea10862bc80..13ac2071e9a 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e4300000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "language": "python", - "runtime-id": "c8ccd50c821741189c5511d3dcde8349" + "runtime-id": "dfb55f4f943e4bc6ada5d4b4f8aec809" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17760 + "_sampling_priority_v1": 1.0, + "process_id": 75825.0 }, - "duration": 931909, - "start": 1691163327337036032 + "duration": 853708, + "start": 1776197187599787466 }, { "name": "graphql.parse", @@ -35,12 +37,12 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 90499, - "start": 1691163327337248502 + "duration": 162083, + "start": 1776197187599938216 }, { "name": "graphql.validate", @@ -52,12 +54,12 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 465866, - "start": 1691163327337375742 + "duration": 429709, + "start": 1776197187600130174 }, { "name": "graphql.execute", @@ -69,15 +71,15 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 84189, - "start": 1691163327337873760 + "duration": 52125, + "start": 1776197187600582341 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json index f4e367f0f43..9684b03cea7 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e4200000000", + "_dd.svc_src": "my-service", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "graphql", "language": "python", - "runtime-id": "17d840cf6c7242d3998ac029d0b647e4" + "runtime-id": "38f07e355b544f79b4fa1ac54bf97f72" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17763 + "_sampling_priority_v1": 1.0, + "process_id": 75814.0 }, - "duration": 883644, - "start": 1691163327874764909 + "duration": 863208, + "start": 1776197186760498591 }, { "name": "graphql.parse", @@ -35,12 +37,12 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "my-service", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 81715, - "start": 1691163327874957190 + "duration": 159916, + "start": 1776197186760653966 }, { "name": "graphql.validate", @@ -52,12 +54,12 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "my-service", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 451574, - "start": 1691163327875074319 + "duration": 428000, + "start": 1776197186760851174 }, { "name": "graphql.execute", @@ -69,15 +71,15 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "my-service", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 80838, - "start": 1691163327875557769 + "duration": 53292, + "start": 1776197186761301674 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json index 480a2374b02..f6babe4993a 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e4000000000", + "_dd.svc_src": "my-service", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "graphql", "language": "python", - "runtime-id": "c9349efc3ceb4239a80b3033abc90eb1" + "runtime-id": "455da0e314ab4db0800a81b662352551" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17766 + "_sampling_priority_v1": 1.0, + "process_id": 75763.0 }, - "duration": 943188, - "start": 1691163328418809039 + "duration": 870375, + "start": 1776197184061577964 }, { "name": "graphql.parse", @@ -35,12 +37,12 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "my-service", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 90776, - "start": 1691163328419012352 + "duration": 167375, + "start": 1776197184061739173 }, { "name": "graphql.validate", @@ -52,12 +54,12 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "my-service", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 486309, - "start": 1691163328419139517 + "duration": 431417, + "start": 1776197184061935714 }, { "name": "graphql.execute", @@ -69,15 +71,15 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "my-service", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 81322, - "start": 1691163328419660962 + "duration": 52584, + "start": 1776197184062388464 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json index a0cf793368f..4e039e3083f 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9e3f00000000", + "_dd.svc_src": "graphql", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "graphql", "language": "python", - "runtime-id": "30f8fe5c1fb64dd9bfef0547b6293f7a" + "runtime-id": "ce3bfc2c411f4fd5a0d5de3cd7493af0" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17769 + "_sampling_priority_v1": 1.0, + "process_id": 75752.0 }, - "duration": 916315, - "start": 1691163328967018776 + "duration": 847750, + "start": 1776197183151863172 }, { "name": "graphql.parse", @@ -35,12 +37,12 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 86175, - "start": 1691163328967218730 + "duration": 159125, + "start": 1776197183152011297 }, { "name": "graphql.validate", @@ -52,12 +54,12 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 467009, - "start": 1691163328967342478 + "duration": 430834, + "start": 1776197183152199172 }, { "name": "graphql.execute", @@ -69,15 +71,15 @@ "type": "graphql", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "query HELLO { hello }" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 82795, - "start": 1691163328967842141 + "duration": 51500, + "start": 1776197183152652547 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_200.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_200.json index 4efbb7dfd78..ff4724d8aa4 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_200.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_200.json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0a600000000", + "_dd.p.tid": "69de9ea300000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "b1b4dcdd742343c6a6a8810413d77edb", + "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92714.0 + "process_id": 78847.0 }, - "duration": 717416, - "start": 1771937958838602094 + "duration": 482375, + "start": 1776197283636951136 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 263834, - "start": 1771937958838836135 + "duration": 161792, + "start": 1776197283637081802 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 92125, - "start": 1771937958838950260 + "duration": 62166, + "start": 1776197283637150886 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "list" }, - "duration": 165500, - "start": 1771937958839134552 + "duration": 111042, + "start": 1776197283637263552 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_500_py3.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_500_py3.json index ab119296492..2ff86ef03e0 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_500_py3.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_500_py3.json @@ -11,26 +11,27 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0a500000000", + "_dd.p.tid": "69de9ea500000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "error.message": "Oops!", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 149, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", "error.type": "builtins.Exception", "http.method": "GET", "http.url": "http://localhost:80/error", "language": "python", - "runtime-id": "b1b4dcdd742343c6a6a8810413d77edb", + "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92714.0 + "process_id": 78847.0 }, - "duration": 1263166, - "start": 1771937957351639635 + "duration": 406417, + "start": 1776197285210242886 }, { "name": "wsgi.application", @@ -43,11 +44,12 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "error.message": "Oops!", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 149, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", "error.type": "builtins.Exception" }, - "duration": 999500, - "start": 1771937957351860801 + "duration": 254666, + "start": 1776197285210377095 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_base_exception_in_wsgi_app_py3.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_base_exception_in_wsgi_app_py3.json index 801647d3535..3ccf95823ae 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_base_exception_in_wsgi_app_py3.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_base_exception_in_wsgi_app_py3.json @@ -11,26 +11,27 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0a500000000", + "_dd.p.tid": "69de9ea000000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "error.message": "base exception raised in wsgi app", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 149, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 48, in application\n raise BaseException(\"base exception raised in wsgi app\")\nBaseException: base exception raised in wsgi app\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 48, in application\n raise BaseException(\"base exception raised in wsgi app\")\nBaseException: base exception raised in wsgi app\n", "error.type": "builtins.BaseException", "http.method": "GET", "http.url": "http://localhost:80/baseException", "language": "python", - "runtime-id": "b1b4dcdd742343c6a6a8810413d77edb", + "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92714.0 + "process_id": 78847.0 }, - "duration": 906916, - "start": 1771937957317027760 + "duration": 1255375, + "start": 1776197280639560967 }, { "name": "wsgi.application", @@ -43,11 +44,12 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "error.message": "base exception raised in wsgi app", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 149, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 48, in application\n raise BaseException(\"base exception raised in wsgi app\")\nBaseException: base exception raised in wsgi app\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 48, in application\n raise BaseException(\"base exception raised in wsgi app\")\nBaseException: base exception raised in wsgi app\n", "error.type": "builtins.BaseException" }, - "duration": 679833, - "start": 1771937957317224635 + "duration": 824750, + "start": 1776197280639963217 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_chunked.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_chunked.json index 0f7faf2cf17..469d0685d24 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_chunked.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_chunked.json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0ab00000000", + "_dd.p.tid": "69de9ea200000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/chunked", "language": "python", - "runtime-id": "b1b4dcdd742343c6a6a8810413d77edb", + "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92714.0 + "process_id": 78847.0 }, - "duration": 3251000, - "start": 1771937963197826137 + "duration": 1786959, + "start": 1776197282840627885 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 47417, - "start": 1771937963197973929 + "duration": 43250, + "start": 1776197282840806885 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 81500, - "start": 1771937963198189512 + "duration": 45834, + "start": 1776197282840983510 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "generator" }, - "duration": 2999334, - "start": 1771937963198058012 + "duration": 1524792, + "start": 1776197282840879677 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_distributed_tracing_nested.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_distributed_tracing_nested.json index 7f71e64c5b6..838e5982f85 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_distributed_tracing_nested.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_distributed_tracing_nested.json @@ -12,23 +12,24 @@ "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "b1b4dcdd742343c6a6a8810413d77edb", + "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92714.0 + "process_id": 78847.0 }, - "duration": 1517791, - "start": 1771937955743172384 + "duration": 1652000, + "start": 1776197281382070676 }, { "name": "wsgi.application", @@ -41,10 +42,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 1126666, - "start": 1771937955743365759 + "duration": 937125, + "start": 1776197281382614551 }, { "name": "wsgi.request", @@ -65,8 +67,8 @@ "http.url": "http://localhost:80/", "span.kind": "server" }, - "duration": 763583, - "start": 1771937955743891217 + "duration": 925208, + "start": 1776197281382777593 }, { "name": "wsgi.application", @@ -79,10 +81,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 393250, - "start": 1771937955744002009 + "duration": 524333, + "start": 1776197281382852801 }, { "name": "wsgi.start_response", @@ -99,8 +102,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 254583, - "start": 1771937955744111634 + "duration": 278458, + "start": 1776197281383057218 }, { "name": "wsgi.response", @@ -113,11 +116,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "list" }, - "duration": 215417, - "start": 1771937955744422050 + "duration": 285667, + "start": 1776197281383407009 }, { "name": "wsgi.start_response", @@ -134,8 +138,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 87208, - "start": 1771937955744237759 + "duration": 186583, + "start": 1776197281383123551 }, { "name": "wsgi.response", @@ -148,9 +152,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "list_iterator" }, - "duration": 155834, - "start": 1771937955744517925 + "duration": 143792, + "start": 1776197281383569384 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_generator_exit_ignored_snapshot.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_generator_exit_ignored_snapshot.json index ebee3e5689e..a9c63d440e6 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_generator_exit_ignored_snapshot.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_generator_exit_ignored_snapshot.json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0a900000000", + "_dd.p.tid": "69de9ea100000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/generatorError", "language": "python", - "runtime-id": "b1b4dcdd742343c6a6a8810413d77edb", + "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92714.0 + "process_id": 78847.0 }, - "duration": 3731208, - "start": 1771937961727337762 + "duration": 1992709, + "start": 1776197281397145634 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 57625, - "start": 1771937961727551095 + "duration": 35459, + "start": 1776197281397276259 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 125833, - "start": 1771937961727868762 + "duration": 51416, + "start": 1776197281397461218 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "generator" }, - "duration": 3386708, - "start": 1771937961727655345 + "duration": 1762875, + "start": 1776197281397339384 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-None].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-None].json index 8f6199fd04b..eef302c59c4 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-None].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-None].json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0a600000000", + "_dd.p.tid": "69de9ea500000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "113caaabc4934941b8527f80fb8e71e9", + "runtime-id": "ed18afc1812d46618977c7575286df0a", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92784.0 + "process_id": 78980.0 }, - "duration": 1527000, - "start": 1771937958719807052 + "duration": 430541, + "start": 1776197285132694595 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 441000, - "start": 1771937958720619802 + "duration": 188667, + "start": 1776197285132862678 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 78083, - "start": 1771937958720743469 + "duration": 40916, + "start": 1776197285132986595 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "list" }, - "duration": 230958, - "start": 1771937958721091927 + "duration": 55917, + "start": 1776197285133062886 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v0].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v0].json index 4e6673d8159..f0673f579fc 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v0].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v0].json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0a500000000", + "_dd.p.tid": "69de9ea200000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "be792b43dbd74d0dade601a90f1c332a", + "runtime-id": "401ec12512b545f79d7e9c621d8bfa56", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92738.0 + "process_id": 78884.0 }, - "duration": 1528709, - "start": 1771937957139035509 + "duration": 462625, + "start": 1776197282772825968 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 455625, - "start": 1771937957139846468 + "duration": 228625, + "start": 1776197282772948343 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 84333, - "start": 1771937957139968593 + "duration": 38000, + "start": 1776197282773057718 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "list" }, - "duration": 218625, - "start": 1771937957140334968 + "duration": 78041, + "start": 1776197282773202802 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v1].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v1].json index dbd1ceded69..36229e4585a 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v1].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v1].json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0a900000000", + "_dd.p.tid": "69de9ea100000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "48ac9d5395034ed6884af6d64255b2eb", + "runtime-id": "5d97edbd8aff47e6a0930e9cbbdaab3b", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92810.0 + "process_id": 78856.0 }, - "duration": 1501917, - "start": 1771937961598278803 + "duration": 347416, + "start": 1776197281316054218 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 446084, - "start": 1771937961599089303 + "duration": 155666, + "start": 1776197281316154468 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 81750, - "start": 1771937961599219178 + "duration": 35125, + "start": 1776197281316255801 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "list" }, - "duration": 205542, - "start": 1771937961599564178 + "duration": 73417, + "start": 1776197281316321384 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-None].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-None].json index 0c5020cdd63..82169fea732 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-None].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-None].json @@ -10,24 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9ea400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "bdc542e239144bfea43f4ec9f3ee434f", + "runtime-id": "3a2f96a6a384418ba8f44179ee3f0400", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 40594 + "_sampling_priority_v1": 1.0, + "process_id": 78959.0 }, - "duration": 303149, - "start": 1691165160730670817 + "duration": 350625, + "start": 1776197284304366886 }, { "name": "wsgi.application", @@ -39,11 +41,11 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 116075, - "start": 1691165160730781030 + "duration": 158458, + "start": 1776197284304482261 }, { "name": "wsgi.start_response", @@ -55,12 +57,12 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "span.kind": "server" }, - "duration": 33808, - "start": 1691165160730836666 + "duration": 34708, + "start": 1776197284304583553 }, { "name": "wsgi.response", @@ -72,10 +74,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "result_class": "list" }, - "duration": 54906, - "start": 1691165160730911184 + "duration": 55458, + "start": 1776197284304655386 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v0].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v0].json index b90f5582759..d88e3e1ec65 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v0].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v0].json @@ -10,24 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9ea300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "6397e25ebaba4665928aa8d2e4604ab7", + "runtime-id": "1a8c8f45d6684b9497b0f920d665b414", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 40597 + "_sampling_priority_v1": 1.0, + "process_id": 78898.0 }, - "duration": 308332, - "start": 1691165161218740196 + "duration": 377709, + "start": 1776197283498871260 }, { "name": "wsgi.application", @@ -39,11 +41,11 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 111044, - "start": 1691165161218864703 + "duration": 174125, + "start": 1776197283498975802 }, { "name": "wsgi.start_response", @@ -55,12 +57,12 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "span.kind": "server" }, - "duration": 33483, - "start": 1691165161218916977 + "duration": 39416, + "start": 1776197283499088344 }, { "name": "wsgi.response", @@ -72,10 +74,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "result_class": "list" }, - "duration": 52301, - "start": 1691165161218989038 + "duration": 77042, + "start": 1776197283499165302 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v1].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v1].json index c0e2768a3e2..93f1063f405 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v1].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v1].json @@ -10,24 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69de9ea200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "17feb2028a1b4205b2d92ca4f0cc8601", + "runtime-id": "e4bc30d9f1f54f10926436434dfb475f", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 40600 + "_sampling_priority_v1": 1.0, + "process_id": 78873.0 }, - "duration": 295776, - "start": 1691165161710648173 + "duration": 351875, + "start": 1776197282058996468 }, { "name": "wsgi.application", @@ -39,11 +41,11 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 108742, - "start": 1691165161710760868 + "duration": 164875, + "start": 1776197282059109218 }, { "name": "wsgi.start_response", @@ -55,12 +57,12 @@ "type": "web", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "span.kind": "server" }, - "duration": 33736, - "start": 1691165161710811032 + "duration": 40083, + "start": 1776197282059204218 }, { "name": "wsgi.response", @@ -72,10 +74,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "m", "component": "wsgi", "result_class": "list" }, - "duration": 53397, - "start": 1691165161710883076 + "duration": 56833, + "start": 1776197282059285343 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_stop_iteration_in_wsgi_app_py3.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_stop_iteration_in_wsgi_app_py3.json index c641717440b..2b9c7990d65 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_stop_iteration_in_wsgi_app_py3.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_stop_iteration_in_wsgi_app_py3.json @@ -11,25 +11,26 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0ab00000000", + "_dd.p.tid": "69de9ea300000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", "http.url": "http://localhost:80/stopIteration", "language": "python", - "runtime-id": "b1b4dcdd742343c6a6a8810413d77edb", + "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92714.0 + "process_id": 78847.0 }, - "duration": 699000, - "start": 1771937963224964387 + "duration": 336375, + "start": 1776197283579544969 }, { "name": "wsgi.application", @@ -42,10 +43,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 517000, - "start": 1771937963225170012 + "duration": 224375, + "start": 1776197283579681136 }, { "name": "wsgi.start_response", @@ -62,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 72250, - "start": 1771937963225292387 + "duration": 49000, + "start": 1776197283579750261 }, { "name": "wsgi.response", @@ -76,9 +78,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "result_class": "tuple" }, - "duration": 149416, - "start": 1771937963225485846 + "duration": 36417, + "start": 1776197283579834344 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware.json index 2ba9b6f3c1c..c99537c2d0e 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware.json @@ -11,24 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0a500000000", + "_dd.p.tid": "69de9ea300000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "http.status_code": "200", "language": "python", "request_tag": "req test tag set", - "runtime-id": "b1b4dcdd742343c6a6a8810413d77edb", + "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92714.0, + "process_id": 78847.0, "request_metric": 1.0 }, - "duration": 419209, - "start": 1771937957332486301 + "duration": 259583, + "start": 1776197283624845636 }, { "name": "test_wsgi.application", @@ -41,14 +42,15 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "app_tag": "app test tag set", "component": "wsgi" }, "metrics": { "app_metric": 2.0 }, - "duration": 139209, - "start": 1771937957332589676 + "duration": 82750, + "start": 1776197283624919469 }, { "name": "test_wsgi.response", @@ -61,12 +63,13 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "response_tag": "resp test tag set" }, "metrics": { "response_metric": 3.0 }, - "duration": 116292, - "start": 1771937957332768718 + "duration": 66458, + "start": 1776197283625027386 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware_500.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware_500.json index d2661c01ea3..e0c765747ea 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware_500.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware_500.json @@ -11,26 +11,27 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "699da0a500000000", + "_dd.p.tid": "69de9ea300000000", "_dd.svc_src": "wsgi", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "error.message": "Oops!", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 149, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", "error.type": "builtins.Exception", "language": "python", "request_tag": "req test tag set", - "runtime-id": "b1b4dcdd742343c6a6a8810413d77edb", + "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92714.0, + "process_id": 78847.0, "request_metric": 1.0 }, - "duration": 3043208, - "start": 1771937957283812926 + "duration": 314584, + "start": 1776197283647393177 }, { "name": "test_wsgi.application", @@ -43,11 +44,12 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.wsgi", + "_dd.svc_src": "wsgi", "component": "wsgi", "error.message": "Oops!", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 149, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", "error.type": "builtins.Exception" }, - "duration": 2876250, - "start": 1771937957283930384 + "duration": 211250, + "start": 1776197283647477802 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json new file mode 100644 index 00000000000..88df81496ea --- /dev/null +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json @@ -0,0 +1,29 @@ +[[ + { + "name": "internal", + "service": "tests.opentelemetry", + "resource": "async-function", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69dea02c00000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", + "language": "python", + "runtime-id": "92643b3a2ede41d298322f70159cf319", + "test-attribute1": "before-sleep", + "test-attribute2": "after-sleep" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 87611.0 + }, + "duration": 13852333, + "start": 1776197676928769679 + }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json new file mode 100644 index 00000000000..aabf4bb2a95 --- /dev/null +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json @@ -0,0 +1,80 @@ +[[ + { + "name": "internal", + "service": "tests.opentelemetry", + "resource": "test-otel-distributed-trace", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de9f3800000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", + "language": "python", + "runtime-id": "f64bcf1c53f24bb89c2b358e89b14ff7" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 86094.0 + }, + "duration": 3288500, + "start": 1776197432384893052 + }, + { + "name": "server", + "service": "", + "resource": "GET /otel", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69de9f3800000000", + "_dd.parent_id": "cd075330734c078b", + "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", + "http.flavor": "1.1", + "http.host": "0.0.0.0:8011", + "http.method": "GET", + "http.route": "/otel", + "http.scheme": "http", + "http.server_name": "0.0.0.0", + "http.status_code": "200", + "http.target": "/otel", + "http.user_agent": "python-requests/2.28.1", + "language": "python", + "net.host.name": "0.0.0.0:8011", + "net.peer.ip": "127.0.0.1", + "runtime-id": "971c971b1c2e4fd5a1fe97b0438a289f", + "span.kind": "server", + "tracestate": "dd=p:cd075330734c078b;s:1;t.dm:-0" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "net.host.port": 8011.0, + "net.peer.port": 58840.0, + "process_id": 86099.0 + }, + "duration": 706125, + "start": 1776197432386783552 + }, + { + "name": "internal", + "service": "", + "resource": "otel-flask-manual-span", + "trace_id": 0, + "span_id": 3, + "parent_id": 2, + "type": "", + "error": 0, + "duration": 33375, + "start": 1776197432387362593 + }]] From 744f8af93e296027dd40fdd24e17ae4c836c62bf Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 13:33:14 -0700 Subject: [PATCH 032/114] update snapshots: django_hosts, aws_lambda --- ..._handlers[ClassHandler-class_handler].json | 23 +-- ...andlers[StaticHandler-static_handler].json | 23 +-- ...d_handlers[handler2-instance_handler].json | 23 +-- ...[handler3-instance_handler_with_code].json | 23 +-- ...a.test_continue_on_early_trace_ending.json | 16 ++- ...da.test_aws_lambda.test_file_patching.json | 16 ++- ....test_aws_lambda.test_module_patching.json | 16 ++- ..._aws_lambda.test_timeout_traces[-100].json | 23 +-- ...t_aws_lambda.test_timeout_traces[100].json | 23 +-- ...st_aws_lambda.test_timeout_traces[10].json | 23 +-- ...t_aws_lambda.test_timeout_traces[200].json | 23 +-- ...test_django.test_django_hosts_request.json | 136 +++++++++++------- 12 files changed, 220 insertions(+), 148 deletions(-) diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[ClassHandler-class_handler].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[ClassHandler-class_handler].json index 8270fac7072..f235b805960 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[ClassHandler-class_handler].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[ClassHandler-class_handler].json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea42100000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "93982c58c4fb4e3f83fa0f20f5b23229" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9688 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 149859, - "start": 1691161784459633926 + "duration": 276167, + "start": 1776198689257913925 }, { "name": "result-trace", @@ -32,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 18783, - "start": 1691161784459734381 + "meta": { + "_dd.svc_src": "tests.contrib.aws_lambda" + }, + "duration": 49000, + "start": 1776198689258092550 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[StaticHandler-static_handler].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[StaticHandler-static_handler].json index 0b0f44b159f..49ad151775a 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[StaticHandler-static_handler].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[StaticHandler-static_handler].json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea41700000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "93982c58c4fb4e3f83fa0f20f5b23229" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9688 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 166523, - "start": 1691161784452905245 + "duration": 420625, + "start": 1776198679667419670 }, { "name": "result-trace", @@ -32,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 20269, - "start": 1691161784453016249 + "meta": { + "_dd.svc_src": "tests.contrib.aws_lambda" + }, + "duration": 42166, + "start": 1776198679667738254 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler2-instance_handler].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler2-instance_handler].json index b10aa57f5b2..52b5b117b05 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler2-instance_handler].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler2-instance_handler].json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea42100000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "93982c58c4fb4e3f83fa0f20f5b23229" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9688 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 146940, - "start": 1691161784465186433 + "duration": 223250, + "start": 1776198689295257508 }, { "name": "result-trace", @@ -32,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 18933, - "start": 1691161784465284474 + "meta": { + "_dd.svc_src": "tests.contrib.aws_lambda" + }, + "duration": 31583, + "start": 1776198689295413967 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler3-instance_handler_with_code].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler3-instance_handler_with_code].json index f5f64bfff12..cfd146af8ed 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler3-instance_handler_with_code].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler3-instance_handler_with_code].json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea42100000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "93982c58c4fb4e3f83fa0f20f5b23229" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9688 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 165575, - "start": 1691161784470453178 + "duration": 234666, + "start": 1776198689279849092 }, { "name": "result-trace", @@ -32,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 19529, - "start": 1691161784470564547 + "meta": { + "_dd.svc_src": "tests.contrib.aws_lambda" + }, + "duration": 38958, + "start": 1776198689280006925 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_continue_on_early_trace_ending.json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_continue_on_early_trace_ending.json index 96065062d4a..2d95b986696 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_continue_on_early_trace_ending.json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_continue_on_early_trace_ending.json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea41a00000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "2a38d844990949379810ed84bb6e71d7" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55112 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 6433000, - "start": 1677616801872185000 + "duration": 214875, + "start": 1776198682696422339 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_file_patching.json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_file_patching.json index 529c9949036..5bde44ed7d5 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_file_patching.json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_file_patching.json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea42100000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "4e9749a21cbd4bd4ab6281613a984dfa" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 79866 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 116000, - "start": 1676006126947991000 + "duration": 81250, + "start": 1776198689325546300 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_module_patching.json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_module_patching.json index 9dc61d86e72..d4f89cc486f 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_module_patching.json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_module_patching.json @@ -10,16 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea42100000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "4e9749a21cbd4bd4ab6281613a984dfa" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 79866 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 65000, - "start": 1676006126963042000 + "duration": 60334, + "start": 1776198689314807633 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[-100].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[-100].json index 423db77f621..e81af2c3329 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[-100].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[-100].json @@ -10,20 +10,22 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea41b00000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "error.message": "Datadog detected an Impending Timeout", "error.type": "Impending Timeout", "language": "python", - "runtime-id": "93982c58c4fb4e3f83fa0f20f5b23229" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9688 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 200772280, - "start": 1691161771833030263 + "duration": 207480917, + "start": 1776198683212460005 }, { "name": "timeout", @@ -34,6 +36,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 200258517, - "start": 1691161771833341867 + "meta": { + "_dd.svc_src": "tests.contrib.aws_lambda" + }, + "duration": 207097584, + "start": 1776198683212727172 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[100].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[100].json index 731395feb54..6af0a7e2222 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[100].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[100].json @@ -10,20 +10,22 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea41e00000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "error.message": "Datadog detected an Impending Timeout", "error.type": "Impending Timeout", "language": "python", - "runtime-id": "93982c58c4fb4e3f83fa0f20f5b23229" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9688 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 200561856, - "start": 1691161777881676990 + "duration": 204914125, + "start": 1776198686235209965 }, { "name": "timeout", @@ -34,6 +36,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 200158722, - "start": 1691161777881972654 + "meta": { + "_dd.svc_src": "tests.contrib.aws_lambda" + }, + "duration": 204127750, + "start": 1776198686235705924 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[10].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[10].json index 3854c247fbe..3adcaa977cd 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[10].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[10].json @@ -10,20 +10,22 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea42100000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "error.message": "Datadog detected an Impending Timeout", "error.type": "Impending Timeout", "language": "python", - "runtime-id": "93982c58c4fb4e3f83fa0f20f5b23229" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9688 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 290492011, - "start": 1691161774867225369 + "duration": 298035291, + "start": 1776198689336126842 }, { "name": "timeout", @@ -34,6 +36,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 290280174, - "start": 1691161774867341917 + "meta": { + "_dd.svc_src": "tests.contrib.aws_lambda" + }, + "duration": 297748708, + "start": 1776198689336295842 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[200].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[200].json index 232f9178fa1..3ce61721a50 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[200].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[200].json @@ -10,20 +10,22 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69dea41700000000", + "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "error.message": "Datadog detected an Impending Timeout", "error.type": "Impending Timeout", "language": "python", - "runtime-id": "93982c58c4fb4e3f83fa0f20f5b23229" + "runtime-id": "a684e05d0a384664989624077f99be0b" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9688 + "_sampling_priority_v1": 1.0, + "process_id": 88660.0 }, - "duration": 100440683, - "start": 1691161780889220418 + "duration": 102742375, + "start": 1776198679679804379 }, { "name": "timeout", @@ -34,6 +36,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 100225899, - "start": 1691161780889337821 + "meta": { + "_dd.svc_src": "tests.contrib.aws_lambda" + }, + "duration": 102551667, + "start": 1776198679679944295 }]] diff --git a/tests/snapshots/tests.contrib.django_hosts.test_django.test_django_hosts_request.json b/tests/snapshots/tests.contrib.django_hosts.test_django.test_django_hosts_request.json index 390f1875883..e273d557585 100644 --- a/tests/snapshots/tests.contrib.django_hosts.test_django.test_django_hosts_request.json +++ b/tests/snapshots/tests.contrib.django_hosts.test_django.test_django_hosts_request.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.django_hosts", "_dd.p.dm": "-0", - "_dd.p.tid": "699d717300000000", + "_dd.p.tid": "69dea47100000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.django_hosts", "component": "django", "django.request.class": "django.core.handlers.wsgi.WSGIRequest", "django.response.class": "django.http.response.HttpResponse", @@ -23,7 +24,7 @@ "http.status_code": "200", "http.url": "http://app.example.org/", "language": "python", - "runtime-id": "efaf76d2017949e0bf9970f2fd9356fe", + "runtime-id": "995e8da4845545f98ea738a7036bde55", "span.kind": "server" }, "metrics": { @@ -31,10 +32,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 45846.0 + "process_id": 92289.0 }, - "duration": 14550333, - "start": 1771925875978923300 + "duration": 10357417, + "start": 1776198769005216670 }, { "name": "django.middleware", @@ -47,10 +48,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 11697584, - "start": 1771925875981161841 + "duration": 9140917, + "start": 1776198769006075878 }, { "name": "django.middleware", @@ -63,10 +65,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 608125, - "start": 1771925875981283091 + "duration": 334000, + "start": 1776198769006150587 }, { "name": "django.middleware", @@ -79,10 +82,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 10636250, - "start": 1771925875982193675 + "duration": 8649250, + "start": 1776198769006545087 }, { "name": "django.middleware", @@ -95,10 +99,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 1029875, - "start": 1771925875982299216 + "duration": 569208, + "start": 1776198769006605962 }, { "name": "django.middleware", @@ -111,10 +116,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 9221209, - "start": 1771925875983435841 + "duration": 7857542, + "start": 1776198769007235295 }, { "name": "django.middleware", @@ -127,10 +133,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 95917, - "start": 1771925875983543591 + "duration": 69958, + "start": 1776198769007306337 }, { "name": "django.middleware", @@ -143,10 +150,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 8783959, - "start": 1771925875983727091 + "duration": 7571250, + "start": 1776198769007418170 }, { "name": "django.middleware", @@ -159,10 +167,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 66500, - "start": 1771925875983822633 + "duration": 45916, + "start": 1776198769007477587 }, { "name": "django.middleware", @@ -175,10 +184,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 8406334, - "start": 1771925875983968591 + "duration": 7322625, + "start": 1776198769007562295 }, { "name": "django.middleware", @@ -191,10 +201,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 126000, - "start": 1771925875984056758 + "duration": 100125, + "start": 1776198769007617753 }, { "name": "django.middleware", @@ -207,10 +218,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 8095000, - "start": 1771925875984249925 + "duration": 7078792, + "start": 1776198769007760253 }, { "name": "django.middleware", @@ -223,10 +235,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 4057708, - "start": 1771925875984339008 + "duration": 3121834, + "start": 1776198769007815503 }, { "name": "django.middleware", @@ -239,10 +252,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 3719917, - "start": 1771925875988483383 + "duration": 3733542, + "start": 1776198769011003378 }, { "name": "django.middleware", @@ -255,10 +269,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 3407459, - "start": 1771925875988637841 + "duration": 3551042, + "start": 1776198769011074170 }, { "name": "django.middleware", @@ -271,10 +286,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 52000, - "start": 1771925875988750425 + "duration": 40417, + "start": 1776198769011133628 }, { "name": "django.middleware", @@ -287,10 +303,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 3012708, - "start": 1771925875988866550 + "duration": 3298292, + "start": 1776198769011213545 }, { "name": "django.middleware", @@ -303,10 +320,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 69875, - "start": 1771925875991133091 + "duration": 92875, + "start": 1776198769013859837 }, { "name": "django.view", @@ -319,10 +337,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 353167, - "start": 1771925875991296966 + "duration": 301958, + "start": 1776198769014053045 }, { "name": "django.middleware", @@ -335,10 +354,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 95125, - "start": 1771925875991749758 + "duration": 67541, + "start": 1776198769014418087 }, { "name": "django.middleware", @@ -351,10 +371,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 71833, - "start": 1771925875991941300 + "duration": 50833, + "start": 1776198769014550712 }, { "name": "django.middleware", @@ -367,10 +388,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 66375, - "start": 1771925875992106216 + "duration": 51042, + "start": 1776198769014662545 }, { "name": "django.middleware", @@ -383,10 +405,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 50959, - "start": 1771925875992263841 + "duration": 41250, + "start": 1776198769014773962 }, { "name": "django.middleware", @@ -399,10 +422,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 46958, - "start": 1771925875992434383 + "duration": 41875, + "start": 1776198769014925087 }, { "name": "django.middleware", @@ -415,10 +439,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 56916, - "start": 1771925875992570550 + "duration": 45250, + "start": 1776198769015025253 }, { "name": "django.middleware", @@ -431,8 +456,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", + "_dd.svc_src": "m", "component": "django" }, - "duration": 67209, - "start": 1771925875992732716 + "duration": 43541, + "start": 1776198769015128337 }]] From f95d5e6bc6fb16a7561315348ad16f93f8c90c8e Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 14 Apr 2026 13:40:22 -0700 Subject: [PATCH 033/114] update unittest snapshots --- ...unittest_generates_coverage_correctly.json | 136 ++++++------ ...rates_coverage_correctly_with_skipped.json | 138 ++++++------ ...t_unittest_generates_source_file_data.json | 168 +++++++------- ..._force_run_multiple_unskippable_tests.json | 170 +++++++------- ...test_will_force_run_unskippable_tests.json | 140 ++++++------ ...st_unittest_will_include_custom_tests.json | 140 ++++++------ ....test_unittest_will_include_lines_pct.json | 106 ++++----- ...ort_coverage_by_test_with_itr_skipped.json | 140 ++++++------ ...age_by_test_with_itr_skipped_multiple.json | 140 ++++++------ ...t_will_skip_invalid_unskippable_tests.json | 208 ++++++++++-------- ...ip_unskippable_test_if_skip_decorator.json | 208 ++++++++++-------- 11 files changed, 907 insertions(+), 787 deletions(-) diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_coverage_correctly.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_coverage_correctly.json index 8925130f0fa..f045b3b339c 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_coverage_correctly.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_coverage_correctly.json @@ -12,35 +12,37 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9600000000", + "_dd.p.tid": "69dea62800000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "5f17eb3ac13841e2b1d47eb101db8e05", + "os.version": "6.12.72-linuxkit", + "runtime-id": "b984d97ba84e48b9a3cb7b9f25c7497e", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", "test.type": "test", - "test_session_id": "14749987244129625702", + "test_session_id": "16692870556444285899", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 582 + "_sampling_priority_v1": 1.0, + "process_id": 96083.0 }, - "duration": 17006416, - "start": 1761045398080588595 + "duration": 24697916, + "start": 1776199208953296430 }, { "name": "unittest.test_module", @@ -55,36 +57,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9600000000", + "_dd.p.tid": "69dea62800000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.tests_skipping.enabled": "false", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.type": "test", - "test_module_id": "703002646018746310", - "test_session_id": "14749987244129625702", + "test_module_id": "15831599536051076054", + "test_session_id": "16692870556444285899", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 16610292, - "start": 1761045398080812136 + "duration": 24233084, + "start": 1776199208953438846 }, { "name": "unittest.test_suite", @@ -99,36 +103,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9600000000", + "_dd.p.tid": "69dea62800000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "703002646018746310", - "test_session_id": "14749987244129625702", - "test_suite_id": "15477610504494030862", + "test_module_id": "15831599536051076054", + "test_session_id": "16692870556444285899", + "test_suite_id": "1821226291113368038", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 16537250, - "start": 1761045398080851553 + "duration": 24136167, + "start": 1776199208953486471 }, { "name": "unittest.test", @@ -143,21 +149,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9600000000", + "_dd.p.tid": "69dea62800000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[12, 0, 13, 0, -1]]}, {\"filename\": \"lib_fn.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_cov", @@ -165,20 +173,20 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "703002646018746310", - "test_session_id": "14749987244129625702", - "test_suite_id": "15477610504494030862", + "test_module_id": "15831599536051076054", + "test_session_id": "16692870556444285899", + "test_suite_id": "1821226291113368038", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 14, - "test.source.start": 11 + "_sampling_priority_v1": 1.0, + "test.source.end": 14.0, + "test.source.start": 11.0 }, - "duration": 15066250, - "start": 1761045398080867136 + "duration": 21807250, + "start": 1776199208953508430 }, { "name": "unittest.test", @@ -193,21 +201,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9600000000", + "_dd.p.tid": "69dea62800000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[15, 0, 16, 0, -1]]}, {\"filename\": \"ret_false.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_second", @@ -215,18 +225,18 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "703002646018746310", - "test_session_id": "14749987244129625702", - "test_suite_id": "15477610504494030862", + "test_module_id": "15831599536051076054", + "test_session_id": "16692870556444285899", + "test_suite_id": "1821226291113368038", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 17, - "test.source.start": 14 + "_sampling_priority_v1": 1.0, + "test.source.end": 17.0, + "test.source.start": 14.0 }, - "duration": 615042, - "start": 1761045398096721178 + "duration": 1016625, + "start": 1776199208976516388 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_coverage_correctly_with_skipped.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_coverage_correctly_with_skipped.json index e797879b656..ddc69e9f956 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_coverage_correctly_with_skipped.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_coverage_correctly_with_skipped.json @@ -12,35 +12,37 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9b00000000", + "_dd.p.tid": "69dea62700000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly_with_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly_with_skipped0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "ca39423d732644cba69436089fb364ae", + "os.version": "6.12.72-linuxkit", + "runtime-id": "df860584899a4770b57bfe3547ecfa36", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", "test.type": "test", - "test_session_id": "6711654262532892966", + "test_session_id": "8528309925919656551", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 714 + "_sampling_priority_v1": 1.0, + "process_id": 96042.0 }, - "duration": 17183667, - "start": 1761045403567640166 + "duration": 25604666, + "start": 1776199207287662304 }, { "name": "unittest.test_module", @@ -55,36 +57,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9b00000000", + "_dd.p.tid": "69dea62700000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly_with_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly_with_skipped0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.tests_skipping.enabled": "false", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.type": "test", - "test_module_id": "6335949556170427208", - "test_session_id": "6711654262532892966", + "test_module_id": "1781717454289618617", + "test_session_id": "8528309925919656551", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 16801125, - "start": 1761045403567857416 + "duration": 25070500, + "start": 1776199207287813929 }, { "name": "unittest.test_suite", @@ -99,36 +103,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9b00000000", + "_dd.p.tid": "69dea62700000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly_with_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly_with_skipped0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "6335949556170427208", - "test_session_id": "6711654262532892966", - "test_suite_id": "10640152969616250242", + "test_module_id": "1781717454289618617", + "test_session_id": "8528309925919656551", + "test_suite_id": "2874247439968278843", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 16725625, - "start": 1761045403567899625 + "duration": 24970417, + "start": 1776199207287860845 }, { "name": "unittest.test", @@ -143,21 +149,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9b00000000", + "_dd.p.tid": "69dea62700000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly_with_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly_with_skipped0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[12, 0, 13, 0, -1]]}, {\"filename\": \"lib_fn.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_cov", @@ -165,20 +173,20 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "6335949556170427208", - "test_session_id": "6711654262532892966", - "test_suite_id": "10640152969616250242", + "test_module_id": "1781717454289618617", + "test_session_id": "8528309925919656551", + "test_suite_id": "2874247439968278843", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 14, - "test.source.start": 11 + "_sampling_priority_v1": 1.0, + "test.source.end": 14.0, + "test.source.start": 11.0 }, - "duration": 15386208, - "start": 1761045403567916583 + "duration": 22688333, + "start": 1776199207287884929 }, { "name": "unittest.test", @@ -193,40 +201,42 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9b00000000", + "_dd.p.tid": "69dea62700000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_coverage_correctly_with_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_coverage_correctly_with_skipped0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_second", "test.skip_reason": "this should not have coverage", - "test.source.file": "../../../../home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py", + "test.source.file": "../../../../home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "6335949556170427208", - "test_session_id": "6711654262532892966", - "test_suite_id": "10640152969616250242", + "test_module_id": "1781717454289618617", + "test_session_id": "8528309925919656551", + "test_suite_id": "2874247439968278843", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 18, - "test.source.start": 14 + "_sampling_priority_v1": 1.0, + "test.source.end": 18.0, + "test.source.start": 14.0 }, - "duration": 376917, - "start": 1761045403584197083 + "duration": 730709, + "start": 1776199207311978845 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_source_file_data.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_source_file_data.json index 0e7bcb39cb2..2ad076d71c3 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_source_file_data.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_generates_source_file_data.json @@ -12,35 +12,37 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9e00000000", + "_dd.p.tid": "69dea61900000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_source_file_data0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_source_file_data0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "97773a7dcd8f4140b1288e11723e4708", + "os.version": "6.12.72-linuxkit", + "runtime-id": "b7a09e3c19da4878b95f5ccc9686d153", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.tests_skipping.enabled": "false", "test.status": "fail", "test.type": "test", - "test_session_id": "7644090640528218058", + "test_session_id": "16002388934897445937", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 780 + "_sampling_priority_v1": 1.0, + "process_id": 95714.0 }, - "duration": 4336625, - "start": 1761045406276646959 + "duration": 2128958, + "start": 1776199193844864506 }, { "name": "unittest.test_module", @@ -55,36 +57,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9e00000000", + "_dd.p.tid": "69dea61900000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_source_file_data0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_source_file_data0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.tests_skipping.enabled": "false", "test.module": "test_source_file", "test.module_path": "test_source_file.py", "test.status": "fail", "test.type": "test", - "test_module_id": "12365591434916211946", - "test_session_id": "7644090640528218058", + "test_module_id": "7935973058763873078", + "test_session_id": "16002388934897445937", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 3800042, - "start": 1761045406277083126 + "duration": 1898750, + "start": 1776199193845004506 }, { "name": "unittest.test_suite", @@ -99,36 +103,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9e00000000", + "_dd.p.tid": "69dea61900000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_source_file_data0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_source_file_data0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_source_file", "test.module_path": "test_source_file.py", "test.status": "fail", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "12365591434916211946", - "test_session_id": "7644090640528218058", - "test_suite_id": "5131755167452012317", + "test_module_id": "7935973058763873078", + "test_session_id": "16002388934897445937", + "test_suite_id": "9649527923300538868", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 3663250, - "start": 1761045406277190376 + "duration": 1824125, + "start": 1776199193845050797 }, { "name": "unittest.test", @@ -143,20 +149,22 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9e00000000", + "_dd.p.tid": "69dea61900000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_source_file_data0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_source_file_data0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_source_file", "test.module_path": "test_source_file.py", "test.name": "test_first", @@ -164,20 +172,20 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "12365591434916211946", - "test_session_id": "7644090640528218058", - "test_suite_id": "5131755167452012317", + "test_module_id": "7935973058763873078", + "test_session_id": "16002388934897445937", + "test_suite_id": "9649527923300538868", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 7, - "test.source.start": 4 + "_sampling_priority_v1": 1.0, + "test.source.end": 7.0, + "test.source.start": 4.0 }, - "duration": 2165958, - "start": 1761045406277221251 + "duration": 514292, + "start": 1776199193845071214 }, { "name": "unittest.test", @@ -192,20 +200,22 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9e00000000", + "_dd.p.tid": "69dea61900000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_source_file_data0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_source_file_data0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_source_file", "test.module_path": "test_source_file.py", "test.name": "test_second", @@ -213,20 +223,20 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "12365591434916211946", - "test_session_id": "7644090640528218058", - "test_suite_id": "5131755167452012317", + "test_module_id": "7935973058763873078", + "test_session_id": "16002388934897445937", + "test_suite_id": "9649527923300538868", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 10, - "test.source.start": 7 + "_sampling_priority_v1": 1.0, + "test.source.end": 10.0, + "test.source.start": 7.0 }, - "duration": 469834, - "start": 1761045406279801209 + "duration": 349250, + "start": 1776199193845902172 }, { "name": "unittest.test", @@ -241,23 +251,25 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9e00000000", + "_dd.p.tid": "69dea61900000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_generates_source_file_data0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_generates_source_file_data0,svc.auto:unittest", "component": "unittest", "error.message": "", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py\", line 59, in testPartExecutor\n yield\n File \"/home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py\", line 592, in run\n self._callTestMethod(testMethod)\n File \"/home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py\", line 550, in _callTestMethod\n method()\n File \"/tmp/pytest-of-bits/pytest-0/test_unittest_generates_source_file_data0/test_source_file.py\", line 12, in test_third\n assert ret_false()\nAssertionError\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py\", line 58, in testPartExecutor\n yield\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py\", line 634, in run\n self._callTestMethod(testMethod)\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py\", line 589, in _callTestMethod\n if method() is not None:\n ^^^^^^^^\n File \"/tmp/pytest-of-bits/pytest-113/test_unittest_generates_source_file_data0/test_source_file.py\", line 12, in test_third\n assert ret_false()\n ^^^^^^^^^^^\nAssertionError\n", "error.type": "builtins.AssertionError", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_source_file", "test.module_path": "test_source_file.py", "test.name": "test_third", @@ -265,18 +277,18 @@ "test.status": "fail", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "12365591434916211946", - "test_session_id": "7644090640528218058", - "test_suite_id": "5131755167452012317", + "test_module_id": "7935973058763873078", + "test_session_id": "16002388934897445937", + "test_suite_id": "9649527923300538868", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 13, - "test.source.start": 10 + "_sampling_priority_v1": 1.0, + "test.source.end": 13.0, + "test.source.start": 10.0 }, - "duration": 430959, - "start": 1761045406280359209 + "duration": 488208, + "start": 1776199193846338714 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_force_run_multiple_unskippable_tests.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_force_run_multiple_unskippable_tests.json index e2d38484445..b72dd733f00 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_force_run_multiple_unskippable_tests.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_force_run_multiple_unskippable_tests.json @@ -13,21 +13,23 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9a00000000", + "_dd.p.tid": "69dea62000000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_multiple_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_multiple_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "3c0bc9737af2436883d6fe50a9060eff", + "os.version": "6.12.72-linuxkit", + "runtime-id": "8064fca5ee6d41bc869719627e2b4c0d", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -35,18 +37,18 @@ "test.itr.unskippable": "true", "test.status": "pass", "test.type": "test", - "test_session_id": "11663129068061892699", + "test_session_id": "12295395089061887561", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 681, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "process_id": 95878.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 18576208, - "start": 1761045402203162805 + "duration": 26997083, + "start": 1776199200614573801 }, { "name": "unittest.test_module", @@ -62,20 +64,22 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9a00000000", + "_dd.p.tid": "69dea62000000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_multiple_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_multiple_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -85,18 +89,18 @@ "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.type": "test", - "test_module_id": "9560429548009929134", - "test_session_id": "11663129068061892699", + "test_module_id": "17062977892791482444", + "test_session_id": "12295395089061887561", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 18205292, - "start": 1761045402203369513 + "duration": 26444625, + "start": 1776199200614741926 }, { "name": "unittest.test_suite", @@ -111,36 +115,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9a00000000", + "_dd.p.tid": "69dea62000000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_multiple_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_multiple_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "9560429548009929134", - "test_session_id": "11663129068061892699", - "test_suite_id": "16365821164707812065", + "test_module_id": "17062977892791482444", + "test_session_id": "12295395089061887561", + "test_suite_id": "9076637346623875181", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 18126750, - "start": 1761045402203415847 + "duration": 26343833, + "start": 1776199200614793676 }, { "name": "unittest.test", @@ -155,21 +161,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9a00000000", + "_dd.p.tid": "69dea62000000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_multiple_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_multiple_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[33, 0, 34, 0, -1]]}, {\"filename\": \"lib_fn.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.unskippable": "true", "test.module": "test_my_coverage", @@ -179,20 +187,20 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "9560429548009929134", - "test_session_id": "11663129068061892699", - "test_suite_id": "16365821164707812065", + "test_module_id": "17062977892791482444", + "test_session_id": "12295395089061887561", + "test_suite_id": "9076637346623875181", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 35, - "test.source.start": 31 + "_sampling_priority_v1": 1.0, + "test.source.end": 35.0, + "test.source.start": 31.0 }, - "duration": 16118333, - "start": 1761045402203431972 + "duration": 22962208, + "start": 1776199200614816134 }, { "name": "unittest.test", @@ -207,21 +215,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9a00000000", + "_dd.p.tid": "69dea62000000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_multiple_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_multiple_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[37, 0, 38, 0, -1]]}, {\"filename\": \"ret_false.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.unskippable": "true", "test.module": "test_my_coverage", @@ -231,20 +241,20 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "9560429548009929134", - "test_session_id": "11663129068061892699", - "test_suite_id": "16365821164707812065", + "test_module_id": "17062977892791482444", + "test_session_id": "12295395089061887561", + "test_suite_id": "9076637346623875181", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 39, - "test.source.start": 35 + "_sampling_priority_v1": 1.0, + "test.source.end": 39.0, + "test.source.start": 35.0 }, - "duration": 700125, - "start": 1761045402220273597 + "duration": 1154708, + "start": 1776199200639194801 }, { "name": "unittest.test", @@ -259,21 +269,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9a00000000", + "_dd.p.tid": "69dea62000000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_multiple_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_multiple_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[40, 0, 41, 0, -1]]}, {\"filename\": \"ret_false2.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_third", @@ -281,18 +293,18 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "9560429548009929134", - "test_session_id": "11663129068061892699", - "test_suite_id": "16365821164707812065", + "test_module_id": "17062977892791482444", + "test_session_id": "12295395089061887561", + "test_suite_id": "9076637346623875181", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 42, - "test.source.start": 39 + "_sampling_priority_v1": 1.0, + "test.source.end": 42.0, + "test.source.start": 39.0 }, - "duration": 437917, - "start": 1761045402221059555 + "duration": 585125, + "start": 1776199200640479551 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_force_run_unskippable_tests.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_force_run_unskippable_tests.json index c80d2f16b1c..63d8f8cfabb 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_force_run_unskippable_tests.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_force_run_unskippable_tests.json @@ -13,21 +13,23 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9300000000", + "_dd.p.tid": "69dea61e00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "339594eed9cf45c9b26a96bc42f7ff0b", + "os.version": "6.12.72-linuxkit", + "runtime-id": "4a72ce0a9f10408f9f4773055940d5ee", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -35,18 +37,18 @@ "test.itr.unskippable": "true", "test.status": "pass", "test.type": "test", - "test_session_id": "126203612833434448", + "test_session_id": "2422803294260228624", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 516, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "process_id": 95837.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 19209791, - "start": 1761045395353150052 + "duration": 27740000, + "start": 1776199198892069633 }, { "name": "unittest.test_module", @@ -62,20 +64,22 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9300000000", + "_dd.p.tid": "69dea61e00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -85,18 +89,18 @@ "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.type": "test", - "test_module_id": "8901040782891963304", - "test_session_id": "126203612833434448", + "test_module_id": "12756968779252443532", + "test_session_id": "2422803294260228624", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 18765708, - "start": 1761045395353427885 + "duration": 27043792, + "start": 1776199198892215008 }, { "name": "unittest.test_suite", @@ -111,36 +115,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9300000000", + "_dd.p.tid": "69dea61e00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "8901040782891963304", - "test_session_id": "126203612833434448", - "test_suite_id": "10358770731401650169", + "test_module_id": "12756968779252443532", + "test_session_id": "2422803294260228624", + "test_suite_id": "4438887664249645691", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 18668125, - "start": 1761045395353487343 + "duration": 26937291, + "start": 1776199198892265175 }, { "name": "unittest.test", @@ -155,22 +161,24 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9300000000", + "_dd.p.tid": "69dea61e00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_unskippable_tests0,svc.auto:unittest", "component": "unittest", "itr_correlation_id": "unittestcorrelationid", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[33, 0, 34, 0, -1]]}, {\"filename\": \"lib_fn.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.unskippable": "true", "test.module": "test_my_coverage", @@ -180,20 +188,20 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "8901040782891963304", - "test_session_id": "126203612833434448", - "test_suite_id": "10358770731401650169", + "test_module_id": "12756968779252443532", + "test_session_id": "2422803294260228624", + "test_suite_id": "4438887664249645691", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 35, - "test.source.start": 31 + "_sampling_priority_v1": 1.0, + "test.source.end": 35.0, + "test.source.start": 31.0 }, - "duration": 17126417, - "start": 1761045395353506843 + "duration": 23733542, + "start": 1776199198892285841 }, { "name": "unittest.test", @@ -208,22 +216,24 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9300000000", + "_dd.p.tid": "69dea61e00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_force_run_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_force_run_unskippable_tests0,svc.auto:unittest", "component": "unittest", "itr_correlation_id": "unittestcorrelationid", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[36, 0, 37, 0, -1]]}, {\"filename\": \"ret_false.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_second", @@ -231,18 +241,18 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "8901040782891963304", - "test_session_id": "126203612833434448", - "test_suite_id": "10358770731401650169", + "test_module_id": "12756968779252443532", + "test_session_id": "2422803294260228624", + "test_suite_id": "4438887664249645691", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 38, - "test.source.start": 35 + "_sampling_priority_v1": 1.0, + "test.source.end": 38.0, + "test.source.start": 35.0 }, - "duration": 635250, - "start": 1761045395371458218 + "duration": 1254292, + "start": 1776199198917835216 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_include_custom_tests.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_include_custom_tests.json index 08915512fe2..1f606961abb 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_include_custom_tests.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_include_custom_tests.json @@ -13,22 +13,24 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9700000000", + "_dd.p.tid": "69dea62300000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_include_custom_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_include_custom_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "1c0b8f2513e74907ba2ce3f82c126721", + "os.version": "6.12.72-linuxkit", + "runtime-id": "29487eb7f3b9453a92f1934c7de4c1b9", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.configuration.custom_key": "some_value", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -36,18 +38,18 @@ "test.itr.unskippable": "true", "test.status": "pass", "test.type": "test", - "test_session_id": "9089753766336520118", + "test_session_id": "18030281782435178824", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 615, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "process_id": 95960.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 18096125, - "start": 1761045399489550095 + "duration": 26944333, + "start": 1776199203957524969 }, { "name": "unittest.test_module", @@ -63,21 +65,23 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9700000000", + "_dd.p.tid": "69dea62300000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_include_custom_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_include_custom_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.configuration.custom_key": "some_value", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -87,18 +91,18 @@ "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.type": "test", - "test_module_id": "9001687357921218575", - "test_session_id": "9089753766336520118", + "test_module_id": "10305937017699017565", + "test_session_id": "18030281782435178824", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 17704667, - "start": 1761045399489777262 + "duration": 26418291, + "start": 1776199203957683094 }, { "name": "unittest.test_suite", @@ -113,37 +117,39 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9700000000", + "_dd.p.tid": "69dea62300000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_include_custom_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_include_custom_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.configuration.custom_key": "some_value", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "9001687357921218575", - "test_session_id": "9089753766336520118", - "test_suite_id": "7365937004524415996", + "test_module_id": "10305937017699017565", + "test_session_id": "18030281782435178824", + "test_suite_id": "14400031786399546043", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 17619833, - "start": 1761045399489828137 + "duration": 26314500, + "start": 1776199203957736802 }, { "name": "unittest.test", @@ -158,22 +164,24 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9700000000", + "_dd.p.tid": "69dea62300000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_include_custom_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_include_custom_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.configuration.custom_key": "some_value", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[32, 0, 33, 0, -1]]}, {\"filename\": \"lib_fn.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "true", "test.itr.unskippable": "true", "test.module": "test_my_coverage", @@ -183,20 +191,20 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "9001687357921218575", - "test_session_id": "9089753766336520118", - "test_suite_id": "7365937004524415996", + "test_module_id": "10305937017699017565", + "test_session_id": "18030281782435178824", + "test_suite_id": "14400031786399546043", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 34, - "test.source.start": 30 + "_sampling_priority_v1": 1.0, + "test.source.end": 34.0, + "test.source.start": 30.0 }, - "duration": 16171708, - "start": 1761045399489845054 + "duration": 23882958, + "start": 1776199203957767594 }, { "name": "unittest.test", @@ -211,22 +219,24 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9700000000", + "_dd.p.tid": "69dea62300000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_include_custom_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_include_custom_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.configuration.custom_key": "some_value", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[35, 0, 36, 0, -1]]}, {\"filename\": \"ret_false.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_second", @@ -234,18 +244,18 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "9001687357921218575", - "test_session_id": "9089753766336520118", - "test_suite_id": "7365937004524415996", + "test_module_id": "10305937017699017565", + "test_session_id": "18030281782435178824", + "test_suite_id": "14400031786399546043", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 37, - "test.source.start": 34 + "_sampling_priority_v1": 1.0, + "test.source.end": 37.0, + "test.source.start": 34.0 }, - "duration": 649792, - "start": 1761045399506747595 + "duration": 1046125, + "start": 1776199203982921427 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_include_lines_pct.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_include_lines_pct.json index bf62cf8db85..baf18e67ac1 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_include_lines_pct.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_include_lines_pct.json @@ -11,36 +11,38 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76ba000000000", + "_dd.p.tid": "69dea62500000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_unittest_will_include_lines_pct0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "8409d592216c4c3b8a681f4a5726a1bb", + "os.version": "6.12.72-linuxkit", + "runtime-id": "d1d82a64a0b3438bad05c16c6b1aec2a", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", "test.type": "test", - "test_session_id": "13037962541638678276", + "test_session_id": "6147217231690843879", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 846, + "_sampling_priority_v1": 1.0, + "process_id": 96001.0, "test.code_coverage.lines_pct": 60.0 }, - "duration": 6356500, - "start": 1761045408987398127 + "duration": 6882583, + "start": 1776199205631463095 }, { "name": "unittest.test_module", @@ -54,36 +56,38 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76ba000000000", + "_dd.p.tid": "69dea62500000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_unittest_will_include_lines_pct0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.tests_skipping.enabled": "false", "test.module": "test_tools", "test.module_path": "test_tools.py", "test.status": "pass", "test.type": "test", - "test_module_id": "9096383091596905781", - "test_session_id": "13037962541638678276", + "test_module_id": "5442105526857567619", + "test_session_id": "6147217231690843879", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 3437667, - "start": 1761045408987737502 + "duration": 1348083, + "start": 1776199205631889345 }, { "name": "unittest.test_suite", @@ -97,36 +101,38 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76ba000000000", + "_dd.p.tid": "69dea62500000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_unittest_will_include_lines_pct0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_tools", "test.module_path": "test_tools.py", "test.status": "pass", "test.suite": "CodeCoverageTestCase", "test.type": "test", - "test_module_id": "9096383091596905781", - "test_session_id": "13037962541638678276", - "test_suite_id": "14142878580177988526", + "test_module_id": "5442105526857567619", + "test_session_id": "6147217231690843879", + "test_suite_id": "1489120881677055558", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 3304917, - "start": 1761045408987802752 + "duration": 1167667, + "start": 1776199205631988178 }, { "name": "unittest.test", @@ -140,20 +146,22 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76ba000000000", + "_dd.p.tid": "69dea62500000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_unittest_will_include_lines_pct0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CodeCoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_tools", "test.module_path": "test_tools.py", "test.name": "test_add_two_number_list", @@ -161,18 +169,18 @@ "test.status": "pass", "test.suite": "CodeCoverageTestCase", "test.type": "test", - "test_module_id": "9096383091596905781", - "test_session_id": "13037962541638678276", - "test_suite_id": "14142878580177988526", + "test_module_id": "5442105526857567619", + "test_session_id": "6147217231690843879", + "test_suite_id": "1489120881677055558", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 11, - "test.source.start": 5 + "_sampling_priority_v1": 1.0, + "test.source.end": 11.0, + "test.source.start": 5.0 }, - "duration": 3004333, - "start": 1761045408987826836 + "duration": 549125, + "start": 1776199205632038470 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_report_coverage_by_test_with_itr_skipped.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_report_coverage_by_test_with_itr_skipped.json index b7801a8cb08..bf79b09e8f5 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_report_coverage_by_test_with_itr_skipped.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_report_coverage_by_test_with_itr_skipped.json @@ -13,21 +13,23 @@ "_dd.ci.itr.tests_skipped": "true", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9c00000000", + "_dd.p.tid": "69dea61b00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "0867308ecac94132ba80dca23ad968a7", + "os.version": "6.12.72-linuxkit", + "runtime-id": "8820a92c78c241a19063e81b009740d5", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "false", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "true", @@ -35,18 +37,18 @@ "test.itr.unskippable": "false", "test.status": "pass", "test.type": "test", - "test_session_id": "17453482487683620211", + "test_session_id": "4612416378233547053", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 747, - "test.itr.tests_skipping.count": 1 + "_sampling_priority_v1": 1.0, + "process_id": 95755.0, + "test.itr.tests_skipping.count": 1.0 }, - "duration": 17675041, - "start": 1761045404939440709 + "duration": 25415167, + "start": 1776199195515871131 }, { "name": "unittest.test_module", @@ -62,20 +64,22 @@ "_dd.ci.itr.tests_skipped": "true", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9c00000000", + "_dd.p.tid": "69dea61b00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "false", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "true", @@ -85,18 +89,18 @@ "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.type": "test", - "test_module_id": "16366506467607247516", - "test_session_id": "17453482487683620211", + "test_module_id": "14935560364843028649", + "test_session_id": "4612416378233547053", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.itr.tests_skipping.count": 1 + "_sampling_priority_v1": 1.0, + "test.itr.tests_skipping.count": 1.0 }, - "duration": 17194084, - "start": 1761045404939683500 + "duration": 24491417, + "start": 1776199195516096256 }, { "name": "unittest.test_suite", @@ -111,36 +115,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9c00000000", + "_dd.p.tid": "69dea61b00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "16366506467607247516", - "test_session_id": "17453482487683620211", - "test_suite_id": "313352416621327908", + "test_module_id": "14935560364843028649", + "test_session_id": "4612416378233547053", + "test_suite_id": "14769887904624613355", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 17110458, - "start": 1761045404939728584 + "duration": 24276875, + "start": 1776199195516258798 }, { "name": "unittest.test", @@ -155,21 +161,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9c00000000", + "_dd.p.tid": "69dea61b00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,svc.auto:unittest", "component": "unittest", "itr_correlation_id": "unittestcorrelationid", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_cov", @@ -179,20 +187,20 @@ "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "16366506467607247516", - "test_session_id": "17453482487683620211", - "test_suite_id": "313352416621327908", + "test_module_id": "14935560364843028649", + "test_session_id": "4612416378233547053", + "test_suite_id": "14769887904624613355", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 28, - "test.source.start": 25 + "_sampling_priority_v1": 1.0, + "test.source.end": 28.0, + "test.source.start": 25.0 }, - "duration": 1410917, - "start": 1761045404939743875 + "duration": 369750, + "start": 1776199195516306840 }, { "name": "unittest.test", @@ -207,22 +215,24 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9c00000000", + "_dd.p.tid": "69dea61b00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped0,svc.auto:unittest", "component": "unittest", "itr_correlation_id": "unittestcorrelationid", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.coverage": "{\"files\": [{\"filename\": \"test_my_coverage.py\", \"segments\": [[29, 0, 30, 0, -1]]}, {\"filename\": \"ret_false.py\", \"segments\": [[1, 0, 2, 0, -1]]}]}", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_second", @@ -230,18 +240,18 @@ "test.status": "pass", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "16366506467607247516", - "test_session_id": "17453482487683620211", - "test_suite_id": "313352416621327908", + "test_module_id": "14935560364843028649", + "test_session_id": "4612416378233547053", + "test_suite_id": "14769887904624613355", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 31, - "test.source.start": 28 + "_sampling_priority_v1": 1.0, + "test.source.end": 31.0, + "test.source.start": 28.0 }, - "duration": 15083667, - "start": 1761045404941478750 + "duration": 22738000, + "start": 1776199195517180215 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple.json index f95ead45daf..73a226f04bc 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple.json @@ -13,21 +13,23 @@ "_dd.ci.itr.tests_skipped": "true", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9f00000000", + "_dd.p.tid": "69dea62200000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "2fb1f68e5a3341eca2b8864642f2280d", + "os.version": "6.12.72-linuxkit", + "runtime-id": "8941ea80d9624bc9b7b9f166250bb32d", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "false", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "true", @@ -35,18 +37,18 @@ "test.itr.unskippable": "false", "test.status": "skip", "test.type": "test", - "test_session_id": "4158419981479639106", + "test_session_id": "12014387760480363651", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 813, - "test.itr.tests_skipping.count": 2 + "_sampling_priority_v1": 1.0, + "process_id": 95919.0, + "test.itr.tests_skipping.count": 2.0 }, - "duration": 2246792, - "start": 1761045407643775835 + "duration": 1593750, + "start": 1776199202306289135 }, { "name": "unittest.test_module", @@ -62,20 +64,22 @@ "_dd.ci.itr.tests_skipped": "true", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9f00000000", + "_dd.p.tid": "69dea62200000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "false", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "true", @@ -85,18 +89,18 @@ "test.module_path": "test_my_coverage.py", "test.status": "skip", "test.type": "test", - "test_module_id": "6492037669186800862", - "test_session_id": "4158419981479639106", + "test_module_id": "2034717641190616008", + "test_session_id": "12014387760480363651", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.itr.tests_skipping.count": 2 + "_sampling_priority_v1": 1.0, + "test.itr.tests_skipping.count": 2.0 }, - "duration": 1912875, - "start": 1761045407644004752 + "duration": 1208459, + "start": 1776199202306450551 }, { "name": "unittest.test_suite", @@ -111,36 +115,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9f00000000", + "_dd.p.tid": "69dea62200000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "6492037669186800862", - "test_session_id": "4158419981479639106", - "test_suite_id": "3126868890463114277", + "test_module_id": "2034717641190616008", + "test_session_id": "12014387760480363651", + "test_suite_id": "14198954911504246933", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 1842250, - "start": 1761045407644051627 + "duration": 1123333, + "start": 1776199202306503760 }, { "name": "unittest.test", @@ -155,21 +161,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9f00000000", + "_dd.p.tid": "69dea62200000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,svc.auto:unittest", "component": "unittest", "itr_correlation_id": "unittestcorrelationid", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_cov", @@ -179,20 +187,20 @@ "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "6492037669186800862", - "test_session_id": "4158419981479639106", - "test_suite_id": "3126868890463114277", + "test_module_id": "2034717641190616008", + "test_session_id": "12014387760480363651", + "test_suite_id": "14198954911504246933", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 34, - "test.source.start": 31 + "_sampling_priority_v1": 1.0, + "test.source.end": 34.0, + "test.source.start": 31.0 }, - "duration": 1392750, - "start": 1761045407644067752 + "duration": 367209, + "start": 1776199202306527676 }, { "name": "unittest.test", @@ -207,21 +215,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9f00000000", + "_dd.p.tid": "69dea62200000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_report_coverage_by_test_with_itr_skipped_multiple0,svc.auto:unittest", "component": "unittest", "itr_correlation_id": "unittestcorrelationid", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_second", @@ -231,18 +241,18 @@ "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "6492037669186800862", - "test_session_id": "4158419981479639106", - "test_suite_id": "3126868890463114277", + "test_module_id": "2034717641190616008", + "test_session_id": "12014387760480363651", + "test_suite_id": "14198954911504246933", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 37, - "test.source.start": 34 + "_sampling_priority_v1": 1.0, + "test.source.end": 37.0, + "test.source.start": 34.0 }, - "duration": 131916, - "start": 1761045407645729002 + "duration": 198792, + "start": 1776199202307358801 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_skip_invalid_unskippable_tests.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_skip_invalid_unskippable_tests.json index eb491d89fcb..b05047bbee3 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_skip_invalid_unskippable_tests.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_skip_invalid_unskippable_tests.json @@ -13,21 +13,23 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9400000000", + "_dd.p.tid": "69dea62a00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_invalid_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_invalid_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "50336476bd0947ff8481e2a07e650350", + "os.version": "6.12.72-linuxkit", + "runtime-id": "242c5ccce4be47ffbd504d1f3a9df624", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "false", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -35,18 +37,18 @@ "test.itr.unskippable": "false", "test.status": "skip", "test.type": "test", - "test_session_id": "4909810688660689259", + "test_session_id": "9789554875643734339", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 549, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "process_id": 96124.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 2656375, - "start": 1761045396742617552 + "duration": 1781458, + "start": 1776199210594300097 }, { "name": "unittest.test_module", @@ -62,20 +64,22 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9400000000", + "_dd.p.tid": "69dea62a00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_invalid_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_invalid_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "false", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -85,18 +89,18 @@ "test.module_path": "test_my_coverage.py", "test.status": "skip", "test.type": "test", - "test_module_id": "17042202468430174799", - "test_session_id": "4909810688660689259", + "test_module_id": "4293888383104875572", + "test_session_id": "9789554875643734339", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 2320750, - "start": 1761045396742853886 + "duration": 1450208, + "start": 1776199210594456097 }, { "name": "unittest.test_suite", @@ -111,36 +115,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9400000000", + "_dd.p.tid": "69dea62a00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_invalid_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_invalid_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "17042202468430174799", - "test_session_id": "4909810688660689259", - "test_suite_id": "6890002432042603408", + "test_module_id": "4293888383104875572", + "test_session_id": "9789554875643734339", + "test_suite_id": "10208169956950173295", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 2244375, - "start": 1761045396742899219 + "duration": 1373209, + "start": 1776199210594503680 }, { "name": "unittest.test", @@ -155,42 +161,44 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9400000000", + "_dd.p.tid": "69dea62a00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_invalid_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_invalid_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_cov", "test.skip_reason": "datadog_itr_unskippable", - "test.source.file": "../../../../home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py", + "test.source.file": "../../../../home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "17042202468430174799", - "test_session_id": "4909810688660689259", - "test_suite_id": "6890002432042603408", + "test_module_id": "4293888383104875572", + "test_session_id": "9789554875643734339", + "test_suite_id": "10208169956950173295", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 35, - "test.source.start": 31 + "_sampling_priority_v1": 1.0, + "test.source.end": 35.0, + "test.source.start": 31.0 }, - "duration": 1395459, - "start": 1761045396742916177 + "duration": 352916, + "start": 1776199210594525639 }, { "name": "unittest.test", @@ -205,42 +213,44 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9400000000", + "_dd.p.tid": "69dea62a00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_invalid_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_invalid_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_fourth", "test.skip_reason": "datadog_itr_unskippable", - "test.source.file": "../../../../home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py", + "test.source.file": "../../../../home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "17042202468430174799", - "test_session_id": "4909810688660689259", - "test_suite_id": "6890002432042603408", + "test_module_id": "4293888383104875572", + "test_session_id": "9789554875643734339", + "test_suite_id": "10208169956950173295", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 47, - "test.source.start": 43 + "_sampling_priority_v1": 1.0, + "test.source.end": 47.0, + "test.source.start": 43.0 }, - "duration": 144250, - "start": 1761045396744582969 + "duration": 172042, + "start": 1776199210595242097 }, { "name": "unittest.test", @@ -255,42 +265,44 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9400000000", + "_dd.p.tid": "69dea62a00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_invalid_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_invalid_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_second", "test.skip_reason": "datadog_itr_unskippable", - "test.source.file": "../../../../home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py", + "test.source.file": "../../../../home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "17042202468430174799", - "test_session_id": "4909810688660689259", - "test_suite_id": "6890002432042603408", + "test_module_id": "4293888383104875572", + "test_session_id": "9789554875643734339", + "test_suite_id": "10208169956950173295", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 39, - "test.source.start": 35 + "_sampling_priority_v1": 1.0, + "test.source.end": 39.0, + "test.source.start": 35.0 }, - "duration": 126542, - "start": 1761045396744778844 + "duration": 121542, + "start": 1776199210595491180 }, { "name": "unittest.test", @@ -305,40 +317,42 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9400000000", + "_dd.p.tid": "69dea62a00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_invalid_unskippable_tests0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_invalid_unskippable_tests0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_third", "test.skip_reason": "datadog_itr_unskippable", - "test.source.file": "../../../../home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py", + "test.source.file": "../../../../home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "17042202468430174799", - "test_session_id": "4909810688660689259", - "test_suite_id": "6890002432042603408", + "test_module_id": "4293888383104875572", + "test_session_id": "9789554875643734339", + "test_suite_id": "10208169956950173295", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 43, - "test.source.start": 39 + "_sampling_priority_v1": 1.0, + "test.source.end": 43.0, + "test.source.start": 39.0 }, - "duration": 138833, - "start": 1761045396744964636 + "duration": 141709, + "start": 1776199210595681930 }]] diff --git a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_skip_unskippable_test_if_skip_decorator.json b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_skip_unskippable_test_if_skip_decorator.json index 4fb913d6cf0..3405fa2910b 100644 --- a/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_skip_unskippable_test_if_skip_decorator.json +++ b/tests/snapshots/tests.contrib.unittest.test_unittest_snapshot.test_unittest_will_skip_unskippable_test_if_skip_decorator.json @@ -13,21 +13,23 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9800000000", + "_dd.p.tid": "69dea61d00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", - "runtime-id": "f5c342897b4344c1ad47bc5987f1792a", + "os.version": "6.12.72-linuxkit", + "runtime-id": "ceca8736f4be4863a3328a6b035c969d", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "false", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -35,18 +37,18 @@ "test.itr.unskippable": "true", "test.status": "skip", "test.type": "test", - "test_session_id": "10673266475336966431", + "test_session_id": "3971992121824387931", "type": "test_session_end" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 648, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "process_id": 95796.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 2770875, - "start": 1761045400849613221 + "duration": 2162166, + "start": 1776199197247762091 }, { "name": "unittest.test_module", @@ -62,20 +64,22 @@ "_dd.ci.itr.tests_skipped": "false", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9800000000", + "_dd.p.tid": "69dea61d00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "true", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.forced_run": "false", "test.itr.tests_skipping.enabled": "true", "test.itr.tests_skipping.tests_skipped": "false", @@ -85,18 +89,18 @@ "test.module_path": "test_my_coverage.py", "test.status": "skip", "test.type": "test", - "test_module_id": "5871551743117266665", - "test_session_id": "10673266475336966431", + "test_module_id": "4226619890643529698", + "test_session_id": "3971992121824387931", "type": "test_module_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.itr.tests_skipping.count": 0 + "_sampling_priority_v1": 1.0, + "test.itr.tests_skipping.count": 0.0 }, - "duration": 2411375, - "start": 1761045400849871679 + "duration": 1678875, + "start": 1776199197247922841 }, { "name": "unittest.test_suite", @@ -111,36 +115,38 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9800000000", + "_dd.p.tid": "69dea61d00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "5871551743117266665", - "test_session_id": "10673266475336966431", - "test_suite_id": "17835336894610896056", + "test_module_id": "4226619890643529698", + "test_session_id": "3971992121824387931", + "test_suite_id": "7979489333685222786", "type": "test_suite_end" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 + "_sampling_priority_v1": 1.0 }, - "duration": 2339833, - "start": 1761045400849919971 + "duration": 1564125, + "start": 1776199197247992674 }, { "name": "unittest.test", @@ -155,43 +161,45 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9800000000", + "_dd.p.tid": "69dea61d00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.unskippable": "true", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_cov", "test.skip_reason": "something else", - "test.source.file": "../../../../home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py", + "test.source.file": "../../../../home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "5871551743117266665", - "test_session_id": "10673266475336966431", - "test_suite_id": "17835336894610896056", + "test_module_id": "4226619890643529698", + "test_session_id": "3971992121824387931", + "test_suite_id": "7979489333685222786", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 36, - "test.source.start": 31 + "_sampling_priority_v1": 1.0, + "test.source.end": 36.0, + "test.source.start": 31.0 }, - "duration": 1437667, - "start": 1761045400849936429 + "duration": 427042, + "start": 1776199197248016299 }, { "name": "unittest.test", @@ -206,43 +214,45 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9800000000", + "_dd.p.tid": "69dea61d00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.unskippable": "true", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_fourth", "test.skip_reason": "datadog_itr_unskippable", - "test.source.file": "../../../../home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py", + "test.source.file": "../../../../home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "5871551743117266665", - "test_session_id": "10673266475336966431", - "test_suite_id": "17835336894610896056", + "test_module_id": "4226619890643529698", + "test_session_id": "3971992121824387931", + "test_suite_id": "7979489333685222786", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 51, - "test.source.start": 46 + "_sampling_priority_v1": 1.0, + "test.source.end": 51.0, + "test.source.start": 46.0 }, - "duration": 159250, - "start": 1761045400851670221 + "duration": 220208, + "start": 1776199197248854049 }, { "name": "unittest.test", @@ -257,43 +267,45 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9800000000", + "_dd.p.tid": "69dea61d00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.unskippable": "true", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_second", "test.skip_reason": "something else", - "test.source.file": "../../../../home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py", + "test.source.file": "../../../../home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "5871551743117266665", - "test_session_id": "10673266475336966431", - "test_suite_id": "17835336894610896056", + "test_module_id": "4226619890643529698", + "test_session_id": "3971992121824387931", + "test_suite_id": "7979489333685222786", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 41, - "test.source.start": 36 + "_sampling_priority_v1": 1.0, + "test.source.end": 41.0, + "test.source.start": 36.0 }, - "duration": 162625, - "start": 1761045400851881804 + "duration": 143542, + "start": 1776199197249170674 }, { "name": "unittest.test", @@ -308,41 +320,43 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "68f76b9800000000", + "_dd.p.tid": "69dea61d00000000", + "_dd.svc_src": "unittest", + "_dd.tags.process": "entrypoint.basedir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,entrypoint.name:unittest,entrypoint.type:module,entrypoint.workdir:test_unittest_will_skip_unskippable_test_if_skip_decorator0,svc.auto:unittest", "component": "unittest", "language": "python", - "library_version": "3.17.0.dev71+gd5c82a041.d20251021", + "library_version": "4.8.0rc3", "os.architecture": "aarch64", "os.platform": "Linux", - "os.version": "6.10.14-linuxkit", + "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.23", + "runtime.version": "3.12.12", "span.kind": "test", "test.class_hierarchy": "CoverageTestCase", "test.command": "python -m unittest", "test.framework": "unittest", - "test.framework_version": "3.9.23", + "test.framework_version": "3.12.12", "test.itr.unskippable": "true", "test.module": "test_my_coverage", "test.module_path": "test_my_coverage.py", "test.name": "test_third", "test.skip_reason": "datadog_itr_unskippable", - "test.source.file": "../../../../home/bits/.pyenv/versions/3.9.23/lib/python3.9/unittest/case.py", + "test.source.file": "../../../../home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", "test.status": "skip", "test.suite": "CoverageTestCase", "test.type": "test", - "test_module_id": "5871551743117266665", - "test_session_id": "10673266475336966431", - "test_suite_id": "17835336894610896056", + "test_module_id": "4226619890643529698", + "test_session_id": "3971992121824387931", + "test_suite_id": "7979489333685222786", "type": "test" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "test.source.end": 46, - "test.source.start": 41 + "_sampling_priority_v1": 1.0, + "test.source.end": 46.0, + "test.source.start": 41.0 }, - "duration": 140458, - "start": 1761045400852091596 + "duration": 122666, + "start": 1776199197249396841 }]] From e674165e793da66c6483ce9b72840b78776209ff Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 15 Apr 2026 08:07:20 -0700 Subject: [PATCH 034/114] update some snowflake snapshots --- ....test_schematization[service_schema0].json | 22 +++---- ....test_schematization[service_schema1].json | 22 +++---- ....test_schematization[service_schema2].json | 22 +++---- ....test_schematization[service_schema3].json | 22 +++---- ....test_schematization[service_schema4].json | 22 +++---- ....test_schematization[service_schema5].json | 22 +++---- ....test_snowflake.test_snowflake_commit.json | 18 +++--- ...ake.test_snowflake_executemany_insert.json | 22 +++---- ...est_snowflake.test_snowflake_fetchall.json | 22 +++---- ...test_snowflake_fetchall_multiple_rows.json | 22 +++---- ...est_snowflake.test_snowflake_fetchone.json | 22 +++---- ....test_snowflake_ot_executemany_insert.json | 59 ------------------- ..._snowflake.test_snowflake_ot_fetchall.json | 58 ------------------ ...t_snowflake_ot_fetchall_multiple_rows.json | 58 ------------------ ..._snowflake.test_snowflake_ot_fetchone.json | 58 ------------------ ...est_snowflake.test_snowflake_rollback.json | 18 +++--- ..._snowflake.test_snowflake_service_env.json | 39 ------------ ...lake.test_snowflake_settings_override.json | 22 +++---- 18 files changed, 152 insertions(+), 398 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_executemany_insert.json delete mode 100644 tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchall.json delete mode 100644 tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchall_multiple_rows.json delete mode 100644 tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchone.json delete mode 100644 tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_service_env.json diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema0].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema0].json index 9a2aed95ceb..2cfefb9a4c3 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema0].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema0].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767400000000", + "_dd.p.tid": "69dfa96800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,20 +23,20 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "424886c0722748099f7dddfaeb688e3e", + "runtime-id": "8c8dfebbe0904597a0fcf52be9fbcb6a", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 24468 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 443.0, + "process_id": 98240.0 }, - "duration": 477541, - "start": 1722971764823021965 + "duration": 610084, + "start": 1776265576252002505 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema1].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema1].json index 0db3e31524d..e9daf676df4 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema1].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema1].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2766e00000000", + "_dd.p.tid": "69dfa96400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,20 +23,20 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "325846af5de24ba5860027715cde2fc4", + "runtime-id": "d1ed4aa6c6c44b289a39072dcc4d6f6e", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 24446 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 443.0, + "process_id": 98219.0 }, - "duration": 499834, - "start": 1722971758706227545 + "duration": 557500, + "start": 1776265572685662379 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema2].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema2].json index 0e0b81ea5ae..4ee66fc859c 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema2].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema2].json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66b2766b00000000", + "_dd.p.tid": "69dfa95c00000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -22,20 +24,20 @@ "language": "python", "out.host": "mock-account.snowflakecomputing.com", "peer.service": "mock-db-name", - "runtime-id": "ba41b09acf3d4a35a7cc347c48612832", + "runtime-id": "f201d290bd214332bb24417d85bd857a", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 24435 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 443.0, + "process_id": 98162.0 }, - "duration": 487667, - "start": 1722971755864225002 + "duration": 667583, + "start": 1776265564494128000 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema3].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema3].json index 12b030655c3..0822e1005f4 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema3].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema3].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767200000000", + "_dd.p.tid": "69dfa95e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,20 +23,20 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "cb8dc2c3d54147ba98467be35335f8d0", + "runtime-id": "5831e0a922b6482287141dcc418874ad", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 24457 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 443.0, + "process_id": 98174.0 }, - "duration": 488750, - "start": 1722971762725292172 + "duration": 576625, + "start": 1776265566179919376 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema4].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema4].json index adf11a68dcb..79da7ba77e9 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema4].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema4].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767700000000", + "_dd.p.tid": "69dfa96200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,20 +23,20 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "031c8a7369614c7e930854e5fbe6c960", + "runtime-id": "3310167c055c439c8492c5e821f71a75", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 24478 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 443.0, + "process_id": 98204.0 }, - "duration": 618375, - "start": 1722971767470728758 + "duration": 544875, + "start": 1776265570565627878 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema5].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema5].json index 456121c2ccb..555bbb2be0a 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema5].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema5].json @@ -10,8 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767a00000000", + "_dd.p.tid": "69dfa95f00000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -22,20 +24,20 @@ "language": "python", "out.host": "mock-account.snowflakecomputing.com", "peer.service": "mock-db-name", - "runtime-id": "ed909cc6637545a28bee17e3794b346e", + "runtime-id": "fbf390c0672747809bb35ca020cc509b", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 24488 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 443.0, + "process_id": 98186.0 }, - "duration": 489666, - "start": 1722971770484891218 + "duration": 563208, + "start": 1776265567844002418 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_commit.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_commit.json index c9c36bcab42..e05a031ee09 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_commit.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_commit.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767800000000", + "_dd.p.tid": "69dfa96300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,17 +23,17 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086", + "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", "server.address": "mock-account.snowflakecomputing.com", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 443, - "process_id": 24423 + "_sampling_priority_v1": 1.0, + "network.destination.port": 443.0, + "process_id": 98149.0 }, - "duration": 818250, - "start": 1722971768604165925 + "duration": 885417, + "start": 1776265571218017461 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_executemany_insert.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_executemany_insert.json index cd6b31e3eab..19fe938dce5 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_executemany_insert.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_executemany_insert.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767500000000", + "_dd.p.tid": "69dfa95a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,21 +23,21 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086", + "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client", "sql.executemany": "true" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 443, - "process_id": 24423 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 443.0, + "process_id": 98149.0 }, - "duration": 803958, - "start": 1722971765425873007 + "duration": 1288417, + "start": 1776265562175630346 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall.json index 608e2fafb20..560f5016a11 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767800000000", + "_dd.p.tid": "69dfa96600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,20 +23,20 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086", + "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 24423 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 443.0, + "process_id": 98149.0 }, - "duration": 856041, - "start": 1722971768087295675 + "duration": 1035833, + "start": 1776265574090715921 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall_multiple_rows.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall_multiple_rows.json index 4da8ed175f3..beb942de3b9 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall_multiple_rows.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall_multiple_rows.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767b00000000", + "_dd.p.tid": "69dfa96500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,20 +23,20 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086", + "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 2, - "network.destination.port": 443, - "process_id": 24423 + "_sampling_priority_v1": 1.0, + "db.row_count": 2.0, + "network.destination.port": 443.0, + "process_id": 98149.0 }, - "duration": 790625, - "start": 1722971771070745718 + "duration": 914334, + "start": 1776265573362696837 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchone.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchone.json index 0cacbba1380..3c67b2fb68d 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchone.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchone.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767000000000", + "_dd.p.tid": "69dfa96600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,20 +23,20 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086", + "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 24423 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 443.0, + "process_id": 98149.0 }, - "duration": 779125, - "start": 1722971760316620254 + "duration": 885042, + "start": 1776265574612243713 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_executemany_insert.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_executemany_insert.json deleted file mode 100644 index 47895b06fe0..00000000000 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_executemany_insert.json +++ /dev/null @@ -1,59 +0,0 @@ -[[ - { - "name": "snowflake_op", - "service": "snowflake_svc", - "resource": "snowflake_op", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.snowflake", - "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767100000000", - "language": "python", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24423 - }, - "duration": 927874, - "start": 1722971761288892672 - }, - { - "name": "sql.query", - "service": "snowflake", - "resource": "insert into t (a, b) values (%s, %s);", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.snowflake", - "component": "snowflake", - "db.application": "PythonConnector", - "db.name": "mock-db-name", - "db.schema": "mock-schema-name", - "db.system": "snowflake", - "db.user": "mock-user", - "db.warehouse": "mock-warehouse-name", - "out.host": "mock-account.snowflakecomputing.com", - "server.address": "mock-account.snowflakecomputing.com", - "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", - "span.kind": "client", - "sql.executemany": "true" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "db.row_count": 2, - "network.destination.port": 443 - }, - "duration": 782708, - "start": 1722971761289006380 - }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchall.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchall.json deleted file mode 100644 index c4987aef6a2..00000000000 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchall.json +++ /dev/null @@ -1,58 +0,0 @@ -[[ - { - "name": "snowflake_op", - "service": "snowflake_svc", - "resource": "snowflake_op", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.snowflake", - "_dd.p.dm": "-0", - "_dd.p.tid": "66b2766300000000", - "language": "python", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24423 - }, - "duration": 1719871, - "start": 1722971747348278016 - }, - { - "name": "sql.query", - "service": "snowflake", - "resource": "select current_version();", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.snowflake", - "component": "snowflake", - "db.application": "PythonConnector", - "db.name": "mock-db-name", - "db.schema": "mock-schema-name", - "db.system": "snowflake", - "db.user": "mock-user", - "db.warehouse": "mock-warehouse-name", - "out.host": "mock-account.snowflakecomputing.com", - "server.address": "mock-account.snowflakecomputing.com", - "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "db.row_count": 1, - "network.destination.port": 443 - }, - "duration": 1109583, - "start": 1722971747348727846 - }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchall_multiple_rows.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchall_multiple_rows.json deleted file mode 100644 index 8b0b222996c..00000000000 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchall_multiple_rows.json +++ /dev/null @@ -1,58 +0,0 @@ -[[ - { - "name": "snowflake_op", - "service": "snowflake_svc", - "resource": "snowflake_op", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.snowflake", - "_dd.p.dm": "-0", - "_dd.p.tid": "66b2766c00000000", - "language": "python", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 0.0, - "_sampling_priority_v1": 1, - "process_id": 24423 - }, - "duration": 1075613, - "start": 1722971756424654848 - }, - { - "name": "sql.query", - "service": "snowflake", - "resource": "select a, b from t;", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.snowflake", - "component": "snowflake", - "db.application": "PythonConnector", - "db.name": "mock-db-name", - "db.schema": "mock-schema-name", - "db.system": "snowflake", - "db.user": "mock-user", - "db.warehouse": "mock-warehouse-name", - "out.host": "mock-account.snowflakecomputing.com", - "server.address": "mock-account.snowflakecomputing.com", - "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "db.row_count": 2, - "network.destination.port": 443 - }, - "duration": 858916, - "start": 1722971756424796086 - }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchone.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchone.json deleted file mode 100644 index 7d5129de97d..00000000000 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_ot_fetchone.json +++ /dev/null @@ -1,58 +0,0 @@ -[[ - { - "name": "snowflake_op", - "service": "snowflake_svc", - "resource": "snowflake_op", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.snowflake", - "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767300000000", - "language": "python", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24423 - }, - "duration": 1296016, - "start": 1722971763344680448 - }, - { - "name": "sql.query", - "service": "snowflake", - "resource": "select current_version();", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.snowflake", - "component": "snowflake", - "db.application": "PythonConnector", - "db.name": "mock-db-name", - "db.schema": "mock-schema-name", - "db.system": "snowflake", - "db.user": "mock-user", - "db.warehouse": "mock-warehouse-name", - "out.host": "mock-account.snowflakecomputing.com", - "server.address": "mock-account.snowflakecomputing.com", - "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "db.row_count": 1, - "network.destination.port": 443 - }, - "duration": 1039417, - "start": 1722971763344854672 - }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_rollback.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_rollback.json index 53f55bfedc3..21a75fc0562 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_rollback.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_rollback.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2766f00000000", + "_dd.p.tid": "69dfa96900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,17 +23,17 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086", + "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", "server.address": "mock-account.snowflakecomputing.com", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 443, - "process_id": 24423 + "_sampling_priority_v1": 1.0, + "network.destination.port": 443.0, + "process_id": 98149.0 }, - "duration": 810125, - "start": 1722971759268462671 + "duration": 1028375, + "start": 1776265577005953506 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_service_env.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_service_env.json deleted file mode 100644 index a9643eac662..00000000000 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_service_env.json +++ /dev/null @@ -1,39 +0,0 @@ -[[ - { - "name": "sql.query", - "service": "env-svc", - "resource": "select current_version();", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "sql", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "snowflake", - "db.application": "PythonConnector", - "db.name": "mock-db-name", - "db.schema": "mock-schema-name", - "db.system": "snowflake", - "db.user": "mock-user", - "db.warehouse": "mock-warehouse-name", - "language": "python", - "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "2ca2eba8ca9b4ae199c9732fc4f1a16d", - "server.address": "mock-account.snowflakecomputing.com", - "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 80293 - }, - "duration": 3141000, - "start": 1634218827948586000 - }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_settings_override.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_settings_override.json index df5d48b97da..8cff1d849db 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_settings_override.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_settings_override.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "66b2767b00000000", + "_dd.p.tid": "69dfa95a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", "db.name": "mock-db-name", @@ -21,20 +23,20 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "056d559a15d34e5cb47f66c18ccbe086", + "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 443, - "process_id": 24423 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 443.0, + "process_id": 98149.0 }, - "duration": 765709, - "start": 1722971771608533801 + "duration": 994375, + "start": 1776265562777022680 }]] From 2fd8c1318890e9b4982fbcf9171ca1758d85d391 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 15 Apr 2026 08:10:45 -0700 Subject: [PATCH 035/114] update some internal process_tags snapshots --- ...cess_tags.test_process_tags_activated.json | 22 +++++---- ...cess_tags.test_process_tags_edge_case.json | 11 +++-- ..._process_tags.test_process_tags_error.json | 11 +++-- ..._tags.test_process_tags_partial_flush.json | 25 ++++++---- ...est_process_tags_user_defined_service.json | 47 +++++++++++++++---- 5 files changed, 79 insertions(+), 37 deletions(-) diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_activated.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_activated.json index 019b268de65..f6ce6a775dc 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_activated.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_activated.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6911dc5a00000000", + "_dd.p.tid": "69dfaa2b00000000", + "_dd.svc_src": "tests.internal", "_dd.tags.process": "entrypoint.basedir:to,entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.auto:test_script", "language": "python", - "runtime-id": "2d5de91f8dd9442cad7faca5554a09f1" + "runtime-id": "9eee2ee253ca495a98a90f8fd4108685" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 605 + "_sampling_priority_v1": 1.0, + "process_id": 1446.0 }, - "duration": 231542, - "start": 1762778202287875128 + "duration": 1215916, + "start": 1776265771354389763 }, { "name": "child", @@ -33,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 55500, - "start": 1762778202287999128 + "meta": { + "_dd.svc_src": "tests.internal" + }, + "duration": 298791, + "start": 1776265771355171638 }]] diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_edge_case.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_edge_case.json index 5dc5a6e4d6a..87a77d2ef02 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_edge_case.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_edge_case.json @@ -10,17 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69244c0600000000", + "_dd.p.tid": "69dfaa2b00000000", + "_dd.svc_src": "tests.internal", "_dd.tags.process": "entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.auto:test_script", "language": "python", - "runtime-id": "9f7b2a86304f4a82b0ad44b603ed29a0" + "runtime-id": "df2fa12efaba4c6c8b9887292ff2f9c9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 1455.0 }, - "duration": 108917, - "start": 1763986438852106093 + "duration": 425792, + "start": 1776265771397065054 }]] diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_error.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_error.json index 8310e9dd80e..180dc8cdf7b 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_error.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_error.json @@ -10,17 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6924399800000000", + "_dd.p.tid": "69dfaa2b00000000", + "_dd.svc_src": "tests.internal", "_dd.tags.process": "entrypoint.type:script,entrypoint.workdir:workdir", "language": "python", - "runtime-id": "917df14013db49fdaeea24fe2021f42a" + "runtime-id": "ae483bbf5a9e45d3a61995d89dacc3ff" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 1461.0 }, - "duration": 96750, - "start": 1763981720068936719 + "duration": 346500, + "start": 1776265771464245388 }]] diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_partial_flush.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_partial_flush.json index 65a160586b5..35a5a3f1c8a 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_partial_flush.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_partial_flush.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ce908c00000000", + "_dd.p.tid": "69dfaa2c00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:to,entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.auto:test_script", "language": "python", - "runtime-id": "e31f05f8aa6e4061be6ae8c53af19683" + "runtime-id": "82acd9a760a645cf99764e13ea7b00fc" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 773.0 + "process_id": 1760.0 }, - "duration": 438166, - "start": 1775145100076659175 + "duration": 492791, + "start": 1776265772603387972 }, { "name": "child1", @@ -35,7 +36,8 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ce908c00000000", + "_dd.p.tid": "69dfaa2c00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:to,entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.auto:test_script", "language": "python" }, @@ -44,8 +46,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 18667, - "start": 1775145100076718258 + "duration": 19333, + "start": 1776265772603463847 }, { "name": "child2", @@ -56,6 +58,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 7167, - "start": 1775145100076749966 + "meta": { + "_dd.svc_src": "ddtrace_subprocess_dir" + }, + "duration": 12666, + "start": 1776265772603498597 }]] diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json index d60810a00f4..5d6b63aa219 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6997861b00000000", + "_dd.p.tid": "69dfaa2d00000000", + "_dd.svc_src": "foobar", "_dd.tags.process": "entrypoint.basedir:to,entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.user:true", "language": "python", - "runtime-id": "9b3d6828daea467087a29c4c44faa317" + "runtime-id": "13f9f2ff371e40fb97d90491be9075e1" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 54689.0 + "process_id": 1791.0 }, - "duration": 952166, - "start": 1771537947768385679 + "duration": 523000, + "start": 1776265773175718722 }, { "name": "child", @@ -33,6 +34,36 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 61917, - "start": 1771537947769090137 - }]] + "meta": { + "_dd.svc_src": "foobar" + }, + "duration": 201834, + "start": 1776265773176017930 + }], +[ + { + "name": "test", + "service": "ddtrace_subprocess_dir", + "resource": "test", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69dfaa2c00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3siscv9x,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "language": "python", + "runtime-id": "64b0ce36722948e88e7ed1801e80e503" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 1758.0 + }, + "duration": 87917, + "start": 1776265772597792930 + }]] From 790bbc291465336b95f181b4a822f6cef42092ab Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 15 Apr 2026 08:21:53 -0700 Subject: [PATCH 036/114] update some integration snapshots --- ...pling_float_special_case_do_not_match.json | 16 +- ...ampling_float_special_case_match_star.json | 48 +- ...est_extended_sampling_glob_multi_rule.json | 16 +- ...pling.test_extended_sampling_resource.json | 32 +- ..._extended_sampling_string_sample_rate.json | 18 +- ..._sampling.test_extended_sampling_tags.json | 32 +- ..._extended_sampling_tags_and_name_glob.json | 88 +-- ...t_extended_sampling_tags_and_resource.json | 74 +-- ...ended_sampling_tags_and_resource_glob.json | 92 ++-- ...tended_sampling_tags_and_service_glob.json | 96 ++-- ...ling.test_extended_sampling_tags_glob.json | 32 +- ...ling_tags_glob_insensitive_case_match.json | 34 +- ..._extended_sampling_tags_partial_match.json | 32 +- ...ng.test_extended_sampling_w_None_meta.json | 64 ++- ...ling.test_extended_sampling_w_metrics.json | 68 +-- ..._sampling.test_sampling_with_defaults.json | 22 +- ...pling.test_sampling_with_rate_limit_3.json | 22 +- ...e_sampling_match_non_root_span[false].json | 41 +- ...ce_sampling_match_non_root_span[true].json | 17 +- ..._match_non_root_span[true]_tracestats.json | 2 +- ...tch_root_span_partial_flushing[false].json | 32 +- ...atch_root_span_partial_flushing[true].json | 20 +- ...pan_partial_flushing[true]_tracestats.json | 2 +- ...n.test_trace_stats.test_measured_span.json | 320 +++++++---- ...e_stats.test_measured_span_tracestats.json | 12 +- ...t_trace_stats.test_sampling_rate[0.0].json | 160 +++--- ...ts.test_sampling_rate[0.0]_tracestats.json | 8 +- ...t_trace_stats.test_sampling_rate[1.0].json | 160 +++--- ...ts.test_sampling_rate[1.0]_tracestats.json | 8 +- ...ration.test_trace_stats.test_stats_30.json | 360 +++++++------ ..._trace_stats.test_stats_30_tracestats.json | 4 +- ...ion.test_trace_stats.test_stats_aggrs.json | 84 +-- ...ace_stats.test_stats_aggrs_tracestats.json | 32 +- ...on.test_trace_stats.test_stats_errors.json | 360 +++++++------ ...ce_stats.test_stats_errors_tracestats.json | 4 +- ...ation.test_trace_stats.test_top_level.json | 510 ++++++++++-------- ...trace_stats.test_top_level_tracestats.json | 8 +- 37 files changed, 1705 insertions(+), 1225 deletions(-) diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json index 842f21629e3..ee7494bfedb 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6600aa0600000000", + "_dd.p.tid": "69dfabd200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvekum_qf,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "8eef084f89104256b5f82b95c235139c" + "runtime-id": "5fec5eff5cc7449ca1348e4fc921d20e" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 53744, + "_sampling_priority_v1": 1.0, + "process_id": 4418.0, "tag": 20.1 }, - "duration": 27083, - "start": 1711319558921815630 + "duration": 55417, + "start": 1776266194169418541 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json index a2a02e1303d..6542d17c71d 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json @@ -11,20 +11,22 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "68824df100000000", + "_dd.p.tid": "69dfabd200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp5ua_xa0r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "79453d6c5643438bbdf8e2c1d9548877" + "runtime-id": "aa87d6639b6a4a94863e0e9a0f977f17" }, "metrics": { "_dd.rule_psr": 0.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 65903, + "_sampling_priority_v1": -1.0, + "process_id": 4439.0, "tag": 20.1 }, - "duration": 22000, - "start": 1753370097140066000 + "duration": 70958, + "start": 1776266194872602375 }], [ { @@ -39,20 +41,22 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "68824df100000000", + "_dd.p.tid": "69dfabd200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp5ua_xa0r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "79453d6c5643438bbdf8e2c1d9548877" + "runtime-id": "aa87d6639b6a4a94863e0e9a0f977f17" }, "metrics": { "_dd.rule_psr": 0.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 65903, + "_sampling_priority_v1": -1.0, + "process_id": 4439.0, "tag2": 22.2 }, - "duration": 14000, - "start": 1753370097140825000 + "duration": 32375, + "start": 1776266194873040208 }], [ { @@ -67,18 +71,20 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "68824df100000000", + "_dd.p.tid": "69dfabd200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp5ua_xa0r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "79453d6c5643438bbdf8e2c1d9548877" + "runtime-id": "aa87d6639b6a4a94863e0e9a0f977f17" }, "metrics": { "_dd.rule_psr": 0.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 65903, + "_sampling_priority_v1": -1.0, + "process_id": 4439.0, "tag3": 3333333.33333 }, - "duration": 9000, - "start": 1753370097140891000 + "duration": 12625, + "start": 1776266194873169750 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json index d7f5a6609b0..41e7811ae53 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json @@ -12,19 +12,21 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-3", "_dd.p.ksr": "1", - "_dd.p.tid": "65cd344600000000", + "_dd.p.tid": "69dfabd100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpfuyko5h6,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "9356e035b52344f6b4a7227820d797d5", + "runtime-id": "0ea01d88e2fd411288859ba9b8b3010a", "test": "tag" }, "metrics": { "_dd.limit_psr": 1.0, "_dd.rule_psr": 1.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 91633 + "_sampling_priority_v1": 2.0, + "process_id": 4411.0 }, - "duration": 230000, - "start": 1707947078045612000 + "duration": 66250, + "start": 1776266193977905958 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json index d66ae42b7b4..0d607b9663d 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json @@ -11,18 +11,21 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", + "_dd.p.tid": "69dfabd400000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmq2339lc,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "7871c85140a0460c939f2c0fe8153f65" + "runtime-id": "552febc78e9c495386055103c8b6a020" }, "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 2609 + "_sampling_priority_v1": -1.0, + "process_id": 4490.0 }, - "duration": 36875, - "start": 1693412027355192716 + "duration": 59125, + "start": 1776266196639618751 }], [ { @@ -36,15 +39,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabd400000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmq2339lc,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "7871c85140a0460c939f2c0fe8153f65" + "runtime-id": "552febc78e9c495386055103c8b6a020" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2609 + "_sampling_priority_v1": 1.0, + "process_id": 4490.0 }, - "duration": 50833, - "start": 1693412027432116925 + "duration": 23084, + "start": 1776266196640046417 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json index 08900025e39..710d4f7a40c 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json @@ -11,17 +11,19 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "68828b2100000000", + "_dd.p.tid": "69dfabd400000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcs8bzwbw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "992ed589103d4826839b0d6ec8b5766f" + "runtime-id": "c7c2f046d36e4c42a01d498dc02fe88f" }, "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 83293 + "_sampling_priority_v1": -1.0, + "process_id": 4483.0 }, - "duration": 21000, - "start": 1753385761102076000 + "duration": 55833, + "start": 1776266196377813251 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json index 185edb19041..2674d08a314 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json @@ -11,19 +11,22 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvjbmaynj,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "c7c739442f864f07b02918014eb23b3a", + "runtime-id": "a70fa154c4b7416c89e7dbc697a93faf", "tag1": "mycooltag" }, "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 2682 + "_sampling_priority_v1": -1.0, + "process_id": 4376.0 }, - "duration": 51583, - "start": 1693412122880227094 + "duration": 52791, + "start": 1776266191839453055 }], [ { @@ -37,16 +40,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvjbmaynj,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "c7c739442f864f07b02918014eb23b3a" + "runtime-id": "a70fa154c4b7416c89e7dbc697a93faf" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2682 + "_sampling_priority_v1": 1.0, + "process_id": 4376.0 }, - "duration": 16333, - "start": 1693412122880745636 + "duration": 32959, + "start": 1776266191839839346 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json index 933c0763bcb..f6b50502b74 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json @@ -9,26 +9,30 @@ "type": "", "error": 0, "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "65ca9a0600000000", - "banana": "True", + "_dd.p.dm": "-3", + "_dd.p.ksr": "0", + "_dd.p.tid": "69dfabd200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp52wgvxyw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "45b9ec5ab8354bbcafce88b29abcb7a4" + "runtime-id": "44398bbabb8c43dba4285ee1a4e9ee04", + "tag1": "mycooltag" }, "metrics": { - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 70612 + "_sampling_priority_v1": -1.0, + "process_id": 4425.0 }, - "duration": 60000, - "start": 1707776518618875000 + "duration": 82292, + "start": 1776266194430616333 }], [ { - "name": "should_send1", + "name": "should_send2", "service": "ddtrace_subprocess_dir", - "resource": "should_send1", + "resource": "banana", "trace_id": 1, "span_id": 1, "parent_id": 0, @@ -36,25 +40,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65ca9a0600000000", - "banana": "True", + "_dd.p.tid": "69dfabd200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp52wgvxyw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "45b9ec5ab8354bbcafce88b29abcb7a4" + "runtime-id": "44398bbabb8c43dba4285ee1a4e9ee04", + "tag1": "mycooltag" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 70612 + "_sampling_priority_v1": 1.0, + "process_id": 4425.0 }, - "duration": 49000, - "start": 1707776518617308000 + "duration": 25500, + "start": 1776266194431099958 }], [ { - "name": "should_send2", + "name": "should_send1", "service": "ddtrace_subprocess_dir", - "resource": "banana", + "resource": "should_send1", "trace_id": 2, "span_id": 1, "parent_id": 0, @@ -62,19 +68,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65ca9a0600000000", + "_dd.p.tid": "69dfabd200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp52wgvxyw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "banana": "True", "language": "python", - "runtime-id": "45b9ec5ab8354bbcafce88b29abcb7a4", - "tag1": "mycooltag" + "runtime-id": "44398bbabb8c43dba4285ee1a4e9ee04" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 70612 + "_sampling_priority_v1": 1.0, + "process_id": 4425.0 }, - "duration": 72000, - "start": 1707776518615597000 + "duration": 8958, + "start": 1776266194431190958 }], [ { @@ -87,20 +95,20 @@ "type": "", "error": 0, "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "0", - "_dd.p.tid": "65ca9a0600000000", + "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabd200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp52wgvxyw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "banana": "True", "language": "python", - "runtime-id": "45b9ec5ab8354bbcafce88b29abcb7a4", - "tag1": "mycooltag" + "runtime-id": "44398bbabb8c43dba4285ee1a4e9ee04" }, "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 70612 + "_sampling_priority_v1": 1.0, + "process_id": 4425.0 }, - "duration": 101000, - "start": 1707776518613453000 + "duration": 6333, + "start": 1776266194431230583 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json index 216d06343c0..b999995d508 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json @@ -11,25 +11,28 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz9xd5l8h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "c7c739442f864f07b02918014eb23b3a", + "runtime-id": "613bfdc98e3647dc801dcabe3fb70548", "tag1": "mycooltag" }, "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 2682 + "_sampling_priority_v1": -1.0, + "process_id": 4362.0 }, - "duration": 28541, - "start": 1693412122912172136 + "duration": 68625, + "start": 1776266191360369096 }], [ { - "name": "should_send1", + "name": "should_send2", "service": "ddtrace_subprocess_dir", - "resource": "should_send1", + "resource": "banana", "trace_id": 1, "span_id": 1, "parent_id": 0, @@ -37,24 +40,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "banana": "True", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz9xd5l8h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "c7c739442f864f07b02918014eb23b3a" + "runtime-id": "613bfdc98e3647dc801dcabe3fb70548", + "tag1": "mycooltag" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2682 + "_sampling_priority_v1": 1.0, + "process_id": 4362.0 }, - "duration": 89667, - "start": 1693412122912718927 + "duration": 26417, + "start": 1776266191360846971 }], [ { - "name": "should_send2", + "name": "should_send1", "service": "ddtrace_subprocess_dir", - "resource": "banana", + "resource": "should_send1", "trace_id": 2, "span_id": 1, "parent_id": 0, @@ -62,18 +68,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz9xd5l8h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "banana": "True", "language": "python", - "runtime-id": "c7c739442f864f07b02918014eb23b3a", - "tag1": "mycooltag" + "runtime-id": "613bfdc98e3647dc801dcabe3fb70548" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2682 + "_sampling_priority_v1": 1.0, + "process_id": 4362.0 }, - "duration": 11000, - "start": 1693412122912914761 + "duration": 8958, + "start": 1776266191360937888 }], [ { @@ -87,16 +96,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz9xd5l8h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "c7c739442f864f07b02918014eb23b3a" + "runtime-id": "613bfdc98e3647dc801dcabe3fb70548" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2682 + "_sampling_priority_v1": 1.0, + "process_id": 4362.0 }, - "duration": 8000, - "start": 1693412122912968927 + "duration": 6750, + "start": 1776266191360977429 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json index a6c0bdaa442..5f2238124f2 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json @@ -1,6 +1,6 @@ [[ { - "name": "should_send3", + "name": "should_not_send", "service": "ddtrace_subprocess_dir", "resource": "mycoolre$ource", "trace_id": 0, @@ -9,26 +9,30 @@ "type": "", "error": 0, "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "65ca9a0600000000", - "banana": "True", + "_dd.p.dm": "-3", + "_dd.p.ksr": "0", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9_ngssjz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "45b9ec5ab8354bbcafce88b29abcb7a4" + "runtime-id": "3a96f1a8276248bf80824a26cd2aa1be", + "tag1": "mycooltag" }, "metrics": { - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 70612 + "_sampling_priority_v1": -1.0, + "process_id": 4355.0 }, - "duration": 47000, - "start": 1707776518730636000 + "duration": 62792, + "start": 1776266191059230679 }], [ { - "name": "should_send1", + "name": "should_send2", "service": "ddtrace_subprocess_dir", - "resource": "should_send1", + "resource": "banana", "trace_id": 1, "span_id": 1, "parent_id": 0, @@ -36,25 +40,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65ca9a0600000000", - "banana": "True", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9_ngssjz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "45b9ec5ab8354bbcafce88b29abcb7a4" + "runtime-id": "3a96f1a8276248bf80824a26cd2aa1be", + "tag1": "mycooltag" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 70612 + "_sampling_priority_v1": 1.0, + "process_id": 4355.0 }, - "duration": 48000, - "start": 1707776518728822000 + "duration": 16125, + "start": 1776266191059652137 }], [ { - "name": "should_send2", + "name": "should_send1", "service": "ddtrace_subprocess_dir", - "resource": "banana", + "resource": "should_send1", "trace_id": 2, "span_id": 1, "parent_id": 0, @@ -62,23 +68,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65ca9a0600000000", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9_ngssjz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "banana": "True", "language": "python", - "runtime-id": "45b9ec5ab8354bbcafce88b29abcb7a4", - "tag1": "mycooltag" + "runtime-id": "3a96f1a8276248bf80824a26cd2aa1be" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 70612 + "_sampling_priority_v1": 1.0, + "process_id": 4355.0 }, - "duration": 64000, - "start": 1707776518727081000 + "duration": 9041, + "start": 1776266191059754846 }], [ { - "name": "should_not_send", + "name": "should_send3", "service": "ddtrace_subprocess_dir", "resource": "mycoolre$ource", "trace_id": 3, @@ -87,20 +95,20 @@ "type": "", "error": 0, "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "0", - "_dd.p.tid": "65ca9a0600000000", + "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabcf00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9_ngssjz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "banana": "True", "language": "python", - "runtime-id": "45b9ec5ab8354bbcafce88b29abcb7a4", - "tag1": "mycooltag" + "runtime-id": "3a96f1a8276248bf80824a26cd2aa1be" }, "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 70612 + "_sampling_priority_v1": 1.0, + "process_id": 4355.0 }, - "duration": 238000, - "start": 1707776518725139000 + "duration": 7458, + "start": 1776266191059800179 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json index 3db0ea2e567..695442d0eb7 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json @@ -1,8 +1,8 @@ [[ { - "name": "should_send3", + "name": "should_not_send", "service": "mycoolservice", - "resource": "should_send3", + "resource": "should_not_send", "trace_id": 0, "span_id": 1, "parent_id": 0, @@ -10,26 +10,30 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "65cbae1700000000", - "banana": "True", + "_dd.p.dm": "-3", + "_dd.p.ksr": "0", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3vpneufv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "ddb451e9ba4245cc915e8914d4f8c008" + "runtime-id": "01e39b23d73949eea641ac0460edb57f", + "tag1": "mycooltag" }, "metrics": { - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17492 + "_sampling_priority_v1": -1.0, + "process_id": 4455.0 }, - "duration": 54000, - "start": 1707847191675909000 + "duration": 60125, + "start": 1776266195420419917 }], [ { - "name": "should_send1", + "name": "should_send2", "service": "ddtrace_subprocess_dir", - "resource": "should_send1", + "resource": "banana", "trace_id": 1, "span_id": 1, "parent_id": 0, @@ -37,25 +41,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65cbae1700000000", - "banana": "True", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3vpneufv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "ddb451e9ba4245cc915e8914d4f8c008" + "runtime-id": "01e39b23d73949eea641ac0460edb57f", + "tag1": "mycooltag" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17492 + "_sampling_priority_v1": 1.0, + "process_id": 4455.0 }, - "duration": 66000, - "start": 1707847191673935000 + "duration": 34709, + "start": 1776266195420852375 }], [ { - "name": "should_send2", + "name": "should_send1", "service": "ddtrace_subprocess_dir", - "resource": "banana", + "resource": "should_send1", "trace_id": 2, "span_id": 1, "parent_id": 0, @@ -63,25 +69,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65cbae1700000000", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3vpneufv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "banana": "True", "language": "python", - "runtime-id": "ddb451e9ba4245cc915e8914d4f8c008", - "tag1": "mycooltag" + "runtime-id": "01e39b23d73949eea641ac0460edb57f" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17492 + "_sampling_priority_v1": 1.0, + "process_id": 4455.0 }, - "duration": 73000, - "start": 1707847191671954000 + "duration": 9250, + "start": 1776266195420949250 }], [ { - "name": "should_not_send", + "name": "should_send3", "service": "mycoolservice", - "resource": "should_not_send", + "resource": "should_send3", "trace_id": 3, "span_id": 1, "parent_id": 0, @@ -89,20 +97,20 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-3", - "_dd.p.ksr": "0", - "_dd.p.tid": "65cbae1700000000", + "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3vpneufv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "banana": "True", "language": "python", - "runtime-id": "ddb451e9ba4245cc915e8914d4f8c008", - "tag1": "mycooltag" + "runtime-id": "01e39b23d73949eea641ac0460edb57f" }, "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 17492 + "_sampling_priority_v1": 1.0, + "process_id": 4455.0 }, - "duration": 103000, - "start": 1707847191669567000 + "duration": 7042, + "start": 1776266195420990875 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json index 11922dfd90f..17a05eeddec 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json @@ -11,19 +11,22 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", + "_dd.p.tid": "69dfabd400000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpv58vin3r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "c3c5d61c08d04b488d7b54ebe541d3be", + "runtime-id": "46b42d9278404d3f88a2a039215105fe", "tag1": "mycooltag" }, "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 14525 + "_sampling_priority_v1": -1.0, + "process_id": 4476.0 }, - "duration": 97309, - "start": 1694189952766547852 + "duration": 71416, + "start": 1776266196170513251 }], [ { @@ -37,16 +40,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabd400000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpv58vin3r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "c3c5d61c08d04b488d7b54ebe541d3be", + "runtime-id": "46b42d9278404d3f88a2a039215105fe", "tag1": "mcooltag" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 14525 + "_sampling_priority_v1": 1.0, + "process_id": 4476.0 }, - "duration": 60476, - "start": 1694189952775181605 + "duration": 37541, + "start": 1776266196170956376 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json index 33d02d2ab2b..8257bc4bd6e 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json @@ -11,20 +11,22 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "65cbe3ad00000000", + "_dd.p.tid": "69dfabd100000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c69rmdr,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "4ef91661e8454c5e9b76221f1d77592e", + "runtime-id": "705db991266e4b1d8e8e1b8537a61c65", "tag1": "mycooltag" }, "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 8075 + "_sampling_priority_v1": -1.0, + "process_id": 4390.0 }, - "duration": 78000, - "start": 1707860909015745000 + "duration": 57083, + "start": 1776266193355524389 }], [ { @@ -38,17 +40,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "65cbe3ad00000000", + "_dd.p.tid": "69dfabd100000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c69rmdr,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "4ef91661e8454c5e9b76221f1d77592e", + "runtime-id": "705db991266e4b1d8e8e1b8537a61c65", "tag1": "mycooltag" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 8075 + "_sampling_priority_v1": 1.0, + "process_id": 4390.0 }, - "duration": 49000, - "start": 1707860909016000000 + "duration": 20333, + "start": 1776266193355915597 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json index ec8d3ba3aac..b80c5925bf8 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json @@ -11,19 +11,21 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "6881b20100000000", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpbf5or_kx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "e5827348f1274e43a58dc88d9dc65596", + "runtime-id": "93266dc1765f4279ab25c2374e726fcb", "tag1": "monkey" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 51177 + "_sampling_priority_v1": 1.0, + "process_id": 4462.0 }, - "duration": 21000, - "start": 1753330177405084000 + "duration": 49875, + "start": 1776266195630399542 }], [ { @@ -39,19 +41,21 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "6881b20100000000", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpbf5or_kx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "e5827348f1274e43a58dc88d9dc65596", + "runtime-id": "93266dc1765f4279ab25c2374e726fcb", "tag1": "monkey", "tag2": "banana" }, "metrics": { "_dd.rule_psr": 0.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 51177 + "_sampling_priority_v1": -1.0, + "process_id": 4462.0 }, - "duration": 15000, - "start": 1753330177405259000 + "duration": 31041, + "start": 1776266195631170334 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json index bc2d57430e1..0e7b010a24f 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json @@ -1,28 +1,32 @@ [[ { - "name": "should_send1", + "name": "should_not_send", "service": "ddtrace_subprocess_dir", - "resource": "banana", + "resource": "mycoolre$ource", "trace_id": 0, "span_id": 1, "parent_id": 0, "type": "", "error": 0, "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "65cd05a600000000", + "_dd.p.dm": "-3", + "_dd.p.ksr": "0", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpsgdn7h94,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "ab78d1d0e61246e1b417857c4ea49171", + "runtime-id": "5701c3fc474a47a6abdd0623a1968467", "test": "None" }, "metrics": { - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 86588 + "_sampling_priority_v1": -1.0, + "process_id": 4469.0 }, - "duration": 60000, - "start": 1707935142326842000 + "duration": 52750, + "start": 1776266195895527459 }], [ { @@ -37,46 +41,48 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "65cd05a600000000", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpsgdn7h94,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "ab78d1d0e61246e1b417857c4ea49171", + "runtime-id": "5701c3fc474a47a6abdd0623a1968467", "test": "None" }, "metrics": { "_dd.rule_psr": 0.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 86588 + "_sampling_priority_v1": -1.0, + "process_id": 4469.0 }, - "duration": 61000, - "start": 1707935142323566000 + "duration": 31667, + "start": 1776266195895932750 }], [ { - "name": "should_not_send", + "name": "should_send1", "service": "ddtrace_subprocess_dir", - "resource": "mycoolre$ource", + "resource": "banana", "trace_id": 2, "span_id": 1, "parent_id": 0, "type": "", "error": 0, "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "0", - "_dd.p.tid": "65cd05a600000000", + "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpsgdn7h94,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "ab78d1d0e61246e1b417857c4ea49171", + "runtime-id": "5701c3fc474a47a6abdd0623a1968467", "test": "None" }, "metrics": { - "_dd.rule_psr": 0.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 86588 + "_sampling_priority_v1": 1.0, + "process_id": 4469.0 }, - "duration": 88000, - "start": 1707935142319543000 + "duration": 9125, + "start": 1776266195896019167 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json index 1afff611193..4fe7a444da0 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json @@ -1,28 +1,32 @@ [[ { - "name": "should_send1", + "name": "should_not_send", "service": "ddtrace_subprocess_dir", - "resource": "banana", + "resource": "mycoolre$ource", "trace_id": 0, "span_id": 1, "parent_id": 0, "type": "", "error": 0, "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "65cd193b00000000", + "_dd.p.dm": "-3", + "_dd.p.ksr": "0", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcfmdgzdt,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1627de339aa344188313503df35b1373", - "test": "1234" + "runtime-id": "008d8c36533e44e49a72b7fa02ab2940" }, "metrics": { - "_dd.top_level": 1, + "_dd.rule_psr": 0.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 35899 + "_sampling_priority_v1": -1.0, + "process_id": 4447.0, + "test": 123.0 }, - "duration": 72000, - "start": 1707940155165279000 + "duration": 60292, + "start": 1776266195135362000 }], [ { @@ -37,46 +41,48 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "65cd193b00000000", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcfmdgzdt,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1627de339aa344188313503df35b1373", + "runtime-id": "008d8c36533e44e49a72b7fa02ab2940", "test": "123" }, "metrics": { "_dd.rule_psr": 0.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 35899 + "_sampling_priority_v1": -1.0, + "process_id": 4447.0 }, - "duration": 57000, - "start": 1707940155162138000 + "duration": 33167, + "start": 1776266195135761875 }], [ { - "name": "should_not_send", + "name": "should_send1", "service": "ddtrace_subprocess_dir", - "resource": "mycoolre$ource", + "resource": "banana", "trace_id": 2, "span_id": 1, "parent_id": 0, "type": "", "error": 0, "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "0", - "_dd.p.tid": "65cd193b00000000", + "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabd300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcfmdgzdt,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1627de339aa344188313503df35b1373" + "runtime-id": "008d8c36533e44e49a72b7fa02ab2940", + "test": "1234" }, "metrics": { - "_dd.rule_psr": 0.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 35899, - "test": 123 + "_sampling_priority_v1": 1.0, + "process_id": 4447.0 }, - "duration": 99000, - "start": 1707940155160041000 + "duration": 9625, + "start": 1776266195135853500 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json index 055e739c5ba..e0fe3425582 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json +++ b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json @@ -10,17 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabd600000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0tfnv20h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "d5f3e666fe79454c90ec7063f44787b5" + "runtime-id": "1d9d9245e9074f14b45d7a1279b94d89" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19794 + "_sampling_priority_v1": 1.0, + "process_id": 4504.0 }, - "duration": 86588, - "start": 1691163616713154842 + "duration": 89125, + "start": 1776266198075715377 }, { "name": "child", @@ -31,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 10853, - "start": 1691163616713219858 + "meta": { + "_dd.svc_src": "ddtrace_subprocess_dir" + }, + "duration": 19417, + "start": 1776266198075772918 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json index eb97ffcd182..84f17393e35 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json +++ b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json @@ -10,17 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69dfabd200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpwpx63_3i,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "9d1cfdf7026e45dea46fc4c83768cc7b" + "runtime-id": "545f84c24e9042d4950fb87a7d92ee72" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 9723 + "_sampling_priority_v1": 1.0, + "process_id": 4432.0 }, - "duration": 71105, - "start": 1692390478003298156 + "duration": 88459, + "start": 1776266194637128333 }, { "name": "child", @@ -31,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 11067, - "start": 1692390478003347011 + "meta": { + "_dd.svc_src": "ddtrace_subprocess_dir" + }, + "duration": 18375, + "start": 1776266194637187083 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json index dbc8e6214de..7770f5cdeb9 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json @@ -11,19 +11,21 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "68a5d4f600000000", + "_dd.p.tid": "69dfabd100000000", + "_dd.svc_src": "animals", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpjhti_fmt,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python", - "runtime-id": "64bf6d3f1d7c4f62b4a4641d09d5f3c4" + "runtime-id": "3b6855734c264dcbae1e8087ef54545e" }, "metrics": { "_dd.rule_psr": 0.0, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 6556 + "_sampling_priority_v1": -1.0, + "process_id": 4397.0 }, - "duration": 70916, - "start": 1758013735832416710 + "duration": 115125, + "start": 1776266193570972305 }, { "name": "monkey", @@ -34,12 +36,15 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "animals" + }, "metrics": { - "_dd.span_sampling.mechanism": 8, - "_dd.span_sampling.rule_rate": 1 + "_dd.span_sampling.mechanism": 8.0, + "_dd.span_sampling.rule_rate": 1.0 }, - "duration": 29125, - "start": 1758013735832443876 + "duration": 44292, + "start": 1776266193571024680 }, { "name": "human_monkey", @@ -50,8 +55,11 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 6625, - "start": 1758013735832458460 + "meta": { + "_dd.svc_src": "animals" + }, + "duration": 9166, + "start": 1776266193571045514 }, { "name": "donkey_monkey", @@ -62,6 +70,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 4417, - "start": 1758013735832479668 + "meta": { + "_dd.svc_src": "animals" + }, + "duration": 7125, + "start": 1776266193571076805 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json index c4d6f91e352..5c718e663dc 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json @@ -5,20 +5,21 @@ "resource": "non_root_span", "trace_id": 0, "span_id": 1, - "parent_id": 5593387534262020535, + "parent_id": 12877314553194856304, "type": "", "error": 0, "meta": { "_dd.p.dm": "-3", - "_dd.p.tid": "68c9292700000000", + "_dd.p.tid": "69dfabd500000000", + "_dd.svc_src": "animals", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpofdko649,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python" }, "metrics": { - "_dd.span_sampling.mechanism": 8, - "_dd.span_sampling.rule_rate": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1 + "_dd.span_sampling.mechanism": 8.0, + "_dd.span_sampling.rule_rate": 1.0, + "_sampling_priority_v1": -1.0 }, - "duration": 47917, - "start": 1758013735668479418 + "duration": 2508084, + "start": 1776266197849387626 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json index a18f98fd21a..768ba7572d1 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 100417, + "Duration": 3104541, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json index dc8415f5d4a..18516f5d315 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json @@ -11,21 +11,23 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "68a5d5cb00000000", + "_dd.p.tid": "69dfabd100000000", + "_dd.svc_src": "animals", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9pdh7sy4,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python", - "runtime-id": "349e255439474519b3f8e725a64b6c0a" + "runtime-id": "891bb18f1d184487a13f1a31e0a56f35" }, "metrics": { "_dd.rule_psr": 0.0, - "_dd.span_sampling.mechanism": 8, - "_dd.span_sampling.rule_rate": 1, - "_dd.top_level": 1, + "_dd.span_sampling.mechanism": 8.0, + "_dd.span_sampling.rule_rate": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 6545 + "_sampling_priority_v1": -1.0, + "process_id": 4383.0 }, - "duration": 288209, - "start": 1758013735336668084 + "duration": 1302250, + "start": 1776266193050516763 }, { "name": "non_monkey", @@ -38,14 +40,16 @@ "error": 0, "meta": { "_dd.p.dm": "-3", - "_dd.p.tid": "68c9292700000000", + "_dd.p.tid": "69dfabd100000000", + "_dd.svc_src": "animals", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9pdh7sy4,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python" }, "metrics": { - "_dd.py.partial_flush": 1, + "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1 + "_sampling_priority_v1": -1.0 }, - "duration": 13541, - "start": 1758013735336694543 + "duration": 52500, + "start": 1776266193050821347 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json index 2b25af8642d..7728d0bca47 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json @@ -11,19 +11,21 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "68a5d77c00000000", + "_dd.p.tid": "69dfabce00000000", + "_dd.svc_src": "animals", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpfw1xzstt,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python", - "runtime-id": "643fa3aa63d140ceb4d1b28983fc68cb" + "runtime-id": "f90dd64fee494cb193f12089f2db3ea1" }, "metrics": { "_dd.rule_psr": 0.0, - "_dd.span_sampling.mechanism": 8, - "_dd.span_sampling.rule_rate": 1, - "_dd.top_level": 1, + "_dd.span_sampling.mechanism": 8.0, + "_dd.span_sampling.rule_rate": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 6548 + "_sampling_priority_v1": -1.0, + "process_id": 4348.0 }, - "duration": 120625, - "start": 1758013735498309959 + "duration": 2562958, + "start": 1776266190769330096 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json index ed761942876..0d5d15119ec 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 120625, + "Duration": 2562958, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json b/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json index 70166db7303..3180a83bec8 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json @@ -10,15 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -32,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -47,15 +52,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -69,6 +76,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -84,15 +94,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -106,6 +118,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -121,15 +136,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -143,6 +160,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -158,15 +178,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -180,6 +202,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -195,15 +220,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -217,6 +244,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -232,15 +262,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -254,6 +286,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -269,15 +304,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -291,6 +328,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -306,15 +346,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -328,6 +370,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -343,15 +388,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -365,6 +412,9 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "duration": 999999999, "start": 1 }], @@ -380,15 +430,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -402,8 +454,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 @@ -420,15 +475,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -442,8 +499,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 @@ -460,15 +520,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -482,8 +544,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 @@ -500,15 +565,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -522,8 +589,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 @@ -540,15 +610,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -562,8 +634,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 @@ -580,15 +655,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -602,8 +679,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 @@ -620,15 +700,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -642,8 +724,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 @@ -660,15 +745,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -682,8 +769,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 @@ -700,15 +790,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -722,8 +814,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 @@ -740,15 +835,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -762,8 +859,11 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.integration" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_measured_span_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_measured_span_tracestats.json index 85a3072af1b..9f925baaeb2 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_measured_span_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_measured_span_tracestats.json @@ -6,7 +6,7 @@ { "Name": "child_stats", "Resource": "child_stats", - "Service": null, + "Service": "tests.integration", "Type": "", "HTTPStatusCode": 0, "Synthetics": false, @@ -14,13 +14,13 @@ "TopLevelHits": 0, "Duration": 9999999990, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 }, { "Name": "parent", "Resource": "parent", - "Service": null, + "Service": "tests.integration", "Type": "", "HTTPStatusCode": 0, "Synthetics": false, @@ -28,8 +28,8 @@ "TopLevelHits": 20, "Duration": 19999999980, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 } ] } diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json index bf83155098c..f5b0ecd2e49 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 35875, - "start": 1718641696636756961 + "duration": 29375, + "start": 1776266208500380090 }], [ { @@ -35,18 +37,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 14708, - "start": 1718641696637089086 + "duration": 29250, + "start": 1776266208500621756 }], [ { @@ -60,18 +64,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 8375, - "start": 1718641696637162211 + "duration": 7834, + "start": 1776266208500715006 }], [ { @@ -85,18 +91,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 12875, - "start": 1718641696637255044 + "duration": 6917, + "start": 1776266208500762673 }], [ { @@ -110,18 +118,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 7583, - "start": 1718641696637309044 + "duration": 43459, + "start": 1776266208500805756 }], [ { @@ -135,18 +145,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 28458, - "start": 1718641696637356586 + "duration": 8042, + "start": 1776266208500915756 }], [ { @@ -160,18 +172,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 70500, - "start": 1718641696637418419 + "duration": 7666, + "start": 1776266208500965465 }], [ { @@ -185,18 +199,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 13500, - "start": 1718641696637640794 + "duration": 5291, + "start": 1776266208501008090 }], [ { @@ -210,18 +226,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 6625, - "start": 1718641696637688877 + "duration": 6000, + "start": 1776266208501044381 }], [ { @@ -235,16 +253,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 6084, - "start": 1718641696637731252 + "duration": 4875, + "start": 1776266208501079715 }]] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json index b808ef7f6f4..4b6e6db6604 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json @@ -6,16 +6,16 @@ { "Name": "operation", "Resource": "operation", - "Service": null, + "Service": "tests.integration", "Type": "", "HTTPStatusCode": 0, "Synthetics": false, "Hits": 10, "TopLevelHits": 10, - "Duration": 204583, + "Duration": 148709, "Errors": 0, - "OkSummary": 2070, - "ErrorSummary": 15 + "OkSummary": 1167, + "ErrorSummary": 24 } ] } diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json index 6e3752bf36f..cf7ab7f318e 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 158792, - "start": 1718641696077617794 + "duration": 59333, + "start": 1776266208486746715 }], [ { @@ -35,18 +37,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 10458, - "start": 1718641696078018419 + "duration": 30625, + "start": 1776266208487076881 }], [ { @@ -60,18 +64,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 6958, - "start": 1718641696078078211 + "duration": 7917, + "start": 1776266208487174173 }], [ { @@ -85,18 +91,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 6667, - "start": 1718641696078121252 + "duration": 5917, + "start": 1776266208487222006 }], [ { @@ -110,18 +118,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 6125, - "start": 1718641696078161627 + "duration": 5792, + "start": 1776266208487260381 }], [ { @@ -135,18 +145,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 5792, - "start": 1718641696078198127 + "duration": 5042, + "start": 1776266208487297881 }], [ { @@ -160,18 +172,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 5667, - "start": 1718641696078233377 + "duration": 5167, + "start": 1776266208487331881 }], [ { @@ -185,18 +199,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 5583, - "start": 1718641696078268794 + "duration": 5250, + "start": 1776266208487365131 }], [ { @@ -210,18 +226,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 5833, - "start": 1718641696078304044 + "duration": 4417, + "start": 1776266208487397881 }], [ { @@ -235,16 +253,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabe000000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 4999.0 }, - "duration": 19291, - "start": 1718641696078414586 + "duration": 4541, + "start": 1776266208487429215 }]] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json index 29bc65b215a..3f99fdae061 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json @@ -6,16 +6,16 @@ { "Name": "operation", "Resource": "operation", - "Service": null, + "Service": "tests.integration", "Type": "", "HTTPStatusCode": 0, "Synthetics": false, "Hits": 10, "TopLevelHits": 10, - "Duration": 231166, + "Duration": 134001, "Errors": 0, - "OkSummary": 2070, - "ErrorSummary": 15 + "OkSummary": 1383, + "ErrorSummary": 24 } ] } diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json index 94a2569d67a..578185d8ef8 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json @@ -11,15 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -37,15 +39,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -63,15 +67,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -89,15 +95,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -115,15 +123,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -141,15 +151,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -167,15 +179,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -193,15 +207,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -219,15 +235,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -245,15 +263,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -271,15 +291,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -297,15 +319,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -323,15 +347,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -349,15 +375,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -375,15 +403,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -401,15 +431,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -427,15 +459,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -453,15 +487,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -479,15 +515,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -505,15 +543,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -531,15 +571,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -557,15 +599,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -583,15 +627,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -609,15 +655,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -635,15 +683,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -661,15 +711,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -687,15 +739,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -713,15 +767,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -739,15 +795,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -765,15 +823,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670647500000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "fb5dd9ef56f448eaa8050cb46e5c5f9d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4400 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_30_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_30_tracestats.json index e8d5a876b98..a249499fcff 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_30_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_30_tracestats.json @@ -14,8 +14,8 @@ "TopLevelHits": 30, "Duration": 29999999970, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 } ] } diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json index ddb0bb4a3af..d6d2bc316fe 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json @@ -11,15 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -38,15 +40,17 @@ "_dd.base_service": "tests.integration", "_dd.origin": "synthetics", "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -64,16 +68,18 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "http.status_code": "200", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -91,15 +97,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -117,15 +125,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -143,15 +153,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -169,15 +181,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670642000000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4319 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs_tracestats.json index 785f19f1b48..150600b7170 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs_tracestats.json @@ -14,8 +14,8 @@ "TopLevelHits": 1, "Duration": 999999999, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 }, { "Name": "diff-op", @@ -28,13 +28,13 @@ "TopLevelHits": 1, "Duration": 999999999, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 }, { "Name": "op", "Resource": "/users/list", - "Service": "my-svc", + "Service": "diff-svc", "Type": "web", "HTTPStatusCode": 0, "Synthetics": false, @@ -42,13 +42,13 @@ "TopLevelHits": 1, "Duration": 999999999, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 }, { "Name": "op", "Resource": "/users/list", - "Service": "diff-svc", + "Service": "my-svc", "Type": "web", "HTTPStatusCode": 0, "Synthetics": false, @@ -56,8 +56,8 @@ "TopLevelHits": 1, "Duration": 999999999, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 }, { "Name": "op", @@ -70,8 +70,8 @@ "TopLevelHits": 1, "Duration": 999999999, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 }, { "Name": "op", @@ -84,8 +84,8 @@ "TopLevelHits": 1, "Duration": 999999999, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 }, { "Name": "op", @@ -98,8 +98,8 @@ "TopLevelHits": 1, "Duration": 999999999, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 } ] } diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json index 67b72fd6317..cbea710e0b3 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json @@ -11,15 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -37,15 +39,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -63,15 +67,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -89,15 +95,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -115,15 +123,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -141,15 +151,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -167,15 +179,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -193,15 +207,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -219,15 +235,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -245,15 +263,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -271,15 +291,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -297,15 +319,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -323,15 +347,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -349,15 +375,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -375,15 +403,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -401,15 +431,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -427,15 +459,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -453,15 +487,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -479,15 +515,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -505,15 +543,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -531,15 +571,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -557,15 +599,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -583,15 +627,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -609,15 +655,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -635,15 +683,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -661,15 +711,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -687,15 +739,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -713,15 +767,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -739,15 +795,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -765,15 +823,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670649800000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "ba3723c4e0b84e2ea3ff1b95ea6d8e7d" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4481 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors_tracestats.json index 674c5162cc3..b6e7fb1e413 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors_tracestats.json @@ -14,8 +14,8 @@ "TopLevelHits": 30, "Duration": 29999999970, "Errors": 15, - "OkSummary": 1046, - "ErrorSummary": 1046 + "OkSummary": 37, + "ErrorSummary": 37 } ] } diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json b/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json index 92b45c7b5b1..28b34fb5216 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json @@ -11,15 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -34,10 +36,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -55,15 +58,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -78,10 +83,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -99,15 +105,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -122,10 +130,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -143,15 +152,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -166,10 +177,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -187,15 +199,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -210,10 +224,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -231,15 +246,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -254,10 +271,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -275,15 +293,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -298,10 +318,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -319,15 +340,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -342,10 +365,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -363,15 +387,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -386,10 +412,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -407,15 +434,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -430,10 +459,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -451,15 +481,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -474,10 +506,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -495,15 +528,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -518,10 +553,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -539,15 +575,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -562,10 +600,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -583,15 +622,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -606,10 +647,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -627,15 +669,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -650,10 +694,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -671,15 +716,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -694,10 +741,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -715,15 +763,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -738,10 +788,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -759,15 +810,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -782,10 +835,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -803,15 +857,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -826,10 +882,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -847,15 +904,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -870,10 +929,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -891,15 +951,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -914,10 +976,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -935,15 +998,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -958,10 +1023,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -979,15 +1045,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -1002,10 +1070,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -1023,15 +1092,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -1046,10 +1117,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -1067,15 +1139,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -1090,10 +1164,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -1111,15 +1186,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -1134,10 +1211,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -1155,15 +1233,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -1178,10 +1258,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -1199,15 +1280,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -1222,10 +1305,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -1243,15 +1327,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -1266,10 +1352,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 @@ -1287,15 +1374,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "6670655700000000", + "_dd.p.tid": "69dfabef00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "187c852f9aba423da28a005d64e613a0" + "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4562 + "_sampling_priority_v1": 1.0, + "process_id": 5670.0 }, "duration": 999999999, "start": 1 @@ -1310,10 +1399,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_top_level_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_top_level_tracestats.json index 236e3411288..bb6527e3776 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_top_level_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_top_level_tracestats.json @@ -14,8 +14,8 @@ "TopLevelHits": 30, "Duration": 29999999970, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 }, { "Name": "parent", @@ -28,8 +28,8 @@ "TopLevelHits": 30, "Duration": 29999999970, "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 + "OkSummary": 37, + "ErrorSummary": 24 } ] } From 782150be1eb7c913992b59ccf25b8a9413a0ffd8 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 16 Apr 2026 11:12:21 -0700 Subject: [PATCH 037/114] update integration_snapshots snapshots --- ...al_flush_finished_counter_out_of_sync.json | 17 +- ...an_with_large_string_attributes[v0.4].json | 16 +- ...an_with_large_string_attributes[v0.5].json | 16 +- ...large_unicode_string_attributes[v0.4].json | 18 +- ...large_unicode_string_attributes[v0.5].json | 18 +- ...t_integration_snapshots.test_env_vars.json | 15 +- ...st_integration_snapshots.test_filters.json | 40 --- ...st_flush_spans_before_writer_recreate.json | 34 ++- ...ration_snapshots.test_multiple_traces.json | 88 ------ ...t_integration_snapshots.test_sampling.json | 261 ------------------ ...metrics_generates_no_error_logs[v0.4].json | 17 +- ...metrics_generates_no_error_logs[v0.5].json | 17 +- ...ignal_shutdown_flushes_traces_nostats.json | 18 +- ..._signal_shutdown_flushes_traces_stats.json | 16 +- ...tdown_flushes_traces_stats_tracestats.json | 2 +- ...apshots.test_single_trace_single_span.json | 29 -- ...ion_snapshots.test_synchronous_writer.json | 80 ------ ...t_tracer_trace_across_multiple_popens.json | 70 ----- ...pshots.test_tracer_trace_across_popen.json | 47 ---- ...tracetagsprocessor_only_adds_new_tags.json | 16 +- 20 files changed, 127 insertions(+), 708 deletions(-) delete mode 100644 tests/snapshots/tests.integration.test_integration_snapshots.test_filters.json delete mode 100644 tests/snapshots/tests.integration.test_integration_snapshots.test_multiple_traces.json delete mode 100644 tests/snapshots/tests.integration.test_integration_snapshots.test_sampling.json delete mode 100644 tests/snapshots/tests.integration.test_integration_snapshots.test_single_trace_single_span.json delete mode 100644 tests/snapshots/tests.integration.test_integration_snapshots.test_synchronous_writer.json delete mode 100644 tests/snapshots/tests.integration.test_integration_snapshots.test_tracer_trace_across_multiple_popens.json delete mode 100644 tests/snapshots/tests.integration.test_integration_snapshots.test_tracer_trace_across_popen.json diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json index 152337080f7..8db128884c4 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "692a0cfd00000000", + "_dd.p.tid": "69e1265500000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpf205_egj,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "48593bb50c174935bfdd35e973b6247b" + "runtime-id": "076093b648be48c8b083c8ea71e5d675" }, "metrics": { "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 74422.0 + "process_id": 10281.0 }, "duration": 1, - "start": 1764363517274022000 + "start": 1776363093759314136 }, { "name": "span2", @@ -32,6 +34,9 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 46000, - "start": 1764363517274097000 + "meta": { + "_dd.svc_src": "ddtrace_subprocess_dir" + }, + "duration": 16500, + "start": 1776363093759364427 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json index 7b3204b4fb4..b9a0c04542c 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6810e9ac00000000", + "_dd.p.tid": "69e1265100000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", "language": "python", - "runtime-id": "ef8548cbeb54419b92741c0e913d857f" + "runtime-id": "1c96a77489a043858d8c4a1a2da37333" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 97627 + "_sampling_priority_v1": 1.0, + "process_id": 10045.0 }, - "duration": 33000, - "start": 1745938860657428000 + "duration": 65708, + "start": 1776363089793486217 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json index 11a33c968db..7abe2a8b64a 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6810e9ac00000000", + "_dd.p.tid": "69e1265100000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", "language": "python", - "runtime-id": "ef8548cbeb54419b92741c0e913d857f" + "runtime-id": "1c96a77489a043858d8c4a1a2da37333" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 97627 + "_sampling_priority_v1": 1.0, + "process_id": 10045.0 }, - "duration": 32000, - "start": 1745938860674752000 + "duration": 50083, + "start": 1776363089816238092 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json index c55d011a9ee..7af6cee52a0 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "682df8af00000000", + "_dd.p.tid": "69e1265400000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "801d937aadb042b4a49c66fbc7edf64e", + "runtime-id": "1c96a77489a043858d8c4a1a2da37333", "\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5...": "\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4" }, "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 0.25, - "_sampling_priority_v1": 1, - "process_id": 84874 + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 10045.0 }, - "duration": 57689, - "start": 1747843247381337799 + "duration": 52250, + "start": 1776363092828614094 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json index 2071e649ffc..798732f1917 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json @@ -10,17 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "682df8b000000000", + "_dd.p.tid": "69e1265200000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "801d937aadb042b4a49c66fbc7edf64e", + "runtime-id": "1c96a77489a043858d8c4a1a2da37333", "\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5...": "\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4" }, "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 0.0, - "_sampling_priority_v1": 1, - "process_id": 84874 + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 10045.0 }, - "duration": 33939, - "start": 1747843248087457431 + "duration": 42834, + "start": 1776363090606903467 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json index 4d243260dee..df06cb5b9f8 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json @@ -10,17 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e1265200000000", + "_dd.svc_src": "my-svc", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "env": "prod", "language": "python", - "runtime-id": "a57b4f7c9a8641ef87d411c889ce2756", + "runtime-id": "d3039b985c654df6b54593063b904322", "version": "1234" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15973 + "_sampling_priority_v1": 1.0, + "process_id": 10195.0 }, - "duration": 68393, - "start": 1690574477114895062 + "duration": 58125, + "start": 1776363090081474592 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_filters.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_filters.json deleted file mode 100644 index f49585f9318..00000000000 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_filters.json +++ /dev/null @@ -1,40 +0,0 @@ -[[ - { - "name": "root", - "service": "tests.integration", - "resource": "root", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "boop": "beep", - "language": "python", - "runtime-id": "d5f3e666fe79454c90ec7063f44787b5" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19794 - }, - "duration": 57987, - "start": 1691163615399763375 - }, - { - "name": "child", - "service": "tests.integration", - "resource": "child", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "boop": "beep" - }, - "duration": 9986, - "start": 1691163615399801362 - }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json index 338c7f4b2ec..fdcff8bfb59 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json @@ -6,20 +6,24 @@ "trace_id": 0, "span_id": 1, "parent_id": 0, + "type": "", + "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6854a54200000000", + "_dd.p.tid": "69e1265300000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp8bok17te,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "b0e0b1b6ceee4ac18dc337bc1f9b6872" + "runtime-id": "b2fb5f286e914f5a935b7ddb73b26168" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 78381 + "_sampling_priority_v1": 1.0, + "process_id": 10223.0 }, - "duration": 40804000, - "start": 1750377794426724000 + "duration": 2043625, + "start": 1776363091300702968 }], [ { @@ -34,16 +38,18 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "6854a54200000000", + "_dd.p.tid": "69e1265300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp8bok17te,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "b0e0b1b6ceee4ac18dc337bc1f9b6872" + "runtime-id": "b2fb5f286e914f5a935b7ddb73b26168" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 78381 + "_sampling_priority_v1": 1.0, + "process_id": 10223.0 }, - "duration": 21000, - "start": 1750377794426242000 + "duration": 61416, + "start": 1776363091300398843 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_multiple_traces.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_multiple_traces.json deleted file mode 100644 index bb0773bf02d..00000000000 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_multiple_traces.json +++ /dev/null @@ -1,88 +0,0 @@ -[[ - { - "name": "operation1", - "service": "my-svc", - "resource": "operation1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration", - "_dd.p.dm": "-0", - "k": "v", - "language": "python", - "runtime-id": "f335963d0a054add88871c4f52e100e1" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "float_metric": 12.34, - "int_metric": 4321, - "num": 1234, - "process_id": 18654 - }, - "duration": 55833, - "start": 1692900308663710086 - }, - { - "name": "child", - "service": "my-svc", - "resource": "child", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration" - }, - "duration": 8792, - "start": 1692900308663749377 - }], -[ - { - "name": "operation2", - "service": "my-svc", - "resource": "operation2", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration", - "_dd.p.dm": "-0", - "k": "v", - "language": "python", - "runtime-id": "f335963d0a054add88871c4f52e100e1" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "float_metric": 12.34, - "int_metric": 4321, - "num": 1234, - "process_id": 18654 - }, - "duration": 35500, - "start": 1692900308664048211 - }, - { - "name": "child", - "service": "my-svc", - "resource": "child", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration" - }, - "duration": 7417, - "start": 1692900308664070169 - }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_sampling.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_sampling.json deleted file mode 100644 index 3a1341f7047..00000000000 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_sampling.json +++ /dev/null @@ -1,261 +0,0 @@ -[[ - { - "name": "trace7", - "service": "tests.integration", - "resource": "trace7", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-4", - "_dd.p.ksr": "1", - "language": "python", - "runtime-id": "6f2eeb0b30c54268b96f6eca8a2d66ba" - }, - "metrics": { - "_dd.rule_psr": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 15844 - }, - "duration": 54362, - "start": 1690574476628735754 - }, - { - "name": "child", - "service": "tests.integration", - "resource": "child", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "duration": 11715, - "start": 1690574476628770928 - }], -[ - { - "name": "trace6", - "service": "tests.integration", - "resource": "trace6", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.ksr": "1", - "language": "python", - "runtime-id": "6f2eeb0b30c54268b96f6eca8a2d66ba" - }, - "metrics": { - "_dd.rule_psr": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 15844 - }, - "duration": 54307, - "start": 1690574476627657664 - }, - { - "name": "child", - "service": "tests.integration", - "resource": "child", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "duration": 12752, - "start": 1690574476627692203 - }], -[ - { - "name": "trace5", - "service": "tests.integration", - "resource": "trace5", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.ksr": "0", - "language": "python", - "runtime-id": "6f2eeb0b30c54268b96f6eca8a2d66ba" - }, - "metrics": { - "_dd.rule_psr": 0, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 15844 - }, - "duration": 48010, - "start": 1690574476626552013 - }, - { - "name": "child", - "service": "tests.integration", - "resource": "child", - "trace_id": 2, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "duration": 7332, - "start": 1690574476626585194 - }], -[ - { - "name": "trace4", - "service": "tests.integration", - "resource": "trace4", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "1", - "language": "python", - "runtime-id": "6f2eeb0b30c54268b96f6eca8a2d66ba" - }, - "metrics": { - "_dd.rule_psr": 1.0, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 15844 - }, - "duration": 54731, - "start": 1690574476625440423 - }, - { - "name": "child", - "service": "tests.integration", - "resource": "child", - "trace_id": 3, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "duration": 7522, - "start": 1690574476625479881 - }], -[ - { - "name": "trace3", - "service": "tests.integration", - "resource": "trace3", - "trace_id": 4, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.ksr": "0.000001", - "language": "python", - "runtime-id": "6f2eeb0b30c54268b96f6eca8a2d66ba" - }, - "metrics": { - "_dd.rule_psr": 1e-06, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 15844 - }, - "duration": 58818, - "start": 1690574476624262329 - }, - { - "name": "child", - "service": "tests.integration", - "resource": "child", - "trace_id": 4, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "duration": 7704, - "start": 1690574476624305295 - }], -[ - { - "name": "trace2", - "service": "tests.integration", - "resource": "trace2", - "trace_id": 5, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "1", - "language": "python", - "runtime-id": "6f2eeb0b30c54268b96f6eca8a2d66ba" - }, - "metrics": { - "_dd.rule_psr": 1.0, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 15844 - }, - "duration": 89899, - "start": 1690574476622906462 - }, - { - "name": "child", - "service": "tests.integration", - "resource": "child", - "trace_id": 5, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "duration": 7840, - "start": 1690574476622978394 - }], -[ - { - "name": "trace1", - "service": "tests.integration", - "resource": "trace1", - "trace_id": 6, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "language": "python", - "runtime-id": "6f2eeb0b30c54268b96f6eca8a2d66ba" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15844 - }, - "duration": 95086, - "start": 1690574476621560661 - }, - { - "name": "child", - "service": "tests.integration", - "resource": "child", - "trace_id": 6, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "duration": 13539, - "start": 1690574476621625665 - }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json index 4560a809b7f..46645efebc9 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json @@ -11,19 +11,22 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", + "_dd.p.tid": "69e1264c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "env": "my-env", "language": "python", "number3": "1", - "runtime-id": "7c8dd0a7578442dd931157f2f24c5b1f" + "runtime-id": "1c96a77489a043858d8c4a1a2da37333" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "number1": 123, + "_sampling_priority_v1": 1.0, + "number1": 123.0, "number2": 12.0, - "process_id": 18772 + "process_id": 10045.0 }, - "duration": 62833, - "start": 1692900311239166212 + "duration": 50625, + "start": 1776363084515875423 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json index d186a7b9bf8..dd7df43b8eb 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json @@ -11,19 +11,22 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", + "_dd.p.tid": "69e1265800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "env": "my-env", "language": "python", "number3": "1", - "runtime-id": "01a74b78d7764bd88449411b529e8a01" + "runtime-id": "1c96a77489a043858d8c4a1a2da37333" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "number1": 123, + "_sampling_priority_v1": 1.0, + "number1": 123.0, "number2": 12.0, - "process_id": 18769 + "process_id": 10045.0 }, - "duration": 69791, - "start": 1692900310610188462 + "duration": 97750, + "start": 1776363096115750845 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json index 98738dc4f53..1132cd1de73 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json @@ -6,21 +6,21 @@ "trace_id": 0, "span_id": 1, "parent_id": 0, - "type": "", - "error": 0, "meta": { "_dd.base_service": "test_signal_shutdown_flushes_t0", "_dd.p.dm": "-0", - "_dd.p.tid": "6982365b00000000", + "_dd.p.tid": "69e1264e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t0,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t0", "language": "python", - "runtime-id": "bb7fe00f98c14549bad565c99ccf088c" + "runtime-id": "de43d4a5d268458e867c56bd8afab731" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 626 + "_sampling_priority_v1": 1.0, + "process_id": 10119.0 }, - "duration": 406875, - "start": 1770141275809623386 + "duration": 43792, + "start": 1776363086010654007 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json index 8536441ad9e..41424f7bcc2 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json @@ -6,19 +6,23 @@ "trace_id": 0, "span_id": 1, "parent_id": 0, + "type": "", + "error": 0, "meta": { - "_dd.base_service": "test_signal_shutdown_flushes_t0", + "_dd.base_service": "test_signal_shutdown_flushes_t1", "_dd.p.dm": "-0", - "_dd.p.tid": "6982362f00000000", + "_dd.p.tid": "69e1264e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t1,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t1", "language": "python", - "runtime-id": "78e48d852d1746998dc68682b13851f8" + "runtime-id": "4e26324050e0499f8afda31296eb282c" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 626.0 + "process_id": 10130.0 }, - "duration": 1642667, - "start": 1770141231735705171 + "duration": 46417, + "start": 1776363086728828757 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json index 66ab0850417..f04568deda8 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 1642667, + "Duration": 46417, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_single_trace_single_span.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_single_trace_single_span.json deleted file mode 100644 index 6488442669c..00000000000 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_single_trace_single_span.json +++ /dev/null @@ -1,29 +0,0 @@ -[[ - { - "name": "operation", - "service": "my-svc", - "resource": "operation", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration", - "_dd.p.dm": "-0", - "k": "v", - "language": "python", - "runtime-id": "f335963d0a054add88871c4f52e100e1" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "float_metric": 12.34, - "int_metric": 4321, - "num": 1234, - "process_id": 18654 - }, - "duration": 49416, - "start": 1692900308655182086 - }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_synchronous_writer.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_synchronous_writer.json deleted file mode 100644 index aa2c70ace7c..00000000000 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_synchronous_writer.json +++ /dev/null @@ -1,80 +0,0 @@ -[[ - { - "name": "operation2", - "service": "my-svc", - "resource": "operation2", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration", - "_dd.p.dm": "-0", - "language": "python", - "runtime-id": "f335963d0a054add88871c4f52e100e1" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 18654 - }, - "duration": 36208, - "start": 1692900308688412919 - }, - { - "name": "child2", - "service": "my-svc", - "resource": "child2", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration" - }, - "duration": 8584, - "start": 1692900308688433877 - }], -[ - { - "name": "operation1", - "service": "my-svc", - "resource": "operation1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration", - "_dd.p.dm": "-0", - "language": "python", - "runtime-id": "f335963d0a054add88871c4f52e100e1" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 18654 - }, - "duration": 74792, - "start": 1692900308687576502 - }, - { - "name": "child1", - "service": "my-svc", - "resource": "child1", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration" - }, - "duration": 15167, - "start": 1692900308687627002 - }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracer_trace_across_multiple_popens.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracer_trace_across_multiple_popens.json deleted file mode 100644 index ed60bf43467..00000000000 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracer_trace_across_multiple_popens.json +++ /dev/null @@ -1,70 +0,0 @@ -[[ - { - "name": "parent", - "service": "tests.integration", - "resource": "parent", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "language": "python", - "runtime-id": "d5f3e666fe79454c90ec7063f44787b5" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19794 - }, - "duration": 17556566, - "start": 1691163615434076624 - }, - { - "name": "child1", - "service": "tests.integration", - "resource": "child1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "language": "python", - "runtime-id": "60f937fe2fa5494c8aeceab4b18a5174" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19882 - }, - "duration": 8826524, - "start": 1691163615437388850 - }, - { - "name": "child2", - "service": "tests.integration", - "resource": "child2", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "language": "python", - "runtime-id": "0a98b167e74c408abbb58db3fd26a2e7" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19883 - }, - "duration": 57412, - "start": 1691163615440398294 - }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracer_trace_across_popen.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracer_trace_across_popen.json deleted file mode 100644 index a545c8e5d48..00000000000 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracer_trace_across_popen.json +++ /dev/null @@ -1,47 +0,0 @@ -[[ - { - "name": "parent", - "service": "tests.integration", - "resource": "parent", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "language": "python", - "runtime-id": "d5f3e666fe79454c90ec7063f44787b5" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19794 - }, - "duration": 9397660, - "start": 1691163615417036222 - }, - { - "name": "child", - "service": "tests.integration", - "resource": "child", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "language": "python", - "runtime-id": "36f1a5c9396e469291422d40f4296160" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19878 - }, - "duration": 50276, - "start": 1691163615421553702 - }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json index 08108bdeff9..fead1c4aba2 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json @@ -9,16 +9,18 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "65d4cb4600000000", + "_dd.p.tid": "69e1265800000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpeastjpls,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1c638d86e4034cf685c2df4b2c21b792" + "runtime-id": "2750580554cb4e2b8f9620327f0ab4cb" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 81660 + "_sampling_priority_v1": 2.0, + "process_id": 10333.0 }, - "duration": 66000, - "start": 1708444486203789000 + "duration": 70167, + "start": 1776363096319781637 }]] From cc1b85861b5e55d8327730c5b7b4c0144e13f72c Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 16 Apr 2026 11:18:16 -0700 Subject: [PATCH 038/114] update asyncpg snapshots --- ...asyncpg.test_asyncpg.test_bad_connect.json | 13 +- ...b.asyncpg.test_asyncpg.test_bad_query.json | 25 ++-- ...pg.test_configure_service_name_env_v0.json | 38 ++--- ...pg.test_configure_service_name_env_v1.json | 38 ++--- ...rib.asyncpg.test_asyncpg.test_connect.json | 11 +- ....test_asyncpg.test_connection_methods.json | 71 ++++++---- ...trib.asyncpg.test_asyncpg.test_cursor.json | 71 ++++++---- ...yncpg.test_asyncpg.test_cursor_manual.json | 87 +++++++----- ...b.asyncpg.test_asyncpg.test_parenting.json | 52 ++++--- ...test_asyncpg.test_pool_custom_connect.json | 134 ++++++++++-------- ...ncpg.test_pool_without_custom_connect.json | 36 ++--- ...trib.asyncpg.test_asyncpg.test_select.json | 23 +-- ..._asyncpg.test_span_name_by_schema[v0].json | 23 +-- ..._asyncpg.test_span_name_by_schema[v1].json | 23 +-- ....test_unspecified_service_name_env_v0.json | 23 +-- ....test_unspecified_service_name_env_v1.json | 23 +-- 16 files changed, 389 insertions(+), 302 deletions(-) diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_bad_connect.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_bad_connect.json index e4809aa4d4c..263bdafbac6 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_bad_connect.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_bad_connect.json @@ -11,23 +11,24 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.system": "postgresql", "error.message": "Multiple exceptions: [Errno 111] Connect call failed ('::1', 5433, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 5433)", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/asyncpg/patch.py\", line 106, in _traced_connect\n raw_conn = await func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg~0230/lib/python3.9/site-packages/asyncpg/connection.py\", line 1981, in connect\n return await connect_utils._connect(\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg~0230/lib/python3.9/site-packages/asyncpg/connect_utils.py\", line 748, in _connect\n raise last_error\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg~0230/lib/python3.9/site-packages/asyncpg/connect_utils.py\", line 732, in _connect\n con = await _connect_addr(\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg~0230/lib/python3.9/site-packages/asyncpg/connect_utils.py\", line 632, in _connect_addr\n return await __connect_addr(params, timeout, True, *args)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg~0230/lib/python3.9/site-packages/asyncpg/connect_utils.py\", line 676, in __connect_addr\n tr, pr = await compat.wait_for(connector, timeout=timeout)\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg~0230/lib/python3.9/site-packages/asyncpg/compat.py\", line 103, in wait_for\n return await asyncio.wait_for(fut, timeout)\n File \"/home/bits/.pyenv/versions/3.9.23/lib/python3.9/asyncio/tasks.py\", line 479, in wait_for\n return fut.result()\n File \"/home/bits/project/.riot/venv_py3923_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg~0230/lib/python3.9/site-packages/asyncpg/connect_utils.py\", line 542, in _create_ssl_connection\n tr, pr = await loop.create_connection(\n File \"/home/bits/.pyenv/versions/3.9.23/lib/python3.9/asyncio/base_events.py\", line 1073, in create_connection\n raise OSError('Multiple exceptions: {}'.format(\nOSError: Multiple exceptions: [Errno 111] Connect call failed ('::1', 5433, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 5433)\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/asyncpg/patch.py\", line 106, in _traced_connect\n raw_conn = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return await connect_utils._connect(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg/lib/python3.12/site-packages/asyncpg/connect_utils.py\", line 1249, in _connect\n raise last_error or exceptions.TargetServerAttributeNotMatched(\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg/lib/python3.12/site-packages/asyncpg/connect_utils.py\", line 1218, in _connect\n conn = await _connect_addr(\n ^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg/lib/python3.12/site-packages/asyncpg/connect_utils.py\", line 1054, in _connect_addr\n return await __connect_addr(params, True, *args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg/lib/python3.12/site-packages/asyncpg/connect_utils.py\", line 1099, in __connect_addr\n tr, pr = await connector\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio~0211_pytest-randomly_asyncpg/lib/python3.12/site-packages/asyncpg/connect_utils.py\", line 969, in _create_ssl_connection\n tr, pr = await loop.create_connection(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/asyncio/base_events.py\", line 1140, in create_connection\n raise OSError('Multiple exceptions: {}'.format(\nOSError: Multiple exceptions: [Errno 111] Connect call failed ('::1', 5433, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 5433)\n", "error.type": "builtins.OSError", "language": "python", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 13329709, - "start": 1772481639550424803 + "duration": 5699500, + "start": 1776363469211016087 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_bad_query.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_bad_query.json index 2318a04d7c7..1f614ba31c0 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_bad_query.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_bad_query.json @@ -11,15 +11,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6600000000", + "_dd.p.tid": "69e127ce00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,10 +29,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 40432375, - "start": 1772481638144343094 + "duration": 3437166, + "start": 1776363470875977713 }], [ { @@ -46,17 +47,19 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6600000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "error.message": "syntax error at or near \"malformed\"", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/asyncpg/patch.py\", line 148, in _traced_query\n return await method(*args, **kwargs)\n File \"asyncpg/protocol/protocol.pyx\", line 338, in query\nasyncpg.exceptions.PostgresSyntaxError: syntax error at or near \"malformed\"\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/asyncpg/patch.py\", line 147, in _traced_query\n return await method(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"asyncpg/protocol/protocol.pyx\", line 369, in query\nasyncpg.exceptions.PostgresSyntaxError: syntax error at or near \"malformed\"\n", "error.type": "asyncpg.exceptions.PostgresSyntaxError", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -66,8 +69,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 3492666, - "start": 1772481638189810553 + "duration": 753958, + "start": 1776363470880013588 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v0.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v0.json index 5aaae824bd0..b9893eb375b 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v0.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v0.json @@ -11,26 +11,28 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "2f566abf1ac54ac0a0e4820e1393eaef", + "runtime-id": "3601362de3d24f40a3bd0eacec968072", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 5432, - "process_id": 25718 + "_sampling_priority_v1": 1.0, + "network.destination.port": 5432.0, + "process_id": 16455.0 }, - "duration": 4898333, - "start": 1692706987184353256 + "duration": 4016625, + "start": 1776363470318012296 }], [ { @@ -45,25 +47,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "2f566abf1ac54ac0a0e4820e1393eaef", + "runtime-id": "3601362de3d24f40a3bd0eacec968072", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 5432, - "process_id": 25718 + "_sampling_priority_v1": 1.0, + "network.destination.port": 5432.0, + "process_id": 16455.0 }, - "duration": 652334, - "start": 1692706987221936214 + "duration": 397375, + "start": 1776363470322448713 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v1.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v1.json index 9689595d647..a33fc4c35ff 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v1.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v1.json @@ -11,8 +11,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69e127ce00000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", @@ -20,19 +22,19 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "postgres", - "runtime-id": "15db47b079fc4656b27a4ce5e5c44910", + "runtime-id": "3b4fde8eba2e40f8a0b7f62396bc71aa", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 5432, - "process_id": 25721 + "_sampling_priority_v1": 1.0, + "network.destination.port": 5432.0, + "process_id": 16466.0 }, - "duration": 6866833, - "start": 1692706987864093173 + "duration": 3016459, + "start": 1776363470827890754 }], [ { @@ -47,8 +49,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69e127ce00000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", @@ -56,18 +60,18 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "postgres", - "runtime-id": "15db47b079fc4656b27a4ce5e5c44910", + "runtime-id": "3b4fde8eba2e40f8a0b7f62396bc71aa", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "network.destination.port": 5432, - "process_id": 25721 + "_sampling_priority_v1": 1.0, + "network.destination.port": 5432.0, + "process_id": 16466.0 }, - "duration": 670000, - "start": 1692706987902233215 + "duration": 328042, + "start": 1776363470831205296 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_connect.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_connect.json index ffb5e117da2..b90d538dc67 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_connect.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_connect.json @@ -11,15 +11,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127d000000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,8 +29,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 13031042, - "start": 1772481639390574178 + "duration": 5225292, + "start": 1776363472576180380 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_connection_methods.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_connection_methods.json index 52be8ef8dc6..f7cea539a49 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_connection_methods.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_connection_methods.json @@ -11,15 +11,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127ce00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,10 +29,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 24300875, - "start": 1772481639502071512 + "duration": 3487208, + "start": 1776363470908799671 }], [ { @@ -46,14 +47,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -63,10 +66,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 2429583, - "start": 1772481639527465137 + "duration": 2145125, + "start": 1776363470912916004 }], [ { @@ -81,14 +84,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -98,10 +103,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 2752584, - "start": 1772481639530566553 + "duration": 447084, + "start": 1776363470915518129 }], [ { @@ -116,14 +121,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -133,10 +140,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 360000, - "start": 1772481639534011303 + "duration": 227417, + "start": 1776363470916254254 }], [ { @@ -151,14 +158,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -168,10 +177,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 320333, - "start": 1772481639535202637 + "duration": 191625, + "start": 1776363470916752088 }], [ { @@ -186,14 +195,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -203,8 +214,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 262958, - "start": 1772481639535935762 + "duration": 159417, + "start": 1776363470917080796 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_cursor.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_cursor.json index 491610fad2a..5ebb7ede314 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_cursor.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_cursor.json @@ -11,15 +11,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,10 +29,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 9575375, - "start": 1772481639432311470 + "duration": 3730208, + "start": 1776363469785665754 }], [ { @@ -46,14 +47,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -63,10 +66,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 2734666, - "start": 1772481639442884387 + "duration": 2253125, + "start": 1776363469790164879 }], [ { @@ -81,14 +84,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -98,10 +103,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 1666500, - "start": 1772481639448425512 + "duration": 546375, + "start": 1776363469792841296 }], [ { @@ -116,14 +121,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -133,10 +140,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 217875, - "start": 1772481639450541595 + "duration": 197708, + "start": 1776363469793562046 }], [ { @@ -151,14 +158,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -168,10 +177,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 767584, - "start": 1772481639452026303 + "duration": 231250, + "start": 1776363469794073921 }], [ { @@ -186,14 +195,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -203,8 +214,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 216458, - "start": 1772481639453206012 + "duration": 166458, + "start": 1776363469794562421 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_cursor_manual.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_cursor_manual.json index b6612d4534f..2dce3bbfc84 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_cursor_manual.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_cursor_manual.json @@ -1,8 +1,8 @@ [[ { - "name": "postgres.query", + "name": "postgres.connect", "service": "postgres", - "resource": "BEGIN;", + "resource": "postgres.connect", "trace_id": 0, "span_id": 1, "parent_id": 0, @@ -11,33 +11,34 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6e00000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 432708, - "start": 1772481646202223209 + "duration": 3319875, + "start": 1776363470891444254 }], [ { "name": "postgres.query", "service": "postgres", - "resource": "MOVE FORWARD 10 __asyncpg_portal_a__", + "resource": "BEGIN;", "trace_id": 1, "span_id": 1, "parent_id": 0, @@ -46,14 +47,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6e00000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -63,16 +66,16 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 475833, - "start": 1772481646205227126 + "duration": 280750, + "start": 1776363470895396963 }], [ { "name": "postgres.query", "service": "postgres", - "resource": "SELECT generate_series(0, 100)", + "resource": "MOVE FORWARD 10 __asyncpg_portal_8__", "trace_id": 2, "span_id": 1, "parent_id": 0, @@ -81,14 +84,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6e00000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -98,10 +103,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 957833, - "start": 1772481646206145001 + "duration": 147417, + "start": 1776363470896259921 }], [ { @@ -116,14 +121,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6e00000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -133,16 +140,16 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 385458, - "start": 1772481646207442126 + "duration": 145458, + "start": 1776363470896534796 }], [ { "name": "postgres.query", "service": "postgres", - "resource": "COMMIT;", + "resource": "SELECT generate_series(0, 100)", "trace_id": 4, "span_id": 1, "parent_id": 0, @@ -151,14 +158,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6e00000000", + "_dd.p.tid": "69e127ce00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -168,16 +177,16 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 364875, - "start": 1772481646208164126 + "duration": 120959, + "start": 1776363470896779754 }], [ { - "name": "postgres.connect", + "name": "postgres.query", "service": "postgres", - "resource": "postgres.connect", + "resource": "COMMIT;", "trace_id": 5, "span_id": 1, "parent_id": 0, @@ -186,25 +195,27 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6e00000000", + "_dd.p.tid": "69e127ce00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { + "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 11910916, - "start": 1772481646188741501 + "duration": 159958, + "start": 1776363470896993963 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json index 16413d77281..f42b3e70bea 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json @@ -11,15 +11,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6b00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,10 +29,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 10603667, - "start": 1772481643104272138 + "duration": 3325708, + "start": 1776363469766773171 }], [ { @@ -45,18 +46,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6b00000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "tests.contrib.asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "language": "python", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682" + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 787875, - "start": 1772481643115942388 + "duration": 472459, + "start": 1776363469770643337 }, { "name": "postgres.query", @@ -69,6 +72,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.asyncpg", + "_dd.svc_src": "asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", @@ -82,8 +86,8 @@ "_dd.top_level": 1.0, "network.destination.port": 5432.0 }, - "duration": 474833, - "start": 1772481643116195097 + "duration": 366292, + "start": 1776363469770709587 }], [ { @@ -97,18 +101,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6b00000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "tests.contrib.asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "language": "python", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682" + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 45292, - "start": 1772481643116981263 + "duration": 28667, + "start": 1776363469771234712 }], [ { @@ -123,14 +129,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6b00000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -140,8 +148,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 270542, - "start": 1772481643117199930 + "duration": 220167, + "start": 1776363469771354879 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_pool_custom_connect.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_pool_custom_connect.json index 4dbbe913e40..525119ad796 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_pool_custom_connect.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_pool_custom_connect.json @@ -11,15 +11,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,10 +29,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 4302542, - "start": 1772481757830547094 + "duration": 3541125, + "start": 1776363469806291337 }], [ { @@ -46,15 +47,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -63,10 +65,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 20469750, - "start": 1772481757835795344 + "duration": 11957584, + "start": 1776363469813242962 }], [ { @@ -81,15 +83,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -98,10 +101,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 19210250, - "start": 1772481757837604928 + "duration": 6944125, + "start": 1776363469818609421 }], [ { @@ -116,15 +119,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -133,10 +137,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 15284417, - "start": 1772481757841989344 + "duration": 13858875, + "start": 1776363469811840962 }], [ { @@ -151,15 +155,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -168,10 +173,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 17335250, - "start": 1772481757840230469 + "duration": 11231250, + "start": 1776363469814600004 }], [ { @@ -186,15 +191,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -203,10 +209,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 12375042, - "start": 1772481757845459969 + "duration": 6003958, + "start": 1776363469819955421 }], [ { @@ -221,15 +227,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -238,10 +245,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 11169166, - "start": 1772481757846922678 + "duration": 10157416, + "start": 1776363469815931171 }], [ { @@ -256,15 +263,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -273,10 +281,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 7197750, - "start": 1772481757851156719 + "duration": 4886333, + "start": 1776363469821326171 }], [ { @@ -291,15 +299,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -308,10 +317,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 9473958, - "start": 1772481757849153011 + "duration": 9362042, + "start": 1776363469817297504 }], [ { @@ -326,15 +335,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -343,10 +353,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 15244333, - "start": 1772481757843634761 + "duration": 16718167, + "start": 1776363469810226504 }], [ { @@ -361,14 +371,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -378,10 +390,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 457334, - "start": 1772481757859805594 + "duration": 239416, + "start": 1776363469827414296 }], [ { @@ -396,14 +408,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ecdd00000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "e07bef984eac4e878047e33e8649246b", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -413,8 +427,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28886.0 + "process_id": 16387.0 }, - "duration": 527625, - "start": 1772481757860830094 + "duration": 256166, + "start": 1776363469827810796 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_pool_without_custom_connect.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_pool_without_custom_connect.json index 72daf3d5439..0386492d0fc 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_pool_without_custom_connect.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_pool_without_custom_connect.json @@ -11,22 +11,24 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "68b05c4c00000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.system": "postgresql", "language": "python", - "runtime-id": "affe257e588347a08dc9aba7c5237c9f", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5029 + "_sampling_priority_v1": 1.0, + "process_id": 16387.0 }, - "duration": 225917, - "start": 1756388428735309501 + "duration": 335583, + "start": 1776363469249540337 }], [ { @@ -41,20 +43,22 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "68b05c4c00000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.system": "postgresql", "language": "python", - "runtime-id": "affe257e588347a08dc9aba7c5237c9f", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5029 + "_sampling_priority_v1": 1.0, + "process_id": 16387.0 }, - "duration": 152500, - "start": 1756388428735899668 + "duration": 271916, + "start": 1776363469250175129 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_select.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_select.json index 96a207d6614..00fba05e7d2 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_select.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_select.json @@ -11,15 +11,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6800000000", + "_dd.p.tid": "69e127cd00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,10 +29,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 11354000, - "start": 1772481640748340262 + "duration": 3491042, + "start": 1776363469844494712 }], [ { @@ -46,14 +47,16 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6800000000", + "_dd.p.tid": "69e127cd00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "de75a97ec88f4b8fabe0ac2b0caaa682", + "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -63,8 +66,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28476.0 + "process_id": 16387.0 }, - "duration": 478541, - "start": 1772481640761459346 + "duration": 267334, + "start": 1776363469848965587 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_span_name_by_schema[v0].json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_span_name_by_schema[v0].json index c0efd81c995..cc15d2377e5 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_span_name_by_schema[v0].json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_span_name_by_schema[v0].json @@ -11,15 +11,16 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6a00000000", + "_dd.p.tid": "69e127d000000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a0bb2899330146a1a0cea4a90099b84c", + "runtime-id": "a342176ace3141be8e4b191fe7eb1a93", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,10 +29,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28572.0 + "process_id": 16508.0 }, - "duration": 44648041, - "start": 1772481642967536347 + "duration": 3487417, + "start": 1776363472513256505 }], [ { @@ -46,14 +47,16 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6b00000000", + "_dd.p.tid": "69e127d000000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a0bb2899330146a1a0cea4a90099b84c", + "runtime-id": "a342176ace3141be8e4b191fe7eb1a93", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -63,8 +66,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28572.0 + "process_id": 16508.0 }, - "duration": 1975167, - "start": 1772481643016154930 + "duration": 408834, + "start": 1776363472517102755 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_span_name_by_schema[v1].json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_span_name_by_schema[v1].json index 1565f9b9bfe..6f0d606aa02 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_span_name_by_schema[v1].json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_span_name_by_schema[v1].json @@ -10,9 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6900000000", + "_dd.p.tid": "69e127cd00000000", "_dd.peer.service.source": "db.name", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", @@ -20,7 +21,7 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "postgres", - "runtime-id": "f7dd56cd4dbe49c28a89c1677de18c3b", + "runtime-id": "46fedb4dd43447f288b603fa02d10f3a", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -29,10 +30,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28561.0 + "process_id": 16432.0 }, - "duration": 40714167, - "start": 1772481641839197179 + "duration": 3074833, + "start": 1776363469719638004 }], [ { @@ -46,8 +47,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6900000000", + "_dd.p.tid": "69e127cd00000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", @@ -55,7 +58,7 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "postgres", - "runtime-id": "f7dd56cd4dbe49c28a89c1677de18c3b", + "runtime-id": "46fedb4dd43447f288b603fa02d10f3a", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -65,8 +68,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28561.0 + "process_id": 16432.0 }, - "duration": 1842750, - "start": 1772481641883865679 + "duration": 323166, + "start": 1776363469723052171 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_unspecified_service_name_env_v0.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_unspecified_service_name_env_v0.json index a10844307a3..b80725508e2 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_unspecified_service_name_env_v0.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_unspecified_service_name_env_v0.json @@ -11,15 +11,16 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127cf00000000", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "2c06330a0b484e97b42b8cd1031ac246", + "runtime-id": "df5e5a510dbf4656a416d0a9ce0d67f2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,10 +29,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28517.0 + "process_id": 16497.0 }, - "duration": 41314917, - "start": 1772481639263138845 + "duration": 3178000, + "start": 1776363471917870630 }], [ { @@ -46,14 +47,16 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6700000000", + "_dd.p.tid": "69e127cf00000000", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "2c06330a0b484e97b42b8cd1031ac246", + "runtime-id": "df5e5a510dbf4656a416d0a9ce0d67f2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -63,8 +66,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28517.0 + "process_id": 16497.0 }, - "duration": 1808916, - "start": 1772481639308221137 + "duration": 340250, + "start": 1776363471921335380 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_unspecified_service_name_env_v1.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_unspecified_service_name_env_v1.json index 7c2b5ad1fa2..b953f120a5c 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_unspecified_service_name_env_v1.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_unspecified_service_name_env_v1.json @@ -10,9 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6800000000", + "_dd.p.tid": "69e127cf00000000", "_dd.peer.service.source": "db.name", "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", @@ -20,7 +21,7 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "postgres", - "runtime-id": "368b02b03b43420ba7fe388919568ab2", + "runtime-id": "d51ba04705f64bd3b83fc9d26373c752", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -29,10 +30,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28547.0 + "process_id": 16486.0 }, - "duration": 42103583, - "start": 1772481640610208179 + "duration": 3131833, + "start": 1776363471397593838 }], [ { @@ -46,8 +47,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ec6800000000", + "_dd.p.tid": "69e127cf00000000", "_dd.peer.service.source": "db.name", + "_dd.svc_src": "asyncpg", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", @@ -55,7 +58,7 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "postgres", - "runtime-id": "368b02b03b43420ba7fe388919568ab2", + "runtime-id": "d51ba04705f64bd3b83fc9d26373c752", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -65,8 +68,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 28547.0 + "process_id": 16486.0 }, - "duration": 2023041, - "start": 1772481640656270971 + "duration": 339625, + "start": 1776363471401028255 }]] From c97840c25b3c5cf9fae76da0cfc77fe818bf5f05 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 16 Apr 2026 11:21:06 -0700 Subject: [PATCH 039/114] update pyramid snapshots --- ..._contrib_pyramid_pserve_app_development.ini].json | 12 ++++++------ ...run_python_tests_contrib_pyramid_app_app.py].json | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_pserve_tests_contrib_pyramid_pserve_app_development.ini].json b/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_pserve_tests_contrib_pyramid_pserve_app_development.ini].json index 2db97e51f66..38cef7e0209 100644 --- a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_pserve_tests_contrib_pyramid_pserve_app_development.ini].json +++ b/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_pserve_tests_contrib_pyramid_pserve_app_development.ini].json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "sample_app", "_dd.p.dm": "-0", - "_dd.p.tid": "69de96c500000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69e1287700000000", + "_dd.svc_src": "pyramid", "_dd.tags.process": "entrypoint.name:pserve,entrypoint.type:script,entrypoint.workdir:project,svc.auto:sample_app", "component": "pyramid", "http.method": "GET", @@ -22,7 +22,7 @@ "http.useragent": "python-requests/2.32.3", "language": "python", "pyramid.route.name": "hello", - "runtime-id": "6e5272a5dcda494b9a1239c3ffb32301", + "runtime-id": "3b65fd1f785b4864b9bf82fa848a4bc4", "span.kind": "server" }, "metrics": { @@ -30,8 +30,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70367.0 + "process_id": 18738.0 }, - "duration": 88583, - "start": 1776195269823462381 + "duration": 92459, + "start": 1776363639939057180 }]] diff --git a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_python_tests_contrib_pyramid_app_app.py].json b/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_python_tests_contrib_pyramid_app_app.py].json index b225b537a37..7b38c358134 100644 --- a/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_python_tests_contrib_pyramid_app_app.py].json +++ b/tests/snapshots/tests.contrib.pyramid.test_pyramid.test_simple_pyramid_app_endpoint[ddtrace-run_python_tests_contrib_pyramid_app_app.py].json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "sample_app", "_dd.p.dm": "-0", - "_dd.p.tid": "69de96c500000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69e1287800000000", + "_dd.svc_src": "pyramid", "_dd.tags.process": "entrypoint.basedir:sample_app,entrypoint.name:app,entrypoint.type:script,entrypoint.workdir:project,svc.auto:sample_app", "component": "pyramid", "http.method": "GET", @@ -22,7 +22,7 @@ "http.useragent": "python-requests/2.32.3", "language": "python", "pyramid.route.name": "hello", - "runtime-id": "d90531d3707f46a09d5b4bb04c81db83", + "runtime-id": "ffb12fbf3d574164b1b575a483e9b9e9", "span.kind": "server" }, "metrics": { @@ -30,8 +30,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 70354.0 + "process_id": 18755.0 }, - "duration": 168833, - "start": 1776195269181086464 + "duration": 124416, + "start": 1776363640678599125 }]] From 9a3c0fdae9fe4c77673e05502c0c2d8a5a25dc51 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 16 Apr 2026 11:23:40 -0700 Subject: [PATCH 040/114] update google_cloud_pubsub snapshots --- ...cloud_pubsub.test_pubsub.test_publish.json | 59 +++++++-- ...test_pubsub.test_publish_future_error.json | 16 +-- ..._pubsub.test_subscribe_callback_error.json | 112 +++++++++++++---- ...be_propagation_as_span_links_disabled.json | 116 ++++++++++++++---- ...ibe_propagation_as_span_links_enabled.json | 66 +++++----- ...b.test_subscribe_propagation_disabled.json | 64 +++++----- ...sh_subscription_creates_inferred_span.json | 28 ++--- ...ion_error_propagates_to_inferred_span.json | 14 +-- ...ubscription_propagation_as_span_links.json | 26 ++-- 9 files changed, 337 insertions(+), 164 deletions(-) diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json index 45bc7a810cb..88fe74dc7cc 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json @@ -10,13 +10,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ccf96300000000", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "04b700d26ed547939d34024f0c1f82a5", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -24,10 +25,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 367613750, - "start": 1775040867498898841 + "duration": 13165625, + "start": 1776363785291604095 }], [ { @@ -41,20 +42,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290900000000", "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49" + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 20269334, - "start": 1776187899015993756 + "duration": 17729459, + "start": 1776363785306119886 }, { "name": "gcp.pubsub.send", @@ -78,6 +79,38 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 19029417, - "start": 1776187899016622298 - }]] + "duration": 17492708, + "start": 1776363785306209095 + }], +[ + { + "name": "gcp.pubsub.request", + "service": "tests.contrib.google_cloud_pubsub", + "resource": "deleteTopic projects/test-project/topics/test-topic", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", + "component": "google_cloud_pubsub", + "gcloud.project_id": "test-project", + "language": "python", + "pubsub.method": "deleteTopic", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 21973.0 + }, + "duration": 2253209, + "start": 1776363785324981886 + }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json index 25503fb80d7..d8abf6ecae4 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290900000000", "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49" + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 26237375, - "start": 1776187899055517298 + "duration": 32160000, + "start": 1776363785340758928 }, { "name": "gcp.pubsub.send", @@ -38,7 +38,7 @@ "_dd.svc_src": "m", "component": "google_cloud_pubsub", "error.message": "404 Topic not found", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 55, in error_remapped_callable\n return callable_(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/grpc/_channel.py\", line 1159, in __call__\n return _end_unary_response_blocking(state, call, False, None)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/grpc/_channel.py\", line 990, in _end_unary_response_blocking\n raise _InactiveRpcError(state) # pytype: disable=not-instantiable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ngrpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.NOT_FOUND\n\tdetails = \"Topic not found\"\n\tdebug_error_string = \"UNKNOWN:Error received from peer {grpc_status:5, grpc_message:\"Topic not found\"}\"\n>\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_cloud_pubsub/patch.py\", line 112, in sent_callback\n message_id = future.result()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/futures.py\", line 66, in result\n return super().result(timeout=timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 449, in result\n return self.__get_result()\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 401, in __get_result\n raise self._exception\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/_batch/thread.py\", line 274, in _commit\n response = self._client._gapic_publish(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/client.py\", line 267, in _gapic_publish\n return super().publish(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/pubsub_v1/services/publisher/client.py\", line 794, in publish\n response = rpc(\n ^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py\", line 128, in __call__\n return wrapped_func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 294, in retry_wrapped_func\n return retry_target(\n ^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 156, in retry_target\n next_sleep = _retry_error_helper(\n ^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_base.py\", line 216, in _retry_error_helper\n raise final_exc from source_exc\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 147, in retry_target\n result = target()\n ^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/timeout.py\", line 130, in func_with_timeout\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 57, in error_remapped_callable\n raise exceptions.from_grpc_error(exc) from exc\ngoogle.api_core.exceptions.NotFound: 404 Topic not found\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 55, in error_remapped_callable\n return callable_(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/grpc/_channel.py\", line 1159, in __call__\n return _end_unary_response_blocking(state, call, False, None)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/grpc/_channel.py\", line 990, in _end_unary_response_blocking\n raise _InactiveRpcError(state) # pytype: disable=not-instantiable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ngrpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.NOT_FOUND\n\tdetails = \"Topic not found\"\n\tdebug_error_string = \"UNKNOWN:Error received from peer {grpc_status:5, grpc_message:\"Topic not found\"}\"\n>\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_cloud_pubsub/patch.py\", line 233, in sent_callback\n message_id = future.result()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/futures.py\", line 66, in result\n return super().result(timeout=timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 449, in result\n return self.__get_result()\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 401, in __get_result\n raise self._exception\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/_batch/thread.py\", line 274, in _commit\n response = self._client._gapic_publish(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/client.py\", line 267, in _gapic_publish\n return super().publish(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/pubsub_v1/services/publisher/client.py\", line 794, in publish\n response = rpc(\n ^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py\", line 128, in __call__\n return wrapped_func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 294, in retry_wrapped_func\n return retry_target(\n ^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 156, in retry_target\n next_sleep = _retry_error_helper(\n ^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_base.py\", line 216, in _retry_error_helper\n raise final_exc from source_exc\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 147, in retry_target\n result = target()\n ^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/timeout.py\", line 130, in func_with_timeout\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 57, in error_remapped_callable\n raise exceptions.from_grpc_error(exc) from exc\ngoogle.api_core.exceptions.NotFound: 404 Topic not found\n", "error.type": "google.api_core.exceptions.NotFound", "gcloud.project_id": "test-project", "messaging.destination.name": "nonexistent-topic", @@ -49,6 +49,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 25861125, - "start": 1776187899055618590 + "duration": 31751417, + "start": 1776363785340863053 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json index 4e155ab244f..e9fd22392ea 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json @@ -10,13 +10,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ccf96400000000", + "_dd.p.tid": "69e1290a00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "04b700d26ed547939d34024f0c1f82a5", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -24,10 +25,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 22395875, - "start": 1775040868516623633 + "duration": 14720208, + "start": 1776363786373208470 }], [ { @@ -41,13 +42,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ccf96400000000", + "_dd.p.tid": "69e1290a00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createSubscription", - "runtime-id": "04b700d26ed547939d34024f0c1f82a5", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -55,10 +57,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 6577250, - "start": 1775040868541369883 + "duration": 7600625, + "start": 1776363786389523095 }], [ { @@ -72,7 +74,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -82,7 +84,7 @@ "messaging.message_id": "13", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "producer" }, "metrics": { @@ -90,10 +92,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 15626375, - "start": 1776187899454462381 + "duration": 16785875, + "start": 1776363786399765762 }, { "name": "gcp.pubsub.receive", @@ -106,12 +108,12 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "error.message": "callback error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_cloud_pubsub/patch.py\", line 67, in _traced_subscribe_callback\n callback(message)\n File \"/home/bits/project/tests/contrib/google_cloud_pubsub/test_pubsub.py\", line 129, in callback\n raise ValueError(\"callback error\")\nValueError: callback error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_cloud_pubsub/patch.py\", line 101, in _traced_subscribe_callback\n callback(message)\n File \"/home/bits/project/tests/contrib/google_cloud_pubsub/test_pubsub.py\", line 129, in callback\n raise ValueError(\"callback error\")\nValueError: callback error\n", "error.type": "builtins.ValueError", "gcloud.project_id": "test-project", "language": "python", @@ -119,17 +121,81 @@ "messaging.message_id": "13", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "consumer", - "tracestate": "dd=p:32be625f12eb62cd;t.tid:69de79fb00000000" + "tracestate": "dd=p:eb2d17aafcaa9330;t.tid:69e1290a00000000" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 2734666, - "start": 1776187899515324215 - }]] + "duration": 2364625, + "start": 1776363786464099054 + }], +[ + { + "name": "gcp.pubsub.request", + "service": "tests.contrib.google_cloud_pubsub", + "resource": "deleteSubscription projects/test-project/subscriptions/test-subscription", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69e1290a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", + "component": "google_cloud_pubsub", + "gcloud.project_id": "test-project", + "language": "python", + "pubsub.method": "deleteSubscription", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 21973.0 + }, + "duration": 3443333, + "start": 1776363786468356887 + }], +[ + { + "name": "gcp.pubsub.request", + "service": "tests.contrib.google_cloud_pubsub", + "resource": "deleteTopic projects/test-project/topics/test-topic", + "trace_id": 4, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69e1290a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", + "component": "google_cloud_pubsub", + "gcloud.project_id": "test-project", + "language": "python", + "pubsub.method": "deleteTopic", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 21973.0 + }, + "duration": 2086500, + "start": 1776363786472172804 + }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json index f4e073bc28f..ba9b2009930 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json @@ -10,13 +10,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ccf96400000000", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "04b700d26ed547939d34024f0c1f82a5", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -24,10 +25,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 20451041, - "start": 1775040868200603592 + "duration": 7252875, + "start": 1776363785487982220 }], [ { @@ -41,13 +42,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69ccf96400000000", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createSubscription", - "runtime-id": "04b700d26ed547939d34024f0c1f82a5", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -55,10 +57,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 5076167, - "start": 1775040868223201008 + "duration": 4224541, + "start": 1776363785496389595 }], [ { @@ -72,7 +74,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290900000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -82,7 +84,7 @@ "messaging.message_id": "11", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "producer" }, "metrics": { @@ -90,10 +92,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 17770084, - "start": 1776187899214398256 + "duration": 17435333, + "start": 1776363785503178095 }, { "name": "gcp.pubsub.receive", @@ -106,7 +108,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290900000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -116,19 +118,19 @@ "messaging.message_id": "11", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "consumer", - "tracestate": "dd=p:090ce0cf867da3dc;t.tid:69de79fb00000000" + "tracestate": "dd=p:843e783b293afcbe;t.tid:69e1290900000000" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 221166, - "start": 1776187899281208840 + "duration": 223833, + "start": 1776363785566385303 }, { "name": "subscriber.span", @@ -140,9 +142,73 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290900000000", "_dd.svc_src": "m" }, - "duration": 59042, - "start": 1776187899281329506 - }]] + "duration": 63500, + "start": 1776363785566501303 + }], +[ + { + "name": "gcp.pubsub.request", + "service": "tests.contrib.google_cloud_pubsub", + "resource": "deleteSubscription projects/test-project/subscriptions/test-subscription", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", + "component": "google_cloud_pubsub", + "gcloud.project_id": "test-project", + "language": "python", + "pubsub.method": "deleteSubscription", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 21973.0 + }, + "duration": 3091625, + "start": 1776363785582812761 + }], +[ + { + "name": "gcp.pubsub.request", + "service": "tests.contrib.google_cloud_pubsub", + "resource": "deleteTopic projects/test-project/topics/test-topic", + "trace_id": 4, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", + "component": "google_cloud_pubsub", + "gcloud.project_id": "test-project", + "language": "python", + "pubsub.method": "deleteTopic", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 21973.0 + }, + "duration": 3114875, + "start": 1776363785586209095 + }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json index 29d02835f10..341119c7718 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json @@ -10,13 +10,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd106200000000", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "91d463ac53dd47df91b8db0dedeb1390", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -24,10 +25,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 18466583, - "start": 1775046754506514802 + "duration": 9007417, + "start": 1776363785600686511 }], [ { @@ -41,13 +42,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd106200000000", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createSubscription", - "runtime-id": "91d463ac53dd47df91b8db0dedeb1390", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -55,10 +57,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 5332792, - "start": 1775046754527289843 + "duration": 4854583, + "start": 1776363785610767345 }], [ { @@ -72,13 +74,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd106200000000", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteSubscription", - "runtime-id": "91d463ac53dd47df91b8db0dedeb1390", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -86,10 +89,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 5934542, - "start": 1775046754653513635 + "duration": 9025541, + "start": 1776363785702231887 }], [ { @@ -103,13 +106,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd106200000000", + "_dd.p.tid": "69e1290900000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteTopic", - "runtime-id": "91d463ac53dd47df91b8db0dedeb1390", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -117,10 +121,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 9012834, - "start": 1775046754660416218 + "duration": 4935417, + "start": 1776363785711815803 }], [ { @@ -134,7 +138,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290900000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -144,7 +148,7 @@ "messaging.message_id": "12", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "producer" }, "metrics": { @@ -152,10 +156,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 14398250, - "start": 1776187899331242090 + "duration": 15682125, + "start": 1776363785619254428 }], [ { @@ -169,8 +173,8 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", - "_dd.span_links": "[{\"trace_id\": \"69de79fb00000000db21579cc6a10e4a\", \"span_id\": \"1faa911efb633f76\", \"tracestate\": \"dd=t.tid:69de79fb00000000\", \"flags\": 0}]", + "_dd.p.tid": "69e1290900000000", + "_dd.span_links": "[{\"trace_id\": \"69e12909000000007567961e50918926\", \"span_id\": \"bea7fa6bfe46fb12\", \"tracestate\": \"dd=t.tid:69e1290900000000\", \"flags\": 0}]", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -180,7 +184,7 @@ "messaging.message_id": "12", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "consumer" }, "metrics": { @@ -188,8 +192,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 1229458, - "start": 1776187899394127965 + "duration": 1158750, + "start": 1776363785680080511 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json index 03ce830321f..68d2fc69570 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json @@ -10,13 +10,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd106300000000", + "_dd.p.tid": "69e1290a00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "91d463ac53dd47df91b8db0dedeb1390", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -24,10 +25,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 15225416, - "start": 1775046755157559719 + "duration": 9188000, + "start": 1776363786486952512 }], [ { @@ -41,13 +42,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd106300000000", + "_dd.p.tid": "69e1290a00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createSubscription", - "runtime-id": "91d463ac53dd47df91b8db0dedeb1390", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -55,10 +57,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 6527458, - "start": 1775046755175219552 + "duration": 3230667, + "start": 1776363786497224637 }], [ { @@ -72,13 +74,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd106300000000", + "_dd.p.tid": "69e1290a00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteSubscription", - "runtime-id": "91d463ac53dd47df91b8db0dedeb1390", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -86,10 +89,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 5464167, - "start": 1775046755275027427 + "duration": 6182791, + "start": 1776363786585383804 }], [ { @@ -103,13 +106,14 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cd106300000000", + "_dd.p.tid": "69e1290a00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteTopic", - "runtime-id": "91d463ac53dd47df91b8db0dedeb1390", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "client" }, "metrics": { @@ -117,10 +121,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 21973.0 }, - "duration": 8778333, - "start": 1775046755281329302 + "duration": 2167625, + "start": 1776363786592086304 }], [ { @@ -134,7 +138,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -144,7 +148,7 @@ "messaging.message_id": "14", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "producer" }, "metrics": { @@ -152,10 +156,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 15275792, - "start": 1776187899561113923 + "duration": 14653625, + "start": 1776363786504764012 }], [ { @@ -169,7 +173,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de79fb00000000", + "_dd.p.tid": "69e1290a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -179,7 +183,7 @@ "messaging.message_id": "14", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "81d5f547d82b48beb7c771f8376ffe49", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "consumer" }, "metrics": { @@ -187,8 +191,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38691.0 + "process_id": 21973.0 }, - "duration": 145458, - "start": 1776187899616193715 + "duration": 142625, + "start": 1776363786563859137 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json index bf2d8a774d3..479ea4c4f34 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de940b00000000", + "_dd.p.tid": "69e1291900000000", "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0" + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57237.0 + "process_id": 21973.0 }, - "duration": 891084, - "start": 1776194571847123877 + "duration": 195625, + "start": 1776363801791156713 }, { "name": "gcp.pubsub.receive", @@ -36,7 +36,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de940b00000000", + "_dd.p.tid": "69e1291900000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -47,9 +47,9 @@ "messaging.message_id": "12345", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "consumer", - "tracestate": "dd=p:6ce5d82bf69a1476;s:1;t.dm:-0;t.tid:69de940b00000000" + "tracestate": "dd=p:322b068ae9d78c97;s:1;t.dm:-0;t.tid:69e1291900000000" }, "metrics": { "_dd.inferred_span": 1.0, @@ -57,10 +57,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57237.0 + "process_id": 21973.0 }, - "duration": 697750, - "start": 1776194571849719252 + "duration": 630334, + "start": 1776363801792361713 }, { "name": "falcon.request", @@ -73,7 +73,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", - "_dd.p.tid": "69de940b00000000", + "_dd.p.tid": "69e1291900000000", "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", @@ -86,6 +86,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 599667, - "start": 1776194571849794419 + "duration": 550166, + "start": 1776363801792421672 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json index e9f35e8755b..7a28e02cdc0 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json @@ -10,7 +10,7 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de940b00000000", + "_dd.p.tid": "69e1291900000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -21,7 +21,7 @@ "messaging.message_id": "12345", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "consumer" }, "metrics": { @@ -30,10 +30,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57237.0 + "process_id": 21973.0 }, - "duration": 1402750, - "start": 1776194571882100961 + "duration": 1262709, + "start": 1776363801821824463 }, { "name": "falcon.request", @@ -58,6 +58,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 1302458, - "start": 1776194571882171919 + "duration": 1160791, + "start": 1776363801821888672 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json index 24de041b937..98a6f5ea39c 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de940b00000000", + "_dd.p.tid": "69e1291900000000", "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0" + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57237.0 + "process_id": 21973.0 }, - "duration": 147917, - "start": 1776194571866555419 + "duration": 154208, + "start": 1776363801806900672 }], [ { @@ -37,8 +37,8 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de940b00000000", - "_dd.span_links": "[{\"trace_id\": \"69de940b000000000c2b2384253eaf67\", \"span_id\": \"3ac4f310022078eb\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de940b00000000\", \"flags\": 1}]", + "_dd.p.tid": "69e1291900000000", + "_dd.span_links": "[{\"trace_id\": \"69e1291900000000f24b2377555ae4dc\", \"span_id\": \"db5ddb5b07588db2\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e1291900000000\", \"flags\": 1}]", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", @@ -49,7 +49,7 @@ "messaging.message_id": "12345", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "729fefdf9d7d4926b0f1ece352afc9d0", + "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", "span.kind": "consumer" }, "metrics": { @@ -58,10 +58,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57237.0 + "process_id": 21973.0 }, - "duration": 1229458, - "start": 1776194571867380669 + "duration": 509750, + "start": 1776363801807729547 }, { "name": "falcon.request", @@ -86,6 +86,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 277417, - "start": 1776194571868312752 + "duration": 395917, + "start": 1776363801807814130 }]] From 299ec9f25b8ef521349af4a3d303a00256b648a5 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 17 Apr 2026 11:23:35 -0700 Subject: [PATCH 041/114] update snapshots: valkey, opentelemetry --- ...ontrib.valkey.test_valkey.test_basics.json | 15 ++- ...ey.test_valkey.test_custom_cmd_length.json | 15 ++- ...est_valkey.test_custom_cmd_length_env.json | 15 ++- ...est_env_user_specified_valkey_service.json | 93 +++++++++++++++++-- ....test_full_command_in_resource_config.json | 53 +++++++++-- ...key.test_full_command_in_resource_env.json | 53 +++++++++-- ....valkey.test_valkey.test_long_command.json | 15 ++- ...valkey.test_valkey.test_meta_override.json | 15 ++- ...y.test_valkey.test_pipeline_immediate.json | 53 +++++++++-- ...lkey.test_valkey.test_pipeline_traced.json | 15 ++- ...y.test_valkey.test_service_precedence.json | 54 +++++++++-- ...ntrib.valkey.test_valkey.test_unicode.json | 15 ++- ...st_valkey.test_user_specified_service.json | 15 ++- ...est_valkey_asyncio.test_basic_request.json | 10 +- ....test_valkey_asyncio.test_client_name.json | 14 +-- ..._valkey_asyncio.test_connection_error.json | 12 +-- ...y_asyncio.test_decoding_non_utf8_args.json | 20 ++-- ....test_decoding_non_utf8_pipeline_args.json | 10 +- ...test_valkey_asyncio.test_long_command.json | 10 +- ...ey_asyncio.test_override_service_name.json | 30 +++--- ...ey.test_valkey_asyncio.test_parenting.json | 18 ++-- ...t_valkey_asyncio.test_pipeline_traced.json | 10 +- ...ne_traced_context_manager_transaction.json | 10 +- ...key_asyncio.test_two_traced_pipelines.json | 18 ++-- ...t_valkey_asyncio.test_unicode_request.json | 10 +- ...s_does_not_generate_client_grpc_spans.json | 18 ++-- 26 files changed, 405 insertions(+), 211 deletions(-) diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json index 3b1600b412d..718644ecee8 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960b00000000", + "_dd.p.tid": "69e27a8f00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -34,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66061.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 452333, - "start": 1776195083277965003 + "duration": 430417, + "start": 1776450191888018261 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json index 79da2a74e17..43497a0ff6b 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960a00000000", + "_dd.p.tid": "69e27a8e00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET here..." @@ -34,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66061.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 461125, - "start": 1776195082603343211 + "duration": 660209, + "start": 1776450190932324760 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json index 79b47710a76..6901dc358d6 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960e00000000", + "_dd.p.tid": "69e27a8f00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "3fbbfbe7b23249c4a27fdbe2d0cb01fb", + "runtime-id": "cf889171d1ad47f1b95e6209bfddd31c", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET here-is..." @@ -34,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66169.0, + "process_id": 38370.0, "valkey.args_length": 2.0 }, - "duration": 1661041, - "start": 1776195086464071755 + "duration": 541542, + "start": 1776450191759895844 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json index 37357fd599a..ff0f22d972a 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960d00000000", + "_dd.p.tid": "69e27a8f00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "f0f74bf2667d4c419a4492cd34f3f77c", + "runtime-id": "7bb2caa842e5400a97044976f412864d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -34,9 +31,87 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66136.0, + "process_id": 38358.0, "valkey.args_length": 2.0 }, - "duration": 1642458, - "start": 1776195085284077671 + "duration": 662709, + "start": 1776450191337281052 + }], +[ + { + "name": "valkey.command", + "service": "cfg-valkey", + "resource": "GET", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "valkey", + "error": 0, + "meta": { + "_dd.base_service": "", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e27a8f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", + "component": "valkey", + "db.system": "valkey", + "language": "python", + "out.host": "localhost", + "runtime-id": "7bb2caa842e5400a97044976f412864d", + "server.address": "localhost", + "span.kind": "client", + "valkey.raw_command": "GET cheese" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 38358.0, + "valkey.args_length": 2.0 + }, + "duration": 155625, + "start": 1776450191338447427 + }], +[ + { + "name": "valkey.command", + "service": "myvalkey", + "resource": "GET", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "valkey", + "error": 0, + "meta": { + "_dd.base_service": "", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e27a8f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", + "component": "valkey", + "db.system": "valkey", + "language": "python", + "out.host": "localhost", + "runtime-id": "7bb2caa842e5400a97044976f412864d", + "server.address": "localhost", + "span.kind": "client", + "valkey.raw_command": "GET cheese" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 38358.0, + "valkey.args_length": 2.0 + }, + "duration": 116125, + "start": 1776450191338756552 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json index 11b46d1d95c..88a62a22d53 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960c00000000", + "_dd.p.tid": "69e27a8f00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET put_key_in_resource" @@ -34,9 +31,47 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66061.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 577333, - "start": 1776195084607403212 + "duration": 461958, + "start": 1776450191833469053 + }], +[ + { + "name": "valkey.command", + "service": "valkey", + "resource": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "valkey", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.valkey", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e27a8f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", + "component": "valkey", + "db.system": "valkey", + "language": "python", + "out.host": "localhost", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "server.address": "localhost", + "span.kind": "client", + "valkey.raw_command": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 38006.0, + "valkey.pipeline_length": 2.0 + }, + "duration": 185375, + "start": 1776450191834302261 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json index 0e7caacf7fe..0323c571cb1 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960d00000000", + "_dd.p.tid": "69e27a9000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "f76cbf4a1eef43e5ad91c1d4db37cbe4", + "runtime-id": "7a8a6747e9594f65be8a43150a05316e", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET put_key_in_resource" @@ -34,9 +31,47 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66147.0, + "process_id": 38421.0, "valkey.args_length": 2.0 }, - "duration": 1522833, - "start": 1776195085678212796 + "duration": 481667, + "start": 1776450192282397386 + }], +[ + { + "name": "valkey.command", + "service": "valkey", + "resource": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "valkey", + "error": 0, + "meta": { + "_dd.base_service": "", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e27a9000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", + "component": "valkey", + "db.system": "valkey", + "language": "python", + "out.host": "localhost", + "runtime-id": "7a8a6747e9594f65be8a43150a05316e", + "server.address": "localhost", + "span.kind": "client", + "valkey.raw_command": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 38421.0, + "valkey.pipeline_length": 2.0 + }, + "duration": 149083, + "start": 1776450192283232511 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json index f339b82617f..3eb6405a046 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960a00000000", + "_dd.p.tid": "69e27a8f00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "MGET 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 36..." @@ -34,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66061.0, + "process_id": 38006.0, "valkey.args_length": 1001.0 }, - "duration": 740958, - "start": 1776195082249659586 + "duration": 3525917, + "start": 1776450191861141636 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json index 5dce4cf8e11..e9e81ce1d10 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960900000000", + "_dd.p.tid": "69e27a8f00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -34,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66061.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 1686208, - "start": 1776195081602519919 + "duration": 809833, + "start": 1776450191820581928 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json index 13260c1a187..2679a5ba8cd 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960b00000000", + "_dd.p.tid": "69e27a8e00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 1356, in immediate_execute_command\n conn = self.connection_pool.get_connection(command_name, self.shard_hint)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "SET a 1" @@ -33,9 +30,47 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66061.0, + "process_id": 38006.0, "valkey.args_length": 3.0 }, - "duration": 556042, - "start": 1776195083935688753 + "duration": 420875, + "start": 1776450190493028260 + }], +[ + { + "name": "valkey.command", + "service": "valkey", + "resource": "SET", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "valkey", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.valkey", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e27a8e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", + "component": "valkey", + "db.system": "valkey", + "language": "python", + "out.host": "localhost", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "server.address": "localhost", + "span.kind": "client", + "valkey.raw_command": "SET a 1" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 38006.0, + "valkey.pipeline_length": 1.0 + }, + "duration": 172167, + "start": 1776450190493713427 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json index 7582d6bb2f9..0c475a7ec04 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960900000000", + "_dd.p.tid": "69e27a8f00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 80, in _instrument_valkey_execute_pipeline\n yield span\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 203, in _instrumented_execute_pipeline\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 1541, in execute\n conn = self.connection_pool.get_connection(\"MULTI\", self.shard_hint)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "SET blah 32\nRPUSH foo \u00e9\u00e9\nHGETALL xxx" @@ -33,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66061.0, + "process_id": 38006.0, "valkey.pipeline_length": 3.0 }, - "duration": 499583, - "start": 1776195081980005086 + "duration": 610750, + "start": 1776450191847819553 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json index f5a9890f82b..b26bd8df2ad 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "app-svc", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960e00000000", + "_dd.p.tid": "69e27a9000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "c8a4b364eb6748d9af431b74a3dca537", + "runtime-id": "fbaf906d51a34ad9a63b28929bb22066", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -34,9 +31,48 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66158.0, + "process_id": 38439.0, "valkey.args_length": 2.0 }, - "duration": 1600458, - "start": 1776195086072805546 + "duration": 786000, + "start": 1776450192744365928 + }], +[ + { + "name": "valkey.command", + "service": "env-valkey", + "resource": "GET", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "valkey", + "error": 0, + "meta": { + "_dd.base_service": "app-svc", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e27a9000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "component": "valkey", + "db.system": "valkey", + "language": "python", + "out.host": "localhost", + "runtime-id": "fbaf906d51a34ad9a63b28929bb22066", + "server.address": "localhost", + "span.kind": "client", + "valkey.raw_command": "GET cheese" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "db.row_count": 0.0, + "network.destination.port": 6379.0, + "out.valkey_db": 0.0, + "process_id": 38439.0, + "valkey.args_length": 2.0 + }, + "duration": 151417, + "start": 1776450192745724803 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json index e05a345baa0..be9836301ef 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960a00000000", + "_dd.p.tid": "69e27a9000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "7ce79593e17c45cfa27cc5c0ec5a076b", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET \ud83d\ude10" @@ -34,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66061.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 585542, - "start": 1776195082933734003 + "duration": 735083, + "start": 1776450192338940928 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json index 8cabed4bcb5..b93ffb74694 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json @@ -7,21 +7,18 @@ "span_id": 1, "parent_id": 0, "type": "valkey", - "error": 1, + "error": 0, "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "69de960c00000000", + "_dd.p.tid": "69e27a8e00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "valkey", "db.system": "valkey", - "error.message": "Error 111 connecting to localhost:6379. Connection refused.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 302, in connect\n sock = self.retry.call_with_retry(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/retry.py\", line 62, in call_with_retry\n return do()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 303, in \n lambda: self._connect(), lambda error: self.disconnect(error)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 728, in _connect\n raise err\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 716, in _connect\n sock.connect(socket_address)\nConnectionRefusedError: [Errno 111] Connection refused\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 173, in _instrumented_execute_command\n return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/patch.py\", line 150, in _run_valkey_command\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/client.py\", line 564, in execute_command\n conn = self.connection or pool.get_connection(command_name, **options)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 1107, in get_connection\n connection.connect()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/connection.py\", line 308, in connect\n raise ConnectionError(self._error_message(e))\nvalkey.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", - "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "localhost", - "runtime-id": "4b2379d330b848e084a6e0a6a678a56b", + "runtime-id": "0621ecca0d374ab59d865d1c86490b64", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -34,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 66118.0, + "process_id": 38340.0, "valkey.args_length": 2.0 }, - "duration": 1619667, - "start": 1776195084552240962 + "duration": 541791, + "start": 1776450190873085094 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json index 6860a8383d7..31773acc5e7 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 358875, - "start": 1776195039114901136 + "duration": 407042, + "start": 1776450186746444633 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json index 3e4b124945a..fe5ff5ee6fa 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json @@ -11,20 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "language": "python", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd" + "runtime-id": "fed65df52b054628a4831772b2acd6e9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 65440.0 + "process_id": 38006.0 }, - "duration": 1063208, - "start": 1776195039218629969 + "duration": 1227500, + "start": 1776450186728601300 }, { "name": "valkey.command", @@ -54,6 +54,6 @@ "out.valkey_db": 0.0, "valkey.args_length": 2.0 }, - "duration": 668208, - "start": 1776195039218985719 + "duration": 819250, + "start": 1776450186728922175 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json index df7b0d16df9..72ff277ba39 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json @@ -11,17 +11,17 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "error.message": "whatever", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/asyncio_patch.py\", line 16, in instrumented_async_execute_command\n return await _run_valkey_command_async(ctx=ctx, func=func, args=args, kwargs=kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/valkey_utils.py\", line 72, in _run_valkey_command_async\n result = await func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.9/site-packages/valkey/asyncio/client.py\", line 628, in execute_command\n conn = self.connection or await pool.get_connection(command_name, **options)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 2153, in _execute_mock_call\n raise effect\nvalkey.exceptions.ConnectionError: whatever\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/asyncio_patch.py\", line 16, in instrumented_async_execute_command\n return await _run_valkey_command_async(ctx=ctx, func=func, args=args, kwargs=kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/ddtrace/contrib/internal/valkey_utils.py\", line 72, in _run_valkey_command_async\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.12/site-packages/valkey/asyncio/client.py\", line 628, in execute_command\n conn = self.connection or await pool.get_connection(command_name, **options)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\nvalkey.exceptions.ConnectionError: whatever\n", "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET foo" @@ -34,9 +34,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 337250, - "start": 1776195039266724969 + "duration": 2322125, + "start": 1776450186787271842 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json index c0585e19529..84d45d75b0e 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET \\x80foo \\x80abc" @@ -30,11 +30,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.args_length": 3.0 }, - "duration": 239416, - "start": 1776195039252504386 + "duration": 1184791, + "start": 1776450186669103467 }], [ { @@ -49,14 +49,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET \\x80foo" @@ -69,9 +69,9 @@ "db.row_count": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 289292, - "start": 1776195039252932719 + "duration": 6131625, + "start": 1776450186678569800 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json index f36d53e1ad2..8a7a2863b30 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET \\x80blah boo\nSET foo \\x80abc\nGET \\x80blah\nGET foo" @@ -30,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.pipeline_length": 4.0 }, - "duration": 460958, - "start": 1776195039157045261 + "duration": 463292, + "start": 1776450186574093800 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json index 5f89118b9ac..d78307a7506 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "MGET 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 36..." @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.args_length": 1001.0 }, - "duration": 6364542, - "start": 1776195039171074219 + "duration": 5704375, + "start": 1776450186591226300 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json index 205644e02d5..0d1d9ce491c 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -31,11 +31,11 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 310125, - "start": 1776195039233367052 + "duration": 410250, + "start": 1776450186613686300 }], [ { @@ -50,14 +50,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET cheese my-cheese" @@ -69,11 +69,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.args_length": 3.0 }, - "duration": 290958, - "start": 1776195039233951594 + "duration": 300833, + "start": 1776450186614348342 }], [ { @@ -88,14 +88,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -108,9 +108,9 @@ "db.row_count": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 312625, - "start": 1776195039234416261 + "duration": 192666, + "start": 1776450186614819342 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json index f46a998d4f0..5aa81e1d303 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json @@ -11,20 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "language": "python", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd" + "runtime-id": "fed65df52b054628a4831772b2acd6e9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 65440.0 + "process_id": 38006.0 }, - "duration": 1165375, - "start": 1776195039143912427 + "duration": 1086292, + "start": 1776450186632404550 }, { "name": "valkey.command", @@ -52,8 +52,8 @@ "out.valkey_db": 0.0, "valkey.args_length": 3.0 }, - "duration": 541417, - "start": 1776195039144112969 + "duration": 469417, + "start": 1776450186632554050 }, { "name": "valkey.command", @@ -82,6 +82,6 @@ "out.valkey_db": 0.0, "valkey.args_length": 2.0 }, - "duration": 247083, - "start": 1776195039144802844 + "duration": 288833, + "start": 1776450186633167300 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json index 34d580fdf1b..074e0e506f3 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET blah boo\nSET foo bar\nGET blah\nGET foo" @@ -30,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.pipeline_length": 4.0 }, - "duration": 302041, - "start": 1776195039205947386 + "duration": 520083, + "start": 1776450186540046425 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json index d6f5a91b25a..3161b22875c 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET blah boo\nSET foo bar\nGET blah\nGET foo" @@ -30,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.pipeline_length": 4.0 }, - "duration": 611958, - "start": 1776195039101213511 + "duration": 470875, + "start": 1776450186765970092 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json index e59074fb966..98f6fb1cda1 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json @@ -11,20 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "language": "python", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd" + "runtime-id": "fed65df52b054628a4831772b2acd6e9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 65440.0 + "process_id": 38006.0 }, - "duration": 1162417, - "start": 1776195039192814594 + "duration": 763250, + "start": 1776450186705591300 }, { "name": "valkey.command", @@ -52,8 +52,8 @@ "out.valkey_db": 0.0, "valkey.pipeline_length": 2.0 }, - "duration": 363667, - "start": 1776195039193195594 + "duration": 280875, + "start": 1776450186705801675 }, { "name": "valkey.command", @@ -81,6 +81,6 @@ "out.valkey_db": 0.0, "valkey.pipeline_length": 2.0 }, - "duration": 291584, - "start": 1776195039193643927 + "duration": 181042, + "start": 1776450186706152175 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json index 45813dbc767..02a6659231a 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69de95df00000000", + "_dd.p.tid": "69e27a8a00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "02465f9f9f0b4e04a7be7b863ff1fdfd", + "runtime-id": "fed65df52b054628a4831772b2acd6e9", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET \ud83d\ude10" @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 65440.0, + "process_id": 38006.0, "valkey.args_length": 2.0 }, - "duration": 417167, - "start": 1776195039279571052 + "duration": 250125, + "start": 1776450186557205467 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json b/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json index 4b74013f32b..c8e659a13ca 100644 --- a/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json +++ b/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68f8d7df00000000", + "_dd.p.tid": "69e27a3300000000", + "_dd.svc_src": "grpc_server", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpskjcpbby,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "grpc_server", "grpc.method.kind": "unary", "grpc.method.name": "Export", @@ -20,16 +22,16 @@ "grpc.method.service": "LogsService", "language": "python", "rpc.service": "opentelemetry.proto.collector.logs.v1.LogsService", - "runtime-id": "f889b527dbdc40afa921bb54a08f8c90", + "runtime-id": "8a8e282d640d45f380baa176b38f4348", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 32526 + "_sampling_priority_v1": 1.0, + "process_id": 35060.0 }, - "duration": 31000, - "start": 1761138655401326000 + "duration": 145708, + "start": 1776450099918571385 }]] From 66a46bf64f7c61b6d18d0502020a510c388139fd Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 17 Apr 2026 11:25:18 -0700 Subject: [PATCH 042/114] update snapshots: integration-snapshot --- ...al_flush_finished_counter_out_of_sync.json | 14 +++++------ ...an_with_large_string_attributes[v0.4].json | 10 ++++---- ...an_with_large_string_attributes[v0.5].json | 10 ++++---- ...large_unicode_string_attributes[v0.4].json | 10 ++++---- ...large_unicode_string_attributes[v0.5].json | 10 ++++---- ...t_integration_snapshots.test_env_vars.json | 10 ++++---- ...st_flush_spans_before_writer_recreate.json | 24 +++++++++---------- ...metrics_generates_no_error_logs[v0.4].json | 10 ++++---- ...metrics_generates_no_error_logs[v0.5].json | 10 ++++---- ...ignal_shutdown_flushes_traces_nostats.json | 14 +++++------ ..._signal_shutdown_flushes_traces_stats.json | 16 ++++++------- ...tdown_flushes_traces_stats_tracestats.json | 2 +- ...tracetagsprocessor_only_adds_new_tags.json | 12 +++++----- 13 files changed, 75 insertions(+), 77 deletions(-) diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json index 8db128884c4..520b542b475 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1265500000000", + "_dd.p.tid": "69e27aee00000000", "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpf205_egj,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp5gz4z17h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "076093b648be48c8b083c8ea71e5d675" + "runtime-id": "a276219cf1e240b4861282d670581d0e" }, "metrics": { "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10281.0 + "process_id": 40078.0 }, "duration": 1, - "start": 1776363093759314136 + "start": 1776450286379887971 }, { "name": "span2", @@ -37,6 +37,6 @@ "meta": { "_dd.svc_src": "ddtrace_subprocess_dir" }, - "duration": 16500, - "start": 1776363093759364427 + "duration": 18458, + "start": 1776450286379969263 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json index b9a0c04542c..27c71fe5840 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1265100000000", + "_dd.p.tid": "69e27ae700000000", "_dd.svc_src": "tests.integration", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", "language": "python", - "runtime-id": "1c96a77489a043858d8c4a1a2da37333" + "runtime-id": "d4e8c310885b4410824ee07ab06c1229" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10045.0 + "process_id": 39782.0 }, - "duration": 65708, - "start": 1776363089793486217 + "duration": 48416, + "start": 1776450279862679052 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json index 7abe2a8b64a..c4f64359d06 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1265100000000", + "_dd.p.tid": "69e27ae300000000", "_dd.svc_src": "tests.integration", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", "language": "python", - "runtime-id": "1c96a77489a043858d8c4a1a2da37333" + "runtime-id": "d4e8c310885b4410824ee07ab06c1229" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10045.0 + "process_id": 39782.0 }, - "duration": 50083, - "start": 1776363089816238092 + "duration": 52125, + "start": 1776450275655495258 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json index 7af6cee52a0..9fb5063583f 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1265400000000", + "_dd.p.tid": "69e27ae800000000", "_dd.svc_src": "tests.integration", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "1c96a77489a043858d8c4a1a2da37333", + "runtime-id": "d4e8c310885b4410824ee07ab06c1229", "\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5...": "\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10045.0 + "process_id": 39782.0 }, - "duration": 52250, - "start": 1776363092828614094 + "duration": 48958, + "start": 1776450280362065719 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json index 798732f1917..b21c1b42bd2 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1265200000000", + "_dd.p.tid": "69e27ae700000000", "_dd.svc_src": "tests.integration", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "1c96a77489a043858d8c4a1a2da37333", + "runtime-id": "d4e8c310885b4410824ee07ab06c1229", "\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5...": "\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10045.0 + "process_id": 39782.0 }, - "duration": 42834, - "start": 1776363090606903467 + "duration": 34292, + "start": 1776450279870379593 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json index df06cb5b9f8..f53557f73e9 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1265200000000", + "_dd.p.tid": "69e27ae300000000", "_dd.svc_src": "my-svc", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "env": "prod", "language": "python", - "runtime-id": "d3039b985c654df6b54593063b904322", + "runtime-id": "a85f31db8e9743adb5480f00bd4b5172", "version": "1234" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10195.0 + "process_id": 39808.0 }, - "duration": 58125, - "start": 1776363090081474592 + "duration": 69459, + "start": 1776450275033471424 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json index fdcff8bfb59..39d4e436efe 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1265300000000", + "_dd.p.tid": "69e27aeb00000000", "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp8bok17te,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz0wgpbdh,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "b2fb5f286e914f5a935b7ddb73b26168" + "runtime-id": "6809d9a450014cffb0a2292a661d095a" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10223.0 + "process_id": 40013.0 }, - "duration": 2043625, - "start": 1776363091300702968 + "duration": 1900041, + "start": 1776450283251307762 }], [ { @@ -38,18 +38,18 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69e1265300000000", + "_dd.p.tid": "69e27aeb00000000", "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp8bok17te,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz0wgpbdh,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "b2fb5f286e914f5a935b7ddb73b26168" + "runtime-id": "6809d9a450014cffb0a2292a661d095a" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10223.0 + "process_id": 40013.0 }, - "duration": 61416, - "start": 1776363091300398843 + "duration": 49625, + "start": 1776450283251004678 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json index 46645efebc9..c2f27480f86 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json @@ -11,13 +11,13 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69e1264c00000000", + "_dd.p.tid": "69e27ae700000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "env": "my-env", "language": "python", "number3": "1", - "runtime-id": "1c96a77489a043858d8c4a1a2da37333" + "runtime-id": "d4e8c310885b4410824ee07ab06c1229" }, "metrics": { "_dd.top_level": 1.0, @@ -25,8 +25,8 @@ "_sampling_priority_v1": 1.0, "number1": 123.0, "number2": 12.0, - "process_id": 10045.0 + "process_id": 39782.0 }, - "duration": 50625, - "start": 1776363084515875423 + "duration": 31666, + "start": 1776450279880666927 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json index dd7df43b8eb..609232953f5 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json @@ -11,13 +11,13 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69e1265800000000", + "_dd.p.tid": "69e27aeb00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "env": "my-env", "language": "python", "number3": "1", - "runtime-id": "1c96a77489a043858d8c4a1a2da37333" + "runtime-id": "d4e8c310885b4410824ee07ab06c1229" }, "metrics": { "_dd.top_level": 1.0, @@ -25,8 +25,8 @@ "_sampling_priority_v1": 1.0, "number1": 123.0, "number2": 12.0, - "process_id": 10045.0 + "process_id": 39782.0 }, - "duration": 97750, - "start": 1776363096115750845 + "duration": 30834, + "start": 1776450283301054303 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json index 1132cd1de73..bd2ff3cb820 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json @@ -7,20 +7,20 @@ "span_id": 1, "parent_id": 0, "meta": { - "_dd.base_service": "test_signal_shutdown_flushes_t0", + "_dd.base_service": "test_signal_shutdown_flushes_t1", "_dd.p.dm": "-0", - "_dd.p.tid": "69e1264e00000000", + "_dd.p.tid": "69e27ae100000000", "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t0,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t0", + "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t1,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t1", "language": "python", - "runtime-id": "de43d4a5d268458e867c56bd8afab731" + "runtime-id": "13d21a1ea37148e2b049be95c1fdbfb3" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10119.0 + "process_id": 39794.0 }, - "duration": 43792, - "start": 1776363086010654007 + "duration": 80000, + "start": 1776450273764467715 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json index 41424f7bcc2..04f598a9c93 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json @@ -6,23 +6,21 @@ "trace_id": 0, "span_id": 1, "parent_id": 0, - "type": "", - "error": 0, "meta": { - "_dd.base_service": "test_signal_shutdown_flushes_t1", + "_dd.base_service": "test_signal_shutdown_flushes_t0", "_dd.p.dm": "-0", - "_dd.p.tid": "69e1264e00000000", + "_dd.p.tid": "69e27ae100000000", "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t1,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t1", + "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t0,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t0", "language": "python", - "runtime-id": "4e26324050e0499f8afda31296eb282c" + "runtime-id": "be45e43e9fb1450ea2d76299268134b8" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 10130.0 + "process_id": 39787.0 }, - "duration": 46417, - "start": 1776363086728828757 + "duration": 72416, + "start": 1776450273314486299 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json index f04568deda8..3ffab9d8e99 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 46417, + "Duration": 72416, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json index fead1c4aba2..43414605521 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json @@ -9,18 +9,18 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "69e1265800000000", + "_dd.p.tid": "69e27ae500000000", "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpeastjpls,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptixpq2qw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "2750580554cb4e2b8f9620327f0ab4cb" + "runtime-id": "275eb5e43c8849d3858b799427ae5569" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 10333.0 + "process_id": 39869.0 }, - "duration": 70167, - "start": 1776363096319781637 + "duration": 54708, + "start": 1776450277107520217 }]] From 806b9edac4321836f29b6dc7a6ca4ff93050306e Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 17 Apr 2026 11:26:50 -0700 Subject: [PATCH 043/114] update snapshot: internal --- ...est_process_tags_user_defined_service.json | 43 ++++--------------- 1 file changed, 8 insertions(+), 35 deletions(-) diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json index 5d6b63aa219..1ab4233affa 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfaa2d00000000", + "_dd.p.tid": "69e27b5d00000000", "_dd.svc_src": "foobar", "_dd.tags.process": "entrypoint.basedir:to,entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.user:true", "language": "python", - "runtime-id": "13f9f2ff371e40fb97d90491be9075e1" + "runtime-id": "d94f2167c02940579ea2b541901f8fee" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1791.0 + "process_id": 42058.0 }, - "duration": 523000, - "start": 1776265773175718722 + "duration": 96875, + "start": 1776450397969580301 }, { "name": "child", @@ -37,33 +37,6 @@ "meta": { "_dd.svc_src": "foobar" }, - "duration": 201834, - "start": 1776265773176017930 - }], -[ - { - "name": "test", - "service": "ddtrace_subprocess_dir", - "resource": "test", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "69dfaa2c00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3siscv9x,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "language": "python", - "runtime-id": "64b0ce36722948e88e7ed1801e80e503" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 1758.0 - }, - "duration": 87917, - "start": 1776265772597792930 - }]] + "duration": 18167, + "start": 1776450397969645759 + }]] From 80fed88b84ecebd66749b1474e18575b69686fc1 Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 11:09:20 -0400 Subject: [PATCH 044/114] test: update anthropic snapshots for svc_src tag Co-Authored-By: Claude Opus 4.7 (1M context) --- ...pic.test_anthropic.test_anthropic_llm.json | 18 +++++----- ...ropic.test_anthropic_llm_create_image.json | 18 +++++----- ...st_anthropic.test_anthropic_llm_error.json | 20 ++++++----- ...c.test_anthropic_llm_multiple_prompts.json | 18 +++++----- ...lm_multiple_prompts_with_chat_history.json | 18 +++++----- ...t_anthropic.test_anthropic_llm_stream.json | 18 +++++----- ...opic.test_anthropic_llm_stream_helper.json | 18 +++++----- ...st_anthropic.test_anthropic_llm_tools.json | 18 +++++----- ...pic.test_anthropic_llm_tools_full_use.json | 36 ++++++++++--------- ...t_anthropic_llm_tools_full_use_stream.json | 36 ++++++++++--------- ...ropic.test_anthropic_llm_tools_stream.json | 18 +++++----- ...est_anthropic_llm_tools_stream_helper.json | 18 +++++----- ...test_anthropic_llm_unserializable_arg.json | 20 ++++++----- 13 files changed, 152 insertions(+), 122 deletions(-) diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm.json index 3bd92d8f45b..30d69a7a8d6 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 2772000, - "start": 1751390832613730000 + "duration": 2658416, + "start": 1776697702376189550 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_create_image.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_create_image.json index b21e78c3e99..bb26cf945b3 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_create_image.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_create_image.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 3972000, - "start": 1751390832642820000 + "duration": 4827541, + "start": 1776697702397540175 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_error.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_error.json index aa85cbd0f6c..59399587cb1 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_error.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_error.json @@ -10,21 +10,23 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "error.message": "Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages.0: Input does not match the expected shape.'}}", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/anthropic/patch.py\", line 56, in traced_chat_model_generate\n chat_completions = func(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/_utils/_utils.py\", line 277, in wrapper\n return func(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/resources/messages.py\", line 899, in create\n return self._post(\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/_base_client.py\", line 1239, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/_base_client.py\", line 921, in request\n return self._request(\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/_base_client.py\", line 1019, in _request\n raise self._make_status_error_from_response(err.response) from None\nanthropic.BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages.0: Input does not match the expected shape.'}}\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/anthropic/patch.py\", line 57, in traced_chat_model_generate\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/_utils/_utils.py\", line 277, in wrapper\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/resources/messages.py\", line 899, in create\n return self._post(\n ^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/_base_client.py\", line 1239, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/_base_client.py\", line 921, in request\n return self._request(\n ^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/_base_client.py\", line 1019, in _request\n raise self._make_status_error_from_response(err.response) from None\nanthropic.BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages.0: Input does not match the expected shape.'}}\n", "error.type": "anthropic.BadRequestError", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 3507000, - "start": 1751390832716458000 + "duration": 3366833, + "start": 1776697702460603383 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_multiple_prompts.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_multiple_prompts.json index a9e2c647573..0e729bbf11a 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_multiple_prompts.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_multiple_prompts.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 2603000, - "start": 1751390832669354000 + "duration": 2711208, + "start": 1776697702418604258 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_multiple_prompts_with_chat_history.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_multiple_prompts_with_chat_history.json index e02f9bd57e3..ba4438f1a55 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_multiple_prompts_with_chat_history.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_multiple_prompts_with_chat_history.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 3906000, - "start": 1751390832691526000 + "duration": 4121792, + "start": 1776697702438629008 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_stream.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_stream.json index e68c80731c1..c3bb212c2a5 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_stream.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_stream.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 5094000, - "start": 1751390832757211000 + "duration": 4828542, + "start": 1776697702498120966 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_stream_helper.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_stream_helper.json index 009b2e7196e..43ed472ca8f 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_stream_helper.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_stream_helper.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 7668000, - "start": 1751390832780781000 + "duration": 3527583, + "start": 1776697702519274550 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools.json index b62dc8b349b..769ee13e0ad 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 2005000, - "start": 1751390832806512000 + "duration": 2321833, + "start": 1776697702539296800 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_full_use.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_full_use.json index 23931894793..9b0cf69b37e 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_full_use.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_full_use.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 1974000, - "start": 1751390832825331000 + "duration": 2339666, + "start": 1776697702559189842 }], [ { @@ -37,18 +39,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 3877000, - "start": 1751390832830215000 + "duration": 4324709, + "start": 1776697702563977508 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_full_use_stream.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_full_use_stream.json index 3e0b1f9e738..17113057497 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_full_use_stream.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_full_use_stream.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7100000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 5650000, - "start": 1751390833127851000 + "duration": 5530667, + "start": 1776697702827836258 }], [ { @@ -37,18 +39,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7100000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 4325000, - "start": 1751390833136379000 + "duration": 4371958, + "start": 1776697702835733425 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_stream.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_stream.json index fa5ee3c20ba..667c747cac1 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_stream.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_stream.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7100000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 4277000, - "start": 1751390833060684000 + "duration": 4148000, + "start": 1776697702771814800 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_stream_helper.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_stream_helper.json index ea55a2cda5b..509389349bd 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_stream_helper.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_tools_stream_helper.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7100000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 13848000, - "start": 1751390833086223000 + "duration": 9058709, + "start": 1776697702792862258 }]] diff --git a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_unserializable_arg.json b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_unserializable_arg.json index aca9fd5ba6b..330f15fe479 100644 --- a/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_unserializable_arg.json +++ b/tests/snapshots/tests.contrib.anthropic.test_anthropic.test_anthropic_llm_unserializable_arg.json @@ -10,21 +10,23 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68641a7000000000", + "_dd.p.tid": "69e6416600000000", + "_dd.svc_src": "anthropic", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.anthropic", "anthropic.request.model": "claude-3-opus-20240229", "error.message": "Object of type object is not JSON serializable", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/anthropic/patch.py\", line 56, in traced_chat_model_generate\n chat_completions = func(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/_utils/_utils.py\", line 277, in wrapper\n return func(*args, **kwargs)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/resources/messages.py\", line 899, in create\n return self._post(\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/_base_client.py\", line 1239, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/_base_client.py\", line 921, in request\n return self._request(\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/_base_client.py\", line 942, in _request\n request = self._build_request(options)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/anthropic/_base_client.py\", line 484, in _build_request\n return self._client.build_request( # pyright: ignore[reportUnknownMemberType]\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/httpx/_client.py\", line 358, in build_request\n return Request(\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/httpx/_models.py\", line 342, in __init__\n headers, stream = encode_request(\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/httpx/_content.py\", line 214, in encode_request\n return encode_json(json)\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.10/site-packages/httpx/_content.py\", line 177, in encode_json\n body = json_dumps(json).encode(\"utf-8\")\n File \"/Users/jacob.simpher/.pyenv/versions/3.10.13/lib/python3.10/json/__init__.py\", line 231, in dumps\n return _default_encoder.encode(obj)\n File \"/Users/jacob.simpher/.pyenv/versions/3.10.13/lib/python3.10/json/encoder.py\", line 199, in encode\n chunks = self.iterencode(o, _one_shot=True)\n File \"/Users/jacob.simpher/.pyenv/versions/3.10.13/lib/python3.10/json/encoder.py\", line 257, in iterencode\n return _iterencode(o, 0)\n File \"/Users/jacob.simpher/.pyenv/versions/3.10.13/lib/python3.10/json/encoder.py\", line 179, in default\n raise TypeError(f'Object of type {o.__class__.__name__} '\nTypeError: Object of type object is not JSON serializable\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/anthropic/patch.py\", line 57, in traced_chat_model_generate\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/_utils/_utils.py\", line 277, in wrapper\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/resources/messages.py\", line 899, in create\n return self._post(\n ^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/_base_client.py\", line 1239, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/_base_client.py\", line 921, in request\n return self._request(\n ^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/_base_client.py\", line 942, in _request\n request = self._build_request(options)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/anthropic/_base_client.py\", line 484, in _build_request\n return self._client.build_request( # pyright: ignore[reportUnknownMemberType]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/httpx/_client.py\", line 358, in build_request\n return Request(\n ^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/httpx/_models.py\", line 342, in __init__\n headers, stream = encode_request(\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/httpx/_content.py\", line 214, in encode_request\n return encode_json(json)\n ^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_anthropic~0280_httpx~0270/lib/python3.12/site-packages/httpx/_content.py\", line 177, in encode_json\n body = json_dumps(json).encode(\"utf-8\")\n ^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/json/__init__.py\", line 231, in dumps\n return _default_encoder.encode(obj)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/json/encoder.py\", line 200, in encode\n chunks = self.iterencode(o, _one_shot=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/json/encoder.py\", line 258, in iterencode\n return _iterencode(o, 0)\n ^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/json/encoder.py\", line 180, in default\n raise TypeError(f'Object of type {o.__class__.__name__} '\nTypeError: Object of type object is not JSON serializable\n", "error.type": "builtins.TypeError", "language": "python", - "runtime-id": "70f7e83598864498b2be3649ba819ff1" + "runtime-id": "d72eb18bfc1f477fb469813cc481e1bc" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68705 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 2744000, - "start": 1751390832736187000 + "duration": 2558959, + "start": 1776697702478916716 }]] From 9d7ef052dedea302ac1a700d68d6a69b699544ec Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 11:10:54 -0400 Subject: [PATCH 045/114] test: update claude_agent_sdk snapshots for svc_src tag Co-Authored-By: Claude Opus 4.7 (1M context) --- ...st_claude_agent_sdk.test_client_query.json | 12 +++++++----- ...ude_agent_sdk.test_client_query_error.json | 14 ++++++++------ ..._sdk.test_claude_agent_sdk.test_query.json | 12 +++++++----- ...est_claude_agent_sdk.test_query_error.json | 14 ++++++++------ ...ent_sdk.test_query_with_bash_tool_use.json | 19 ++++++++++++------- ...ent_sdk.test_query_with_grep_tool_use.json | 19 ++++++++++++------- ...ent_sdk.test_query_with_read_tool_use.json | 19 ++++++++++++------- 7 files changed, 66 insertions(+), 43 deletions(-) diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json index cbbf9fed6df..194b6cc2716 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6983c18400000000", + "_dd.p.tid": "69e641dd00000000", + "_dd.svc_src": "tests.contrib.claude_agent_sdk", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "6d8b44096ea1434e9a4bb9ea70ad6407" + "runtime-id": "4dd38b898890423397dae5bbae261391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57618.0 + "process_id": 45.0 }, - "duration": 1178000, - "start": 1770242436544901000 + "duration": 544209, + "start": 1776697821966439466 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json index 9fbeef855a6..2141e1b0ddd 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json @@ -10,20 +10,22 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6983c18400000000", + "_dd.p.tid": "69e641dd00000000", + "_dd.svc_src": "tests.contrib.claude_agent_sdk", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "error.message": "Mocked transport error for testing", - "error.stack": "Traceback (most recent call last):\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 75, in traced_client_query\n return await func(*args, **kwargs)\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31015_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk_pytest-asyncio/lib/python3.10/site-packages/claude_agent_sdk/client.py\", line 201, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/Users/nicole.cybul/.pyenv/versions/3.10.15/lib/python3.10/unittest/mock.py\", line 2234, in _execute_mock_call\n raise effect\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/claude_agent_sdk/utils.py\", line 13, in _retrieve_context\n await instance.query(\"/context\")\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 58, in traced_client_query\n return await func(*args, **kwargs)\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31015_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk_pytest-asyncio/lib/python3.10/site-packages/claude_agent_sdk/client.py\", line 201, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/Users/nicole.cybul/.pyenv/versions/3.10.15/lib/python3.10/unittest/mock.py\", line 2234, in _execute_mock_call\n raise effect\nValueError: Mocked transport error for testing\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 82, in traced_client_query\n return await func(*wrapped_args, **wrapped_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/utils.py\", line 16, in _retrieve_context\n await instance.query(\"/context\")\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 57, in traced_client_query\n return await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\nValueError: Mocked transport error for testing\n", "error.type": "builtins.ValueError", "language": "python", - "runtime-id": "6d8b44096ea1434e9a4bb9ea70ad6407" + "runtime-id": "4dd38b898890423397dae5bbae261391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57618.0 + "process_id": 45.0 }, - "duration": 2685000, - "start": 1770242436568661000 + "duration": 2097375, + "start": 1776697821972503466 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json index eda45ba7ec2..f3b4eb09997 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6983c18400000000", + "_dd.p.tid": "69e641dd00000000", + "_dd.svc_src": "tests.contrib.claude_agent_sdk", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "6d8b44096ea1434e9a4bb9ea70ad6407" + "runtime-id": "4dd38b898890423397dae5bbae261391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57618.0 + "process_id": 45.0 }, - "duration": 277000, - "start": 1770242436495579000 + "duration": 505042, + "start": 1776697821951095966 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json index ec5d7da4501..0de9bdb7d4f 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json @@ -10,20 +10,22 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6983c18400000000", + "_dd.p.tid": "69e641dd00000000", + "_dd.svc_src": "tests.contrib.claude_agent_sdk", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "error.message": "Connection failed", - "error.stack": "Traceback (most recent call last):\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31015_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk_pytest-asyncio/lib/python3.10/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/tests/contrib/claude_agent_sdk/conftest.py\", line 101, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/home/bits/project/tests/contrib/claude_agent_sdk/conftest.py\", line 115, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", "error.type": "builtins.ValueError", "language": "python", - "runtime-id": "6d8b44096ea1434e9a4bb9ea70ad6407" + "runtime-id": "4dd38b898890423397dae5bbae261391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 57618.0 + "process_id": 45.0 }, - "duration": 860000, - "start": 1770242436524228000 + "duration": 798667, + "start": 1776697821959713216 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json index 9c7efe4f85e..aab58efd5cb 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "698bae3900000000", + "_dd.p.tid": "69e641dd00000000", + "_dd.svc_src": "tests.contrib.claude_agent_sdk", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "862fdd7f49ba4875b24c590cdc51d85b" + "runtime-id": "4dd38b898890423397dae5bbae261391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 93576.0 + "process_id": 45.0 }, - "duration": 351000, - "start": 1770761785094886000 + "duration": 138208, + "start": 1776697821985342633 }, { "name": "claude_agent_sdk.tool.Bash", @@ -34,9 +36,12 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.claude_agent_sdk" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 58000, - "start": 1770761785095160000 + "duration": 47125, + "start": 1776697821985419175 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json index 18b0056c388..e427f644ee0 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "698bae3900000000", + "_dd.p.tid": "69e641dd00000000", + "_dd.svc_src": "tests.contrib.claude_agent_sdk", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "862fdd7f49ba4875b24c590cdc51d85b" + "runtime-id": "4dd38b898890423397dae5bbae261391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 93576.0 + "process_id": 45.0 }, - "duration": 190000, - "start": 1770761785111084000 + "duration": 125583, + "start": 1776697821990787175 }, { "name": "claude_agent_sdk.tool.Grep", @@ -34,9 +36,12 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.claude_agent_sdk" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 53000, - "start": 1770761785111203000 + "duration": 41709, + "start": 1776697821990858466 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json index 358f1f5ba36..63477847e30 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "698bae3900000000", + "_dd.p.tid": "69e641dd00000000", + "_dd.svc_src": "tests.contrib.claude_agent_sdk", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "862fdd7f49ba4875b24c590cdc51d85b" + "runtime-id": "4dd38b898890423397dae5bbae261391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 93576.0 + "process_id": 45.0 }, - "duration": 376000, - "start": 1770761785081042000 + "duration": 193458, + "start": 1776697821979837175 }, { "name": "claude_agent_sdk.tool.Read", @@ -34,9 +36,12 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.claude_agent_sdk" + }, "metrics": { "_dd.measured": 1.0 }, - "duration": 214000, - "start": 1770761785081183000 + "duration": 108250, + "start": 1776697821979908966 }]] From bf82c175e4e65089c9500d0509c116abeda78bf2 Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 11:14:42 -0400 Subject: [PATCH 046/114] test: update crewai snapshots for svc_src tag Co-Authored-By: Claude Opus 4.7 (1M context) --- ...ib.crewai.test_crewai.test_basic_crew.json | 54 +++++--- ....crewai.test_crewai.test_complex_flow.json | 63 ++++++---- ...wai.test_crewai.test_conditional_crew.json | 67 ++++++---- ...est_crewai.test_crew_with_async_tasks.json | 67 ++++++---- ...rewai.test_crewai.test_crew_with_tool.json | 49 +++++--- ...ai.test_crewai.test_hierarchical_crew.json | 117 ++++++++++++------ ...b.crewai.test_crewai.test_simple_flow.json | 36 +++--- 7 files changed, 283 insertions(+), 170 deletions(-) diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_basic_crew.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_basic_crew.json index dd624b12c4e..812f62a3a4a 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_basic_crew.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_basic_crew.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67d4836c00000000", + "_dd.p.tid": "69e6428c00000000", + "_dd.svc_src": "tests.contrib.crewai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", - "runtime-id": "274f8024b18d47fbaa1bb86e4e4f2194" + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 97124 + "_sampling_priority_v1": 1.0, + "process_id": 507.0 }, - "duration": 55736000, - "start": 1741980524340908000 + "duration": 335786875, + "start": 1776697996083428255 }, { "name": "crewai.request", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 45907000, - "start": 1741980524343290000 + "duration": 216787333, + "start": 1776697996091038422 }, { "name": "Senior Research Scientist", @@ -48,11 +53,14 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 45533000, - "start": 1741980524343487000 + "duration": 216299500, + "start": 1776697996091400755 }, { "name": "crewai.request", @@ -63,11 +71,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 5421000, - "start": 1741980524390361000 + "duration": 106726417, + "start": 1776697996309171880 }, { "name": "AI Reporting Analyst", @@ -78,9 +89,12 @@ "parent_id": 3, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 4986000, - "start": 1741980524390729000 + "duration": 106369084, + "start": 1776697996309446005 }]] diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_complex_flow.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_complex_flow.json index 2faa2eaf025..5420ed097ea 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_complex_flow.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_complex_flow.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "688a751500000000", + "_dd.p.tid": "69e6428e00000000", + "_dd.svc_src": "tests.contrib.crewai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", - "runtime-id": "56162dabc987448fb1a8d3639a92aef8" + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 34543 + "_sampling_priority_v1": 1.0, + "process_id": 507.0 }, - "duration": 275395000, - "start": 1753904405969657000 + "duration": 275943084, + "start": 1776697998213762589 }, { "name": "generate_city", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 56131000, - "start": 1753904405969837000 + "duration": 55748291, + "start": 1776697998214099423 }, { "name": "generate_welcome_email", @@ -48,11 +53,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 51731000, - "start": 1753904406026550000 + "duration": 55895708, + "start": 1776697998270349923 }, { "name": "generate_fun_fact", @@ -63,11 +71,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 67431000, - "start": 1753904406078962000 + "duration": 62429417, + "start": 1776697998327148631 }, { "name": "generate_budget", @@ -78,11 +89,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 42643000, - "start": 1753904406146863000 + "duration": 42607209, + "start": 1776697998390490881 }, { "name": "generate_itinerary", @@ -93,9 +107,12 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 53739000, - "start": 1753904406190596000 + "duration": 54612500, + "start": 1776697998434241215 }]] diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_conditional_crew.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_conditional_crew.json index 652c5c2a407..92beaa24457 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_conditional_crew.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_conditional_crew.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67d87abc00000000", + "_dd.p.tid": "69e6428d00000000", + "_dd.svc_src": "tests.contrib.crewai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", - "runtime-id": "df107156ac1c4cc6b08ba6dbf39979fc" + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 21238 + "_sampling_priority_v1": 1.0, + "process_id": 507.0 }, - "duration": 19711000, - "start": 1742240444578857000 + "duration": 42249000, + "start": 1776697997252402422 }, { "name": "Calculate participants' average ages", @@ -34,15 +36,16 @@ "type": "", "error": 0, "meta": { - "runtime-id": "df107156ac1c4cc6b08ba6dbf39979fc" + "_dd.svc_src": "tests.contrib.crewai", + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "process_id": 21238 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "process_id": 507.0 }, - "duration": 10097000, - "start": 1742240444581263000 + "duration": 17487375, + "start": 1776697997255843214 }, { "name": "Python Data Analyst", @@ -53,11 +56,14 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 9781000, - "start": 1742240444581521000 + "duration": 17189125, + "start": 1776697997256084422 }, { "name": "Average Calculator", @@ -68,11 +74,14 @@ "parent_id": 4, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 24000, - "start": 1742240444586653000 + "duration": 72750, + "start": 1776697997265153089 }, { "name": "Recommend fun activities", @@ -83,11 +92,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 4570000, - "start": 1742240444593149000 + "duration": 15732417, + "start": 1776697997276846964 }, { "name": "Tour Guide", @@ -98,9 +110,12 @@ "parent_id": 3, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 4278000, - "start": 1742240444593385000 + "duration": 15418833, + "start": 1776697997277101214 }]] diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_async_tasks.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_async_tasks.json index ee5db4bc5b1..38e65f50d2b 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_async_tasks.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_async_tasks.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67d8778200000000", + "_dd.p.tid": "69e6428d00000000", + "_dd.svc_src": "tests.contrib.crewai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", - "runtime-id": "6f72f0178b434bf0b82186dc3ffdf753" + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 18510 + "_sampling_priority_v1": 1.0, + "process_id": 507.0 }, - "duration": 58788000, - "start": 1742239618298254000 + "duration": 40552833, + "start": 1776697997027717839 }, { "name": "Calculate participants' average ages", @@ -34,15 +36,16 @@ "type": "", "error": 0, "meta": { - "runtime-id": "6f72f0178b434bf0b82186dc3ffdf753" + "_dd.svc_src": "tests.contrib.crewai", + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "process_id": 18510 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "process_id": 507.0 }, - "duration": 49506000, - "start": 1742239618300750000 + "duration": 17576292, + "start": 1776697997030937714 }, { "name": "Python Data Analyst", @@ -53,11 +56,14 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 49198000, - "start": 1742239618300978000 + "duration": 17278500, + "start": 1776697997031185089 }, { "name": "Average Calculator", @@ -68,11 +74,14 @@ "parent_id": 4, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 59000, - "start": 1742239618344852000 + "duration": 73167, + "start": 1776697997040496297 }, { "name": "Recommend fun activities", @@ -83,11 +92,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 4611000, - "start": 1742239618351625000 + "duration": 15434417, + "start": 1776697997051249297 }, { "name": "Tour Guide", @@ -98,9 +110,12 @@ "parent_id": 3, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 4300000, - "start": 1742239618351877000 + "duration": 15172667, + "start": 1776697997051462464 }]] diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_tool.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_tool.json index 7f80d2a5bb1..fc952017e3e 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_tool.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_tool.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67d48c9700000000", + "_dd.p.tid": "69e6428c00000000", + "_dd.svc_src": "tests.contrib.crewai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", - "runtime-id": "0987b32bb1374a3eb66373e1d9469e3a" + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 6022 + "_sampling_priority_v1": 1.0, + "process_id": 507.0 }, - "duration": 1679108000, - "start": 1741982871123297000 + "duration": 26826250, + "start": 1776697996876248172 }, { "name": "Calculate participants' average ages", @@ -34,15 +36,16 @@ "type": "", "error": 0, "meta": { - "runtime-id": "0987b32bb1374a3eb66373e1d9469e3a" + "_dd.svc_src": "tests.contrib.crewai", + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "process_id": 6022 + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "process_id": 507.0 }, - "duration": 1673705000, - "start": 1741982871125219000 + "duration": 20581416, + "start": 1776697996878816339 }, { "name": "Python Data Analyst", @@ -53,11 +56,14 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 1673227000, - "start": 1741982871125438000 + "duration": 20306875, + "start": 1776697996879036505 }, { "name": "Average Calculator", @@ -68,9 +74,12 @@ "parent_id": 3, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 134000, - "start": 1741982872203636000 + "duration": 81208, + "start": 1776697996891609922 }]] diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_hierarchical_crew.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_hierarchical_crew.json index 04698783a7b..e3e7cd679b1 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_hierarchical_crew.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_hierarchical_crew.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67d8a4b400000000", + "_dd.p.tid": "69e6428d00000000", + "_dd.svc_src": "tests.contrib.crewai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", - "runtime-id": "bad43c1740734ba39e8647b64c509771" + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 69849 + "_sampling_priority_v1": 1.0, + "process_id": 507.0 }, - "duration": 13962869000, - "start": 1742251188598484000 + "duration": 130635541, + "start": 1776697997364371506 }, { "name": "crewai.request", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 2285441000, - "start": 1742251188601806000 + "duration": 13951834, + "start": 1776697997369121297 }, { "name": "Task Execution Planner", @@ -48,11 +53,14 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 2285043000, - "start": 1742251188601959000 + "duration": 13671292, + "start": 1776697997369260297 }, { "name": "Calculate participants' average ages", @@ -63,11 +71,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 3487166000, - "start": 1742251190888891000 + "duration": 38743375, + "start": 1776697997385854381 }, { "name": "Crew Manager", @@ -78,11 +89,14 @@ "parent_id": 3, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 3486291000, - "start": 1742251190889276000 + "duration": 38247541, + "start": 1776697997386296881 }, { "name": "Ask question to coworker", @@ -93,11 +107,14 @@ "parent_id": 6, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 1380707000, - "start": 1742251192328707000 + "duration": 18522416, + "start": 1776697997397131631 }, { "name": "Python Data Analyst", @@ -108,11 +125,14 @@ "parent_id": 8, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 1379537000, - "start": 1742251192329684000 + "duration": 17906333, + "start": 1776697997397716756 }, { "name": "Average Calculator", @@ -123,11 +143,14 @@ "parent_id": 10, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 206000, - "start": 1742251193080850000 + "duration": 71291, + "start": 1776697997406858756 }, { "name": "Recommend fun activities", @@ -138,11 +161,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 8172764000, - "start": 1742251194383037000 + "duration": 65164541, + "start": 1776697997428124131 }, { "name": "Crew Manager", @@ -153,11 +179,14 @@ "parent_id": 4, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 8167029000, - "start": 1742251194384409000 + "duration": 64871166, + "start": 1776697997428354506 }, { "name": "Ask question to coworker", @@ -168,11 +197,14 @@ "parent_id": 7, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 3810877000, - "start": 1742251196017552000 + "duration": 37839500, + "start": 1776697997439749714 }, { "name": "Tour Guide", @@ -183,9 +215,12 @@ "parent_id": 9, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 3809132000, - "start": 1742251196019220000 + "duration": 37150667, + "start": 1776697997440397339 }]] diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_simple_flow.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_simple_flow.json index 5bd14c7ff9d..372a25f28d2 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_simple_flow.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_simple_flow.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "688a6cac00000000", + "_dd.p.tid": "69e6428d00000000", + "_dd.svc_src": "tests.contrib.crewai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", - "runtime-id": "5dd5230615214af6a668a6124e22e4b4" + "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 26333 + "_sampling_priority_v1": 1.0, + "process_id": 507.0 }, - "duration": 120768000, - "start": 1753902252890209000 + "duration": 121949250, + "start": 1776697997942633673 }, { "name": "generate_city", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 55178000, - "start": 1753902252890303000 + "duration": 55446500, + "start": 1776697997942793214 }, { "name": "generate_fun_fact", @@ -48,9 +53,12 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.crewai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 65128000, - "start": 1753902252945642000 + "duration": 65834708, + "start": 1776697997998498798 }]] From 823f362828d0259718c095042b1643cd0fcc3920 Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 11:15:47 -0400 Subject: [PATCH 047/114] test: update google_genai snapshots for svc_src tag Co-Authored-By: Claude Opus 4.7 (1M context) --- ...i.test_google_genai_chat_send_message.json | 18 +++++----- ...genai.test_google_genai_embed_content.json | 18 +++++----- ...test_google_genai_embed_content_error.json | 20 ++++++----- ...ai.test_google_genai_generate_content.json | 18 +++++----- ...t_google_genai_generate_content_error.json | 20 ++++++----- ..._google_genai_generate_content_stream.json | 18 +++++----- ...e_genai_generate_content_stream_error.json | 20 ++++++----- ...gle_genai_generate_content_with_tools.json | 36 ++++++++++--------- 8 files changed, 93 insertions(+), 75 deletions(-) diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_chat_send_message.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_chat_send_message.json index 848176f45c4..975c0088191 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_chat_send_message.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_chat_send_message.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685db62d00000000", + "_dd.p.tid": "69e6430000000000", + "_dd.svc_src": "tests.contrib.google_genai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", "language": "python", - "runtime-id": "e1610a2a62844d64a61aed9e69b2b3c6" + "runtime-id": "a447ab5760174b6f931d0630724f28d7" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 55009 + "_sampling_priority_v1": 1.0, + "process_id": 429.0 }, - "duration": 66000, - "start": 1750971949833939000 + "duration": 89875, + "start": 1776698112114059295 }]] diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content.json index 639218e3aa6..6d77036e0db 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "686d243300000000", + "_dd.p.tid": "69e6430000000000", + "_dd.svc_src": "tests.contrib.google_genai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "text-embedding-004", "google_genai.request.provider": "google", "language": "python", - "runtime-id": "766445521958404b835a8acdb26d8311" + "runtime-id": "a447ab5760174b6f931d0630724f28d7" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 30450 + "_sampling_priority_v1": 1.0, + "process_id": 429.0 }, - "duration": 415000, - "start": 1751983155494519000 + "duration": 801000, + "start": 1776698112007345961 }]] diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content_error.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content_error.json index 767e41e80b0..0015d27018f 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content_error.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content_error.json @@ -10,22 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "686d243300000000", + "_dd.p.tid": "69e6430000000000", + "_dd.svc_src": "tests.contrib.google_genai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "error.message": "Models.embed_content() got an unexpected keyword argument 'not_an_argument'", - "error.stack": "Traceback (most recent call last):\n File \"/Users/max.zhang/dd-trace-py/ddtrace/contrib/internal/google_genai/patch.py\", line 120, in traced_embed_content\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: Models.embed_content() got an unexpected keyword argument 'not_an_argument'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_genai/patch.py\", line 109, in traced_embed_content\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: Models.embed_content() got an unexpected keyword argument 'not_an_argument'\n", "error.type": "builtins.TypeError", "google_genai.request.model": "text-embedding-004", "google_genai.request.provider": "google", "language": "python", - "runtime-id": "766445521958404b835a8acdb26d8311" + "runtime-id": "a447ab5760174b6f931d0630724f28d7" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 30450 + "_sampling_priority_v1": 1.0, + "process_id": 429.0 }, - "duration": 155000, - "start": 1751983155527238000 + "duration": 185458, + "start": 1776698112033682503 }]] diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content.json index 2a5bf2fdd7a..d02209d666a 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6850374b00000000", + "_dd.p.tid": "69e642ff00000000", + "_dd.svc_src": "tests.contrib.google_genai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", "language": "python", - "runtime-id": "21de5d02783a4bda9916cba8736920d0" + "runtime-id": "a447ab5760174b6f931d0630724f28d7" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23200 + "_sampling_priority_v1": 1.0, + "process_id": 429.0 }, - "duration": 1091000, - "start": 1750087499807542000 + "duration": 65084, + "start": 1776698111751969586 }]] diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_error.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_error.json index 0f1552f6f43..dccf3f93eb6 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_error.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_error.json @@ -10,22 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6850374b00000000", + "_dd.p.tid": "69e642ff00000000", + "_dd.svc_src": "tests.contrib.google_genai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "error.message": "Models.generate_content() got an unexpected keyword argument 'not_an_argument'", - "error.stack": "Traceback (most recent call last):\n File \"/Users/max.zhang/dd-trace-py/ddtrace/contrib/internal/google_genai/patch.py\", line 41, in traced_generate\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: Models.generate_content() got an unexpected keyword argument 'not_an_argument'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_genai/patch.py\", line 37, in traced_generate\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: Models.generate_content() got an unexpected keyword argument 'not_an_argument'\n", "error.type": "builtins.TypeError", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", "language": "python", - "runtime-id": "21de5d02783a4bda9916cba8736920d0" + "runtime-id": "a447ab5760174b6f931d0630724f28d7" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23200 + "_sampling_priority_v1": 1.0, + "process_id": 429.0 }, - "duration": 133000, - "start": 1750087499827076000 + "duration": 335167, + "start": 1776698111781786878 }]] diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream.json index 24fb9211fa3..46034d39d55 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6850374b00000000", + "_dd.p.tid": "69e642ff00000000", + "_dd.svc_src": "tests.contrib.google_genai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", "language": "python", - "runtime-id": "21de5d02783a4bda9916cba8736920d0" + "runtime-id": "a447ab5760174b6f931d0630724f28d7" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23200 + "_sampling_priority_v1": 1.0, + "process_id": 429.0 }, - "duration": 20000, - "start": 1750087499840478000 + "duration": 207167, + "start": 1776698111808802336 }]] diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream_error.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream_error.json index 205e179af04..51184da2202 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream_error.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream_error.json @@ -10,22 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6850378c00000000", + "_dd.p.tid": "69e642ff00000000", + "_dd.svc_src": "tests.contrib.google_genai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "error.message": "Models.generate_content_stream() got an unexpected keyword argument 'not_an_argument'", - "error.stack": "Traceback (most recent call last):\n File \"/Users/max.zhang/dd-trace-py/ddtrace/contrib/internal/google_genai/patch.py\", line 57, in traced_generate_stream\n generation_response = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: Models.generate_content_stream() got an unexpected keyword argument 'not_an_argument'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_genai/patch.py\", line 70, in traced_generate_stream\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: Models.generate_content_stream() got an unexpected keyword argument 'not_an_argument'\n", "error.type": "builtins.TypeError", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", "language": "python", - "runtime-id": "ea00956580e94060979ee6b81c8d2926" + "runtime-id": "a447ab5760174b6f931d0630724f28d7" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23815 + "_sampling_priority_v1": 1.0, + "process_id": 429.0 }, - "duration": 129000, - "start": 1750087564075716000 + "duration": 189750, + "start": 1776698111833677420 }]] diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_with_tools.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_with_tools.json index 7c8ae3f0610..2bb784fb153 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_with_tools.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_with_tools.json @@ -10,21 +10,23 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685dac8b00000000", + "_dd.p.tid": "69e642ff00000000", + "_dd.svc_src": "tests.contrib.google_genai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", "language": "python", - "runtime-id": "b035b0a989074b46b243cfc98f4a290c" + "runtime-id": "a447ab5760174b6f931d0630724f28d7" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 42317 + "_sampling_priority_v1": 1.0, + "process_id": 429.0 }, - "duration": 54000, - "start": 1750969483115334000 + "duration": 85542, + "start": 1776698111981988628 }], [ { @@ -38,19 +40,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685dac8b00000000", + "_dd.p.tid": "69e642ff00000000", + "_dd.svc_src": "tests.contrib.google_genai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", "language": "python", - "runtime-id": "b035b0a989074b46b243cfc98f4a290c" + "runtime-id": "a447ab5760174b6f931d0630724f28d7" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 42317 + "_sampling_priority_v1": 1.0, + "process_id": 429.0 }, - "duration": 26000, - "start": 1750969483115498000 + "duration": 46208, + "start": 1776698111982267753 }]] From b16098b37fa644ea69e8f0102e397b25cea94f89 Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 11:17:38 -0400 Subject: [PATCH 048/114] test: update litellm snapshots for svc_src tag Co-Authored-By: Claude Opus 4.7 (1M context) --- ....test_litellm.test_litellm_completion.json | 18 +++++++------ ...itellm.test_litellm_router_completion.json | 25 +++++++++++-------- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_completion.json b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_completion.json index 61cf1570afd..0796d7f6dc4 100644 --- a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_completion.json +++ b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_completion.json @@ -10,18 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67eedc0500000000", + "_dd.p.tid": "69e6434900000000", + "_dd.svc_src": "tests.contrib.litellm", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.litellm", "language": "python", "litellm.request.model": "gpt-3.5-turbo", - "runtime-id": "d305d955990344b7b0c36d88756ba920" + "runtime-id": "0e2ca00e352c4145b2b58b06232000e0" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 44922 + "_sampling_priority_v1": 1.0, + "process_id": 437.0 }, - "duration": 6370000, - "start": 1743707141382127000 + "duration": 44250292, + "start": 1776698185581520593 }]] diff --git a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json index 06e41c11c27..1004c6f8509 100644 --- a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json +++ b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json @@ -10,20 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "682c9a2b00000000", + "_dd.p.tid": "69e6434a00000000", + "_dd.svc_src": "tests.contrib.litellm", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.litellm", "language": "python", "litellm.request.model": "gpt-3.5-turbo", - "runtime-id": "c3947e7c67484e44af5d4c7c20d9216c" + "runtime-id": "0e2ca00e352c4145b2b58b06232000e0" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 92661 + "_sampling_priority_v1": 1.0, + "process_id": 437.0 }, - "duration": 68491000, - "start": 1747753515704152000 + "duration": 44231000, + "start": 1776698186335775677 }, { "name": "litellm.request", @@ -35,11 +37,12 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "tests.contrib.litellm", "litellm.request.model": "gpt-3.5-turbo" }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 66297000, - "start": 1747753515705671000 + "duration": 43478250, + "start": 1776698186336500510 }]] From f0c2e24eb635da797554df3d2e1c9a4b26a4a3a4 Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 11:19:03 -0400 Subject: [PATCH 049/114] test: update llama_index snapshots for svc_src tag Co-Authored-By: Claude Opus 4.7 (1M context) --- ....test_llama_index.test_llama_index_apredict.json | 11 ++++++----- ...ndex.test_llama_index.test_llama_index_chat.json | 11 ++++++----- ...est_llama_index.test_llama_index_chat_async.json | 11 ++++++----- ...est_llama_index.test_llama_index_chat_error.json | 13 +++++++------ ...st_llama_index.test_llama_index_chat_stream.json | 11 ++++++----- ....test_llama_index.test_llama_index_complete.json | 11 ++++++----- ...llama_index.test_llama_index_complete_async.json | 11 ++++++----- ...lama_index.test_llama_index_complete_stream.json | 11 ++++++----- ...lama_index.test_llama_index_embedding_batch.json | 11 ++++++----- ...lama_index.test_llama_index_embedding_query.json | 11 ++++++----- ...ama_index.test_llama_index_openai_embedding.json | 11 ++++++----- ...x.test_llama_index.test_llama_index_predict.json | 11 ++++++----- ...t_llama_index.test_llama_index_query_engine.json | 11 ++++++----- ...a_index.test_llama_index_query_engine_async.json | 11 ++++++----- ...test_llama_index.test_llama_index_retriever.json | 11 ++++++----- ...lama_index.test_llama_index_retriever_async.json | 11 ++++++----- 16 files changed, 97 insertions(+), 81 deletions(-) diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_apredict.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_apredict.json index 4653e4ae003..76ab99caee6 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_apredict.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_apredict.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "gpt-4o-mini", "llama_index.request.provider": "openai", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 9104167, - "start": 1773856570570906219 + "duration": 5645875, + "start": 1776698301175863341 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat.json index 07a064801f1..c72872efba7 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bc00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "gpt-4o-mini", "llama_index.request.provider": "openai", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 7848875, - "start": 1773856570227807011 + "duration": 5318083, + "start": 1776698300949666549 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_async.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_async.json index 90c63886dfc..b1ca88ef443 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_async.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_async.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "gpt-4o-mini", "llama_index.request.provider": "openai", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 9930750, - "start": 1773856570360080844 + "duration": 6315750, + "start": 1776698301046107924 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_error.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_error.json index b0fed57a5b3..a8b4c4d1ac1 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_error.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_error.json @@ -10,23 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69cfffb000000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "error.message": "Error code: 401 - {'error': {'message': 'Incorrect API key provided: bad-key-**********test. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/llama_index/patch.py\", line 119, in wrapper\n resp = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/llama_index_instrumentation/dispatcher.py\", line 413, in wrapper\n result = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/llama_index/core/llms/callbacks.py\", line 181, in wrapped_llm_chat\n f_return_val = f(_self, messages, **kwargs)\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/llama_index/llms/openai/base.py\", line 404, in chat\n return chat_fn(messages, **kwargs)\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/llama_index/llms/openai/base.py\", line 115, in wrapper\n return retry(f)(self, *args, **kwargs)\n ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/tenacity/__init__.py\", line 331, in wrapped_f\n return copy(f, *args, **kw)\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/tenacity/__init__.py\", line 470, in __call__\n do = self.iter(retry_state=retry_state)\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/tenacity/__init__.py\", line 371, in iter\n result = action(retry_state)\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/tenacity/__init__.py\", line 393, in \n self._add_action_func(lambda rs: rs.outcome.result())\n ~~~~~~~~~~~~~~~~~^^\n File \"/home/bits/.pyenv/versions/3.13.8/lib/python3.13/concurrent/futures/_base.py\", line 449, in result\n return self.__get_result()\n ~~~~~~~~~~~~~~~~~^^\n File \"/home/bits/.pyenv/versions/3.13.8/lib/python3.13/concurrent/futures/_base.py\", line 401, in __get_result\n raise self._exception\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/tenacity/__init__.py\", line 473, in __call__\n result = fn(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/llama_index/llms/openai/base.py\", line 500, in _chat\n response = client.chat.completions.create(\n messages=message_dicts,\n stream=False,\n **self._get_model_kwargs(**kwargs),\n )\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/openai/resources/chat/completions/completions.py\", line 1211, in create\n return self._post(\n ~~~~~~~~~~^\n \"/chat/completions\",\n ^^^^^^^^^^^^^^^^^^^^\n ...<47 lines>...\n stream_cls=Stream[ChatCompletionChunk],\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n )\n ^\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/openai/_base_client.py\", line 1297, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py3138_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.13/site-packages/openai/_base_client.py\", line 1070, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: bad-key-**********test. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/llama_index/patch.py\", line 121, in wrapper\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/llama_index/core/instrumentation/dispatcher.py\", line 311, in wrapper\n result = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/llama_index/core/llms/callbacks.py\", line 173, in wrapped_llm_chat\n f_return_val = f(_self, messages, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/llama_index/llms/openai/base.py\", line 355, in chat\n return chat_fn(messages, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/llama_index/llms/openai/base.py\", line 106, in wrapper\n return retry(f)(self, *args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/tenacity/__init__.py\", line 336, in wrapped_f\n return copy(f, *args, **kw)\n ^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/tenacity/__init__.py\", line 475, in __call__\n do = self.iter(retry_state=retry_state)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/tenacity/__init__.py\", line 376, in iter\n result = action(retry_state)\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/tenacity/__init__.py\", line 398, in \n self._add_action_func(lambda rs: rs.outcome.result())\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 449, in result\n return self.__get_result()\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 401, in __get_result\n raise self._exception\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/tenacity/__init__.py\", line 478, in __call__\n result = fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/llama_index/llms/openai/base.py\", line 429, in _chat\n response = client.chat.completions.create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 1147, in create\n return self._post(\n ^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_vcrpy_llama-index-core~0110_llama-index-llms-openai_llama-index-embeddings-openai/lib/python3.12/site-packages/openai/_base_client.py\", line 1047, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: bad-key-**********test. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}\n", "error.type": "openai.AuthenticationError", "language": "python", "llama_index.request.model": "gpt-4o-mini", "llama_index.request.provider": "openai", - "runtime-id": "f205dce3e9d4497596afa0171ca8c0dd" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 453.0 }, - "duration": 430924375, - "start": 1775239088482674003 + "duration": 8092792, + "start": 1776698301025453632 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_stream.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_stream.json index 35d36c28819..71340a0cbe0 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_stream.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_chat_stream.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bc00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "gpt-4o-mini", "llama_index.request.provider": "openai", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 14179709, - "start": 1773856570274280219 + "duration": 10903959, + "start": 1776698300984461257 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete.json index b88b28a4507..95dd4a74bd3 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bc00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "gpt-4o-mini", "llama_index.request.provider": "openai", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 7760917, - "start": 1773856570251182261 + "duration": 5275542, + "start": 1776698300966934632 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete_async.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete_async.json index e6181d7d973..e143f7c63a7 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete_async.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete_async.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "gpt-4o-mini", "llama_index.request.provider": "openai", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 17049792, - "start": 1773856570389940719 + "duration": 6263542, + "start": 1776698301065557382 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete_stream.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete_stream.json index bbce2ba6339..95768cdae19 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete_stream.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_complete_stream.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "gpt-4o-mini", "llama_index.request.provider": "openai", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 8181125, - "start": 1773856570302507136 + "duration": 7421625, + "start": 1776698301006821257 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_embedding_batch.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_embedding_batch.json index ce3e709c166..279412fc08c 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_embedding_batch.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_embedding_batch.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "mock-embed", "llama_index.request.provider": "unknown", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 276042, - "start": 1773856570525973219 + "duration": 178666, + "start": 1776698301127992341 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_embedding_query.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_embedding_query.json index da4b906a53e..37bdb517532 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_embedding_query.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_embedding_query.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "mock-embed", "llama_index.request.provider": "unknown", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 309959, - "start": 1773856570509699969 + "duration": 202708, + "start": 1776698301118734716 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_openai_embedding.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_openai_embedding.json index 8742857484b..5c483afb1ae 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_openai_embedding.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_openai_embedding.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae8f800000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "text-embedding-ada-002", "llama_index.request.provider": "openai", - "runtime-id": "f48ca8a9720b4022ad3754d76831743a" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1428.0 + "process_id": 453.0 }, - "duration": 8527250, - "start": 1773857016663125217 + "duration": 7300916, + "start": 1776698301139431341 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_predict.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_predict.json index 824e3fef42b..7b25c752021 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_predict.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_predict.json @@ -10,20 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.model": "gpt-4o-mini", "llama_index.request.provider": "openai", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 8988000, - "start": 1773856570544604719 + "duration": 5393084, + "start": 1776698301158366507 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_query_engine.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_query_engine.json index d38b5a84a39..23a1ba9c281 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_query_engine.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_query_engine.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.provider": "unknown", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 266166, - "start": 1773856570421559803 + "duration": 195750, + "start": 1776698301081240924 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_query_engine_async.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_query_engine_async.json index b2468107690..235aecef293 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_query_engine_async.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_query_engine_async.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.provider": "unknown", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 417000, - "start": 1773856570436233053 + "duration": 197166, + "start": 1776698301091278341 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_retriever.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_retriever.json index 02abed17a98..ccb681d6c5b 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_retriever.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_retriever.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.provider": "unknown", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 387833, - "start": 1773856570454909011 + "duration": 220875, + "start": 1776698301100007591 }]] diff --git a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_retriever_async.json b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_retriever_async.json index 33466d35026..c0aa60c3d4a 100644 --- a/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_retriever_async.json +++ b/tests/snapshots/tests.contrib.llama_index.test_llama_index.test_llama_index_retriever_async.json @@ -10,19 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69bae73a00000000", + "_dd.p.tid": "69e643bd00000000", + "_dd.svc_src": "llama_index", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.llama_index", "language": "python", "llama_index.request.provider": "unknown", - "runtime-id": "729c4ab91f934a3ebb19b749b5334ac6" + "runtime-id": "8949bb0bdbd04e09b952eaa13e5246e1" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 453.0 }, - "duration": 1773375, - "start": 1773856570480776969 + "duration": 182125, + "start": 1776698301108951049 }]] From 60e38213b9557c013f66f8fa3dea17a2a9ba13e6 Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 11:20:15 -0400 Subject: [PATCH 050/114] test: update openai_agents snapshots for svc_src tag Co-Authored-By: Claude Opus 4.7 (1M context) --- ...test_openai_agents.test_openai_agents.json | 36 ++++++++----- ...i_agents.test_openai_agents_streaming.json | 36 ++++++++----- ...openai_agents.test_openai_agents_sync.json | 36 ++++++++----- ...ts.test_openai_agents_with_tool_error.json | 54 ++++++++++++------- 4 files changed, 100 insertions(+), 62 deletions(-) diff --git a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents.json b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents.json index e52cd9830f2..cb44d9f30b1 100644 --- a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents.json +++ b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685d853c00000000", + "_dd.p.tid": "69e6440500000000", + "_dd.svc_src": "tests.contrib.openai_agents", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai_agents", "language": "python", - "runtime-id": "a9636fc9401c47f0a83bafb1fba83c50" + "runtime-id": "e799c741d7964a95a505de6ad4017dc5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15968 + "_sampling_priority_v1": 1.0, + "process_id": 431.0 }, - "duration": 225136000, - "start": 1750959420952821000 + "duration": 280527958, + "start": 1776698373522498097 }, { "name": "Simple Agent", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 224350000, - "start": 1750959420953565000 + "duration": 279843916, + "start": 1776698373523144597 }, { "name": "openai_agents.response", @@ -48,9 +53,12 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 218891000, - "start": 1750959420958669000 + "duration": 275503333, + "start": 1776698373527176930 }]] diff --git a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_streaming.json b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_streaming.json index 50c2cbfd8d3..0462b9376be 100644 --- a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_streaming.json +++ b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_streaming.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685d853d00000000", + "_dd.p.tid": "69e6440500000000", + "_dd.svc_src": "tests.contrib.openai_agents", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai_agents", "language": "python", - "runtime-id": "a9636fc9401c47f0a83bafb1fba83c50" + "runtime-id": "e799c741d7964a95a505de6ad4017dc5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15968 + "_sampling_priority_v1": 1.0, + "process_id": 431.0 }, - "duration": 154392000, - "start": 1750959421225996000 + "duration": 146872875, + "start": 1776698373823780180 }, { "name": "Simple Agent", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 154267000, - "start": 1750959421226091000 + "duration": 146737834, + "start": 1776698373823887388 }, { "name": "openai_agents.response", @@ -48,9 +53,12 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 153615000, - "start": 1750959421226365000 + "duration": 146138376, + "start": 1776698373824175888 }]] diff --git a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_sync.json b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_sync.json index 9ffabcc3ee2..b6ef6397fb8 100644 --- a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_sync.json +++ b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_sync.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685d853d00000000", + "_dd.p.tid": "69e6440500000000", + "_dd.svc_src": "tests.contrib.openai_agents", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai_agents", "language": "python", - "runtime-id": "a9636fc9401c47f0a83bafb1fba83c50" + "runtime-id": "e799c741d7964a95a505de6ad4017dc5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15968 + "_sampling_priority_v1": 1.0, + "process_id": 431.0 }, - "duration": 2873000, - "start": 1750959421205457000 + "duration": 3213833, + "start": 1776698373811957805 }, { "name": "Simple Agent", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 2729000, - "start": 1750959421205574000 + "duration": 3072041, + "start": 1776698373812071222 }, { "name": "openai_agents.response", @@ -48,9 +53,12 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 2208000, - "start": 1750959421205855000 + "duration": 2649666, + "start": 1776698373812324972 }]] diff --git a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_with_tool_error.json b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_with_tool_error.json index f1d1d245f3e..a2a6c02c290 100644 --- a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_with_tool_error.json +++ b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_with_tool_error.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685d853d00000000", + "_dd.p.tid": "69e6440500000000", + "_dd.svc_src": "tests.contrib.openai_agents", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai_agents", "language": "python", - "runtime-id": "a9636fc9401c47f0a83bafb1fba83c50" + "runtime-id": "e799c741d7964a95a505de6ad4017dc5" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15968 + "_sampling_priority_v1": 1.0, + "process_id": 431.0 }, - "duration": 13467000, - "start": 1750959421399333000 + "duration": 12949917, + "start": 1776698373980434097 }, { "name": "Addition Agent", @@ -33,11 +35,14 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 13338000, - "start": 1750959421399437000 + "duration": 12808583, + "start": 1776698373980554097 }, { "name": "openai_agents.response", @@ -48,11 +53,14 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 9136000, - "start": 1750959421399782000 + "duration": 8602584, + "start": 1776698373980795930 }, { "name": "add", @@ -63,11 +71,14 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 238000, - "start": 1750959421409138000 + "duration": 244083, + "start": 1776698373989559597 }, { "name": "openai_agents.response", @@ -78,9 +89,12 @@ "parent_id": 2, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.openai_agents" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 2980000, - "start": 1750959421409596000 + "duration": 3281042, + "start": 1776698373989951555 }]] From 02d85ca79b7776c40ff356cc167c00981d74d5b2 Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 11:21:32 -0400 Subject: [PATCH 051/114] test: update pydantic_ai snapshots for svc_src tag Co-Authored-By: Claude Opus 4.7 (1M context) --- ...ic_ai.test_pydantic_ai.test_agent_run.json | 18 +++++++------ ...test_pydantic_ai.test_agent_run_error.json | 20 +++++++------- ...est_pydantic_ai.test_agent_with_tools.json | 27 +++++++++++-------- 3 files changed, 37 insertions(+), 28 deletions(-) diff --git a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run.json b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run.json index 3f29a54302a..04ff6092d05 100644 --- a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run.json +++ b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685c273600000000", + "_dd.p.tid": "69e6445c00000000", + "_dd.svc_src": "tests.contrib.pydantic_ai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.pydantic_ai", "language": "python", "pydantic_ai.request.model": "gpt-4o", "pydantic_ai.request.provider": "openai", - "runtime-id": "7cf03eb418ef45389d32eefcd6e7371c" + "runtime-id": "d03ffc1aa5f8407883b4b65ffac89b01" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 54205 + "_sampling_priority_v1": 1.0, + "process_id": 436.0 }, - "duration": 265955000, - "start": 1750869814661974000 + "duration": 261200042, + "start": 1776698460403611470 }]] diff --git a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run_error.json b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run_error.json index d036196a988..7c78e83a57b 100644 --- a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run_error.json +++ b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run_error.json @@ -10,22 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685d864900000000", + "_dd.p.tid": "69e6445c00000000", + "_dd.svc_src": "tests.contrib.pydantic_ai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.pydantic_ai", "error.message": "test error", - "error.stack": "Traceback (most recent call last):\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/tests/contrib/pydantic_ai/test_pydantic_ai.py\", line 40, in test_agent_iter_error\n raise Exception(\"test error\")\nException: test error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/pydantic_ai/test_pydantic_ai.py\", line 46, in test_agent_iter_error\n raise Exception(\"test error\")\nException: test error\n", "error.type": "builtins.Exception", "language": "python", "pydantic_ai.request.model": "gpt-4o", "pydantic_ai.request.provider": "openai", - "runtime-id": "95c42dea96174c31b772098e7b279498" + "runtime-id": "d03ffc1aa5f8407883b4b65ffac89b01" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 74933 + "_sampling_priority_v1": 1.0, + "process_id": 436.0 }, - "duration": 884000, - "start": 1750959689643817000 + "duration": 987917, + "start": 1776698460729607470 }]] diff --git a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_with_tools.json b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_with_tools.json index 720e79bb322..f1d0b5bdd8e 100644 --- a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_with_tools.json +++ b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_with_tools.json @@ -10,21 +10,23 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685c2acd00000000", + "_dd.p.tid": "69e6445c00000000", + "_dd.svc_src": "tests.contrib.pydantic_ai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.pydantic_ai", "language": "python", "pydantic_ai.request.model": "gpt-4o", "pydantic_ai.request.provider": "openai", - "runtime-id": "8f113d01af3e4e73aee4d266a9225a5b" + "runtime-id": "d03ffc1aa5f8407883b4b65ffac89b01" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 68870 + "_sampling_priority_v1": 1.0, + "process_id": 436.0 }, - "duration": 2060766000, - "start": 1750870733933322000 + "duration": 8663208, + "start": 1776698460779545137 }, { "name": "calculate_square_tool", @@ -35,9 +37,12 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.pydantic_ai" + }, "metrics": { - "_dd.measured": 1 + "_dd.measured": 1.0 }, - "duration": 2438000, - "start": 1750870735435157000 + "duration": 742500, + "start": 1776698460784224387 }]] From 87c8231f6ef84ee1314a385944ba7edfc093791b Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 11:33:11 -0400 Subject: [PATCH 052/114] test: update vertexai snapshots for svc_src tag Co-Authored-By: Claude Opus 4.7 (1M context) --- ...est_vertexai.test_vertexai_completion.json | 18 +++++++++-------- ...rtexai.test_vertexai_completion_error.json | 20 ++++++++++--------- ...vertexai_completion_multiple_messages.json | 18 +++++++++-------- ...texai.test_vertexai_completion_stream.json | 18 +++++++++-------- ...test_vertexai_completion_stream_error.json | 20 ++++++++++--------- ....test_vertexai_completion_stream_tool.json | 18 +++++++++-------- ...est_vertexai_completion_system_prompt.json | 18 +++++++++-------- ...ertexai.test_vertexai_completion_tool.json | 18 +++++++++-------- 8 files changed, 82 insertions(+), 66 deletions(-) diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion.json index 96c989c67a2..c3337858b29 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685ae96d00000000", + "_dd.p.tid": "69e6470300000000", + "_dd.svc_src": "tests.contrib.vertexai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", - "runtime-id": "51dd90093585456fa5287bb1606924df", + "runtime-id": "d5979d38e7db4b038bec44cb583a3732", "vertexai.request.model": "gemini-1.5-flash", "vertexai.request.provider": "google" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 93922 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 172000, - "start": 1750788461546503000 + "duration": 158333, + "start": 1776699139512210715 }]] diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_error.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_error.json index d3ceabdf23f..039fa170740 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_error.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_error.json @@ -10,22 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685ae96d00000000", + "_dd.p.tid": "69e6470300000000", + "_dd.svc_src": "tests.contrib.vertexai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "error.message": "_GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/vertexai/patch.py\", line 73, in _traced_generate\n generations = func(*args, **kwargs)\nTypeError: _GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/vertexai/patch.py\", line 59, in _traced_generate\n generations = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: _GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'\n", "error.type": "builtins.TypeError", "language": "python", - "runtime-id": "51dd90093585456fa5287bb1606924df", + "runtime-id": "d5979d38e7db4b038bec44cb583a3732", "vertexai.request.model": "gemini-1.5-flash", "vertexai.request.provider": "google" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 93922 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 247000, - "start": 1750788461562711000 + "duration": 296375, + "start": 1776699139520648882 }]] diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_multiple_messages.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_multiple_messages.json index 55ae49a2c58..6f673184818 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_multiple_messages.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_multiple_messages.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685ae96d00000000", + "_dd.p.tid": "69e6470300000000", + "_dd.svc_src": "tests.contrib.vertexai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", - "runtime-id": "51dd90093585456fa5287bb1606924df", + "runtime-id": "d5979d38e7db4b038bec44cb583a3732", "vertexai.request.model": "gemini-1.5-flash", "vertexai.request.provider": "google" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 93922 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 201000, - "start": 1750788461589680000 + "duration": 154375, + "start": 1776699139536812840 }]] diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream.json index 0be65767f93..d5bf43131f0 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685ae96d00000000", + "_dd.p.tid": "69e6470300000000", + "_dd.svc_src": "tests.contrib.vertexai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", - "runtime-id": "51dd90093585456fa5287bb1606924df", + "runtime-id": "d5979d38e7db4b038bec44cb583a3732", "vertexai.request.model": "gemini-1.5-flash", "vertexai.request.provider": "google" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 93922 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 383000, - "start": 1750788461609742000 + "duration": 414042, + "start": 1776699139552500673 }]] diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_error.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_error.json index 6f71e1781bf..90a9875b163 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_error.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_error.json @@ -10,22 +10,24 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685ae96d00000000", + "_dd.p.tid": "69e6470300000000", + "_dd.svc_src": "tests.contrib.vertexai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "error.message": "_GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'", - "error.stack": "Traceback (most recent call last):\n File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/vertexai/patch.py\", line 73, in _traced_generate\n generations = func(*args, **kwargs)\nTypeError: _GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/vertexai/patch.py\", line 59, in _traced_generate\n generations = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: _GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'\n", "error.type": "builtins.TypeError", "language": "python", - "runtime-id": "51dd90093585456fa5287bb1606924df", + "runtime-id": "d5979d38e7db4b038bec44cb583a3732", "vertexai.request.model": "gemini-1.5-flash", "vertexai.request.provider": "google" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 93922 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 122000, - "start": 1750788461619518000 + "duration": 171125, + "start": 1776699139560526923 }]] diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_tool.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_tool.json index 65799842fd9..ae65023e423 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_tool.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_tool.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685ae96d00000000", + "_dd.p.tid": "69e6470300000000", + "_dd.svc_src": "tests.contrib.vertexai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", - "runtime-id": "51dd90093585456fa5287bb1606924df", + "runtime-id": "d5979d38e7db4b038bec44cb583a3732", "vertexai.request.model": "gemini-1.5-flash", "vertexai.request.provider": "google" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 93922 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 291000, - "start": 1750788461629516000 + "duration": 267459, + "start": 1776699139568387923 }]] diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_system_prompt.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_system_prompt.json index de2d60a1ada..26c62a5c041 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_system_prompt.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_system_prompt.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685ae96d00000000", + "_dd.p.tid": "69e6470300000000", + "_dd.svc_src": "tests.contrib.vertexai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", - "runtime-id": "51dd90093585456fa5287bb1606924df", + "runtime-id": "d5979d38e7db4b038bec44cb583a3732", "vertexai.request.model": "gemini-1.5-flash", "vertexai.request.provider": "google" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 93922 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 176000, - "start": 1750788461600177000 + "duration": 170583, + "start": 1776699139544748590 }]] diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_tool.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_tool.json index c31e63a935a..e01eeaf4a35 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_tool.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_tool.json @@ -10,19 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "685ae96d00000000", + "_dd.p.tid": "69e6470300000000", + "_dd.svc_src": "tests.contrib.vertexai", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", - "runtime-id": "51dd90093585456fa5287bb1606924df", + "runtime-id": "d5979d38e7db4b038bec44cb583a3732", "vertexai.request.model": "gemini-1.5-flash", "vertexai.request.provider": "google" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 93922 + "_sampling_priority_v1": 1.0, + "process_id": 45.0 }, - "duration": 208000, - "start": 1750788461578371000 + "duration": 212750, + "start": 1776699139529041715 }]] From 4c5671837ebc02fdc934fdfef051443df9acaa37 Mon Sep 17 00:00:00 2001 From: Yun Kim Date: Mon, 20 Apr 2026 17:23:41 -0400 Subject: [PATCH 053/114] test: regenerate claude_agent_sdk snapshots for new llm child spans Upstream feat(llmobs) trace individual llm calls (#17387) added claude_agent_sdk.llm and claude_agent_sdk.tool.* child spans that were not reflected in the earlier svc_src-only refresh. Co-Authored-By: Claude Opus 4.7 (1M context) --- ...st_claude_agent_sdk.test_client_query.json | 28 +++++++++++++--- ...ude_agent_sdk.test_client_query_error.json | 10 +++--- ..._sdk.test_claude_agent_sdk.test_query.json | 28 +++++++++++++--- ...est_claude_agent_sdk.test_query_error.json | 33 +++++++++++++++---- ...ent_sdk.test_query_with_bash_tool_use.json | 30 +++++++++++++---- ...ent_sdk.test_query_with_grep_tool_use.json | 30 +++++++++++++---- ...ent_sdk.test_query_with_read_tool_use.json | 30 +++++++++++++---- 7 files changed, 150 insertions(+), 39 deletions(-) diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json index 554d8b6f8ea..91edf82d8a8 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json @@ -10,12 +10,12 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e641dd00000000", + "_dd.p.tid": "69e6993800000000", "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "4dd38b898890423397dae5bbae261391" + "runtime-id": "e8b579aec75c47859595ced667adee1e" }, "metrics": { "_dd.measured": 1.0, @@ -24,6 +24,24 @@ "_sampling_priority_v1": 1.0, "process_id": 45.0 }, - "duration": 544209, - "start": 1776697821966439466 - }]] + "duration": 924125, + "start": 1776720184890823470 + }, + { + "name": "claude_agent_sdk.llm", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.llm", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.claude_agent_sdk" + }, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 78917, + "start": 1776720184891534345 + }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json index 5dcbf29a3b6..add0b444992 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json @@ -10,14 +10,14 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e641dd00000000", + "_dd.p.tid": "69e6993800000000", "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "error.message": "Mocked transport error for testing", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 82, in traced_client_query\n return await func(*wrapped_args, **wrapped_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/utils.py\", line 16, in _retrieve_context\n await instance.query(\"/context\")\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 57, in traced_client_query\n return await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\nValueError: Mocked transport error for testing\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 84, in traced_client_query\n return await func(*wrapped_args, **wrapped_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/utils.py\", line 16, in _retrieve_context\n await instance.query(\"/context\")\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 58, in traced_client_query\n return await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\nValueError: Mocked transport error for testing\n", "error.type": "builtins.ValueError", "language": "python", - "runtime-id": "4dd38b898890423397dae5bbae261391" + "runtime-id": "e8b579aec75c47859595ced667adee1e" }, "metrics": { "_dd.measured": 1.0, @@ -26,6 +26,6 @@ "_sampling_priority_v1": 1.0, "process_id": 45.0 }, - "duration": 2097375, - "start": 1776697821972503466 + "duration": 1762083, + "start": 1776720184898347470 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json index 473a703cc82..4e646c49bbf 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json @@ -10,12 +10,12 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e641dd00000000", + "_dd.p.tid": "69e6993800000000", "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "4dd38b898890423397dae5bbae261391" + "runtime-id": "e8b579aec75c47859595ced667adee1e" }, "metrics": { "_dd.measured": 1.0, @@ -24,6 +24,24 @@ "_sampling_priority_v1": 1.0, "process_id": 45.0 }, - "duration": 505042, - "start": 1776697821951095966 - }]] + "duration": 781750, + "start": 1776720184872673553 + }, + { + "name": "claude_agent_sdk.llm", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.llm", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.claude_agent_sdk" + }, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 251458, + "start": 1776720184873095095 + }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json index d0819f5a736..689490070be 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json @@ -10,14 +10,14 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e641dd00000000", + "_dd.p.tid": "69e6993800000000", "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "error.message": "Connection failed", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/home/bits/project/tests/contrib/claude_agent_sdk/conftest.py\", line 115, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/home/bits/project/tests/contrib/claude_agent_sdk/conftest.py\", line 136, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", "error.type": "builtins.ValueError", "language": "python", - "runtime-id": "4dd38b898890423397dae5bbae261391" + "runtime-id": "e8b579aec75c47859595ced667adee1e" }, "metrics": { "_dd.measured": 1.0, @@ -26,6 +26,27 @@ "_sampling_priority_v1": 1.0, "process_id": 45.0 }, - "duration": 798667, - "start": 1776697821959713216 - }]] + "duration": 1175000, + "start": 1776720184883258428 + }, + { + "name": "claude_agent_sdk.llm", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.llm", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.svc_src": "tests.contrib.claude_agent_sdk", + "error.message": "Connection failed", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/home/bits/project/tests/contrib/claude_agent_sdk/conftest.py\", line 136, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", + "error.type": "builtins.ValueError" + }, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 1082541, + "start": 1776720184883328012 + }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json index 6afecb1a183..3926ab8260a 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json @@ -10,12 +10,12 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e641dd00000000", + "_dd.p.tid": "69e6993800000000", "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "4dd38b898890423397dae5bbae261391" + "runtime-id": "e8b579aec75c47859595ced667adee1e" }, "metrics": { "_dd.measured": 1.0, @@ -24,8 +24,8 @@ "_sampling_priority_v1": 1.0, "process_id": 45.0 }, - "duration": 138208, - "start": 1776697821985342633 + "duration": 208417, + "start": 1776720184913298220 }, { "name": "claude_agent_sdk.llm", @@ -42,6 +42,24 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 47125, - "start": 1776697821985419175 + "duration": 63000, + "start": 1776720184913367137 + }, + { + "name": "claude_agent_sdk.tool.Bash", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.tool", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "", + "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.claude_agent_sdk" + }, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 41250, + "start": 1776720184913454928 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json index fc7be1ece4e..5141968ba4d 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json @@ -10,12 +10,12 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e641dd00000000", + "_dd.p.tid": "69e6993800000000", "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "4dd38b898890423397dae5bbae261391" + "runtime-id": "e8b579aec75c47859595ced667adee1e" }, "metrics": { "_dd.measured": 1.0, @@ -24,8 +24,8 @@ "_sampling_priority_v1": 1.0, "process_id": 45.0 }, - "duration": 125583, - "start": 1776697821990787175 + "duration": 207708, + "start": 1776720184919646345 }, { "name": "claude_agent_sdk.llm", @@ -42,6 +42,24 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 41709, - "start": 1776697821990858466 + "duration": 55791, + "start": 1776720184919720012 + }, + { + "name": "claude_agent_sdk.tool.Grep", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.tool", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "", + "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.claude_agent_sdk" + }, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 41167, + "start": 1776720184919800345 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json index 142e1714885..8e7d822f638 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json @@ -10,12 +10,12 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e641dd00000000", + "_dd.p.tid": "69e6993800000000", "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "4dd38b898890423397dae5bbae261391" + "runtime-id": "e8b579aec75c47859595ced667adee1e" }, "metrics": { "_dd.measured": 1.0, @@ -24,8 +24,8 @@ "_sampling_priority_v1": 1.0, "process_id": 45.0 }, - "duration": 193458, - "start": 1776697821979837175 + "duration": 214500, + "start": 1776720184906103678 }, { "name": "claude_agent_sdk.llm", @@ -42,6 +42,24 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 108250, - "start": 1776697821979908966 + "duration": 61250, + "start": 1776720184906165762 + }, + { + "name": "claude_agent_sdk.tool.Read", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.tool", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "", + "error": 0, + "meta": { + "_dd.svc_src": "tests.contrib.claude_agent_sdk" + }, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 51250, + "start": 1776720184906254887 }]] From b56fcb10e40c0958099595eaa7e10761d0b47601 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Tue, 21 Apr 2026 17:00:59 -0400 Subject: [PATCH 054/114] updated snapshots for azure_cosmos, azure_durable_functions, azure_functions:cosmos, and azure_functions tests suites --- riotfile.py | 2 +- ...ure_cosmos_snapshot.test_cosmos_async.json | 96 ++++---- ...ure_cosmos_snapshot.test_cosmos_error.json | 86 +++---- ...zure_cosmos_snapshot.test_cosmos_sync.json | 96 ++++---- ...shot.test_activity_trigger_end_to_end.json | 77 ++++--- ...apshot.test_entity_trigger_end_to_end.json | 77 ++++--- ...racing_disabled_batch_links_disabled].json | 70 ------ ...tracing_disabled_batch_links_enabled].json | 208 ----------------- ...tracing_enabled_batch_links_disabled].json | 70 ------ ..._tracing_enabled_batch_links_enabled].json | 210 ------------------ ...nc_list_distributed_tracing_disabled].json | 160 ------------- ...ync_list_distributed_tracing_enabled].json | 164 -------------- ...racing_disabled_batch_links_disabled].json | 70 ------ ...tracing_disabled_batch_links_enabled].json | 208 ----------------- ...tracing_enabled_batch_links_disabled].json | 70 ------ ..._tracing_enabled_batch_links_enabled].json | 210 ------------------ ..._tracing_enabled_batch_links_enabled].json | 210 ------------------ ...ync_list_distributed_tracing_enabled].json | 164 -------------- ..._tracing_enabled_batch_links_enabled].json | 210 ------------------ ...red_list_distributed_tracing_enabled].json | 164 -------------- ...ch_list_distributed_tracing_disabled].json | 160 ------------- ...tch_list_distributed_tracing_enabled].json | 164 -------------- ..._single_distributed_tracing_disabled].json | 138 ------------ ...c_single_distributed_tracing_enabled].json | 138 ------------ ...c_single_distributed_tracing_enabled].json | 138 ------------ ...d_single_distributed_tracing_enabled].json | 138 ------------ ..._single_distributed_tracing_disabled].json | 138 ------------ ...t_single_distributed_tracing_enabled].json | 138 ------------ ...venthubs_snapshot.test_producer_error.json | 37 --- ...ttp_get_distributed_tracing[disabled].json | 28 ++- ...http_get_distributed_tracing[enabled].json | 27 ++- ...unctions_snapshot.test_http_get_error.json | 18 +- ...test_http_get_function_name_decorator.json | 16 +- ...ttp_get_function_name_decorator_order.json | 16 +- ...t_http_get_function_name_no_decorator.json | 16 +- ...e_functions_snapshot.test_http_get_ok.json | 16 +- ...tions_snapshot.test_http_get_ok_async.json | 16 +- ...hot.test_http_get_ok_async_obfuscated.json | 16 +- ..._snapshot.test_http_get_ok_obfuscated.json | 16 +- ...ns_snapshot.test_http_get_trigger_arg.json | 16 +- ..._functions_snapshot.test_http_post_ok.json | 16 +- ...t_azure_functions_snapshot.test_timer.json | 16 +- ...e_functions_snapshot.test_timer_async.json | 16 +- ...unctions_snapshot.test_cosmos_trigger.json | 46 ++-- 44 files changed, 388 insertions(+), 3718 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json delete mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json diff --git a/riotfile.py b/riotfile.py index 17522e65609..d7cab6807e2 100644 --- a/riotfile.py +++ b/riotfile.py @@ -3446,7 +3446,7 @@ def select_pys(min_version: str = MIN_PYTHON_VERSION, max_version: str = MAX_PYT Venv( name="azure_functions", command="pytest {cmdargs} tests/contrib/azure_functions", - pys=select_pys(min_version="3.9", max_version="3.13"), + pys=select_pys(min_version="3.11", max_version="3.13"), pkgs={ "azure.functions": ["~=1.10.1", latest], "requests": latest, diff --git a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json index c6748dc2b15..0314bddcbe4 100644 --- a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json +++ b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json @@ -10,27 +10,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 4054666, - "start": 1776192325306271338 + "duration": 2260416, + "start": 1776788240589274463 }], [ { @@ -44,27 +44,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 12308667, - "start": 1776192325310958421 + "duration": 11090833, + "start": 1776788240591919588 }], [ { @@ -78,7 +78,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -86,20 +86,20 @@ "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 4004625, - "start": 1776192325323769421 + "duration": 2391959, + "start": 1776788240603340254 }], [ { @@ -113,7 +113,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -121,20 +121,20 @@ "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 2355625, - "start": 1776192325328254004 + "duration": 1384875, + "start": 1776788240606041379 }], [ { @@ -148,7 +148,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -156,20 +156,20 @@ "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 3448125, - "start": 1776192325330975796 + "duration": 1824083, + "start": 1776788240607661671 }], [ { @@ -183,7 +183,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -191,20 +191,20 @@ "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 2463083, - "start": 1776192325334982338 + "duration": 2163208, + "start": 1776788240609800213 }], [ { @@ -218,7 +218,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -226,20 +226,20 @@ "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 2272875, - "start": 1776192325337841671 + "duration": 1276500, + "start": 1776788240612230213 }], [ { @@ -253,25 +253,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 5562750, - "start": 1776192325340499296 + "duration": 3177041, + "start": 1776788240613749213 }]] diff --git a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json index 8e1001055fd..935fbeddcea 100644 --- a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json +++ b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json @@ -10,27 +10,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 3680875, - "start": 1776192325361938254 + "duration": 2107416, + "start": 1776788240627206713 }], [ { @@ -44,27 +44,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 11011792, - "start": 1776192325366045129 + "duration": 13302542, + "start": 1776788240629624296 }], [ { @@ -78,7 +78,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -86,20 +86,20 @@ "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 6763000, - "start": 1776192325377541129 + "duration": 3312458, + "start": 1776788240643252296 }], [ { @@ -113,7 +113,7 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -122,23 +122,23 @@ "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", "error.message": "(None) The document already exists in the collection.\nCode: None\nMessage: The document already exists in the collection.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/azure_cosmos/patch.py\", line 69, in _patched_synchronized_request\n result = wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_synchronized_request.py\", line 214, in SynchronizedRequest\n return _retry_utility.Execute(\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_retry_utility.py\", line 97, in Execute\n result = ExecuteFunction(function, global_endpoint_manager, *args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_retry_utility.py\", line 199, in ExecuteFunction\n return function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_synchronized_request.py\", line 150, in _Request\n raise exceptions.CosmosResourceExistsError(message=data, response=response)\nazure.cosmos.exceptions.CosmosResourceExistsError: (None) The document already exists in the collection.\nCode: None\nMessage: The document already exists in the collection.\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/azure_cosmos/patch.py\", line 69, in _patched_synchronized_request\n result = wrapped(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_synchronized_request.py\", line 214, in SynchronizedRequest\n return _retry_utility.Execute(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_retry_utility.py\", line 97, in Execute\n result = ExecuteFunction(function, global_endpoint_manager, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_retry_utility.py\", line 199, in ExecuteFunction\n return function(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_synchronized_request.py\", line 150, in _Request\n raise exceptions.CosmosResourceExistsError(message=data, response=response)\nazure.cosmos.exceptions.CosmosResourceExistsError: (None) The document already exists in the collection.\nCode: None\nMessage: The document already exists in the collection.\n", "error.type": "azure.cosmos.exceptions.CosmosResourceExistsError", "http.status_code": "409", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 5121916, - "start": 1776192325384705463 + "duration": 3100542, + "start": 1776788240646809504 }], [ { @@ -152,7 +152,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -160,20 +160,20 @@ "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 2975333, - "start": 1776192325390207463 + "duration": 1694875, + "start": 1776788240650194254 }], [ { @@ -187,7 +187,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -195,20 +195,20 @@ "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 2441250, - "start": 1776192325393553421 + "duration": 1565959, + "start": 1776788240652152879 }], [ { @@ -222,25 +222,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 5442042, - "start": 1776192325396291879 + "duration": 3659541, + "start": 1776788240653922213 }]] diff --git a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json index 3ee314f6452..89c3394d2ab 100644 --- a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json +++ b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json @@ -10,27 +10,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 3685916, - "start": 1776192325128198713 + "duration": 3907875, + "start": 1776788240466024838 }], [ { @@ -44,27 +44,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 11000500, - "start": 1776192325133081671 + "duration": 14305875, + "start": 1776788240470684379 }], [ { @@ -78,7 +78,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -86,20 +86,20 @@ "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 3641208, - "start": 1776192325144538796 + "duration": 3400709, + "start": 1776788240485570629 }], [ { @@ -113,7 +113,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -121,20 +121,20 @@ "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 2134542, - "start": 1776192325148595004 + "duration": 1621458, + "start": 1776788240489310213 }], [ { @@ -148,7 +148,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -156,20 +156,20 @@ "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 3087292, - "start": 1776192325151072504 + "duration": 2432458, + "start": 1776788240491192421 }], [ { @@ -183,7 +183,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -191,20 +191,20 @@ "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 2811333, - "start": 1776192325154627421 + "duration": 2214291, + "start": 1776788240494012713 }], [ { @@ -218,7 +218,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", @@ -226,20 +226,20 @@ "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 2087667, - "start": 1776192325157789504 + "duration": 1678208, + "start": 1776788240496493088 }], [ { @@ -253,25 +253,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8b4500000000", + "_dd.p.tid": "69e7a31000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.12 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "832dbf54fb9443388fa7e59716751fea", + "runtime-id": "8b998d8f904644d898b523907d4d2beb", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46717.0 + "process_id": 557.0 }, - "duration": 5184375, - "start": 1776192325160200338 + "duration": 4309167, + "start": 1776788240498449879 }]] diff --git a/tests/snapshots/tests.contrib.azure_durable_functions.test_azure_durable_functions_snapshot.test_activity_trigger_end_to_end.json b/tests/snapshots/tests.contrib.azure_durable_functions.test_azure_durable_functions_snapshot.test_activity_trigger_end_to_end.json index 4a95cd706a0..8b479401b93 100644 --- a/tests/snapshots/tests.contrib.azure_durable_functions.test_azure_durable_functions_snapshot.test_activity_trigger_end_to_end.json +++ b/tests/snapshots/tests.contrib.azure_durable_functions.test_azure_durable_functions_snapshot.test_activity_trigger_end_to_end.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6981be8d00000000", + "_dd.p.tid": "69e7a81b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "start_activity", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7072/api/startactivity", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "d9c2e4a35aeb421ca8f4196c7d45a6f1", + "runtime-id": "952f361b6987494e889b935cac6a0167", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1405.0 + "process_id": 61229.0 }, - "duration": 1216397292, - "start": 1770110605174766961 + "duration": 1049920000, + "start": 1776789531798186000 }, { "name": "aiohttp.request", @@ -40,17 +42,17 @@ "parent_id": 1, "type": "http", "meta": { + "_dd.svc_src": "aiohttp_client", "component": "aiohttp_client", "http.method": "POST", "http.status_code": "202", "http.status_msg": "Accepted", "http.url": "http://127.0.0.1:17071/durabletask/orchestrators/activity_orchestrator", "out.host": "127.0.0.1", - "span.kind": "client", - "test.deployment_verification": "pmartinez-aiohttp-test-20260129" + "span.kind": "client" }, - "duration": 131553792, - "start": 1770110605175859044 + "duration": 35883000, + "start": 1776789531798404000 }, { "name": "TCPConnector.connect", @@ -60,11 +62,12 @@ "span_id": 5, "parent_id": 2, "meta": { - "_dd.p.tid": "6981be8d00000000", + "_dd.p.tid": "69e7a81b00000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 1331250, - "start": 1770110605178443253 + "duration": 521000, + "start": 1776789531798674000 }, { "name": "aiohttp.request", @@ -75,18 +78,18 @@ "parent_id": 1, "type": "http", "meta": { - "_dd.p.tid": "6981be8d00000000", + "_dd.p.tid": "69e7a81b00000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "202", "http.status_msg": "Accepted", - "http.url": "http://127.0.0.1:17071/durabletask/instances/f58cbe129bc4470698155cd7b6edd58d", + "http.url": "http://127.0.0.1:17071/durabletask/instances/e9526e0b78dd42a3b4226c2b62dbfb4b", "out.host": "127.0.0.1", - "span.kind": "client", - "test.deployment_verification": "pmartinez-aiohttp-test-20260129" + "span.kind": "client" }, - "duration": 60587292, - "start": 1770110605309143086 + "duration": 8038000, + "start": 1776789531834711000 }, { "name": "TCPConnector.connect", @@ -96,11 +99,12 @@ "span_id": 6, "parent_id": 3, "meta": { - "_dd.p.tid": "6981be8d00000000", + "_dd.p.tid": "69e7a81b00000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 384834, - "start": 1770110605309441544 + "duration": 463000, + "start": 1776789531834862000 }, { "name": "aiohttp.request", @@ -111,18 +115,18 @@ "parent_id": 1, "type": "http", "meta": { - "_dd.p.tid": "6981be8d00000000", + "_dd.p.tid": "69e7a81b00000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", - "http.url": "http://127.0.0.1:17071/durabletask/instances/f58cbe129bc4470698155cd7b6edd58d", + "http.url": "http://127.0.0.1:17071/durabletask/instances/e9526e0b78dd42a3b4226c2b62dbfb4b", "out.host": "127.0.0.1", - "span.kind": "client", - "test.deployment_verification": "pmartinez-aiohttp-test-20260129" + "span.kind": "client" }, - "duration": 15842791, - "start": 1770110606374362420 + "duration": 3010000, + "start": 1776789532844529000 }, { "name": "TCPConnector.connect", @@ -132,11 +136,12 @@ "span_id": 7, "parent_id": 4, "meta": { - "_dd.p.tid": "6981be8d00000000", + "_dd.p.tid": "69e7a81b00000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 453125, - "start": 1770110606374682628 + "duration": 480000, + "start": 1776789532844777000 }], [ { @@ -149,20 +154,22 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6981be8d00000000", + "_dd.p.tid": "69e7a81b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "durable_activity", "aas.function.trigger": "Activity", "component": "azure_functions", "language": "python", - "runtime-id": "d9c2e4a35aeb421ca8f4196c7d45a6f1", + "runtime-id": "952f361b6987494e889b935cac6a0167", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1405.0 + "process_id": 61229.0 }, - "duration": 53583, - "start": 1770110605603371961 + "duration": 103000, + "start": 1776789531902091000 }]] diff --git a/tests/snapshots/tests.contrib.azure_durable_functions.test_azure_durable_functions_snapshot.test_entity_trigger_end_to_end.json b/tests/snapshots/tests.contrib.azure_durable_functions.test_azure_durable_functions_snapshot.test_entity_trigger_end_to_end.json index 7a5cf9c7263..3f55fc972fc 100644 --- a/tests/snapshots/tests.contrib.azure_durable_functions.test_azure_durable_functions_snapshot.test_entity_trigger_end_to_end.json +++ b/tests/snapshots/tests.contrib.azure_durable_functions.test_azure_durable_functions_snapshot.test_entity_trigger_end_to_end.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6981be9a00000000", + "_dd.p.tid": "69e7a82200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "start_entity", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7072/api/startentity", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "196b6f9036a84b498173f93a69a578a0", + "runtime-id": "1b69241f081e4253a3da394677a05d74", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1802.0 + "process_id": 61271.0 }, - "duration": 1281617334, - "start": 1770110618951849051 + "duration": 1052130000, + "start": 1776789538037598000 }, { "name": "aiohttp.request", @@ -40,17 +42,17 @@ "parent_id": 1, "type": "http", "meta": { + "_dd.svc_src": "aiohttp_client", "component": "aiohttp_client", "http.method": "POST", "http.status_code": "202", "http.status_msg": "Accepted", "http.url": "http://127.0.0.1:17071/durabletask/orchestrators/entity_orchestrator", "out.host": "127.0.0.1", - "span.kind": "client", - "test.deployment_verification": "pmartinez-aiohttp-test-20260129" + "span.kind": "client" }, - "duration": 159445500, - "start": 1770110618952974051 + "duration": 36882000, + "start": 1776789538037822000 }, { "name": "TCPConnector.connect", @@ -60,11 +62,12 @@ "span_id": 5, "parent_id": 2, "meta": { - "_dd.p.tid": "6981be9a00000000", + "_dd.p.tid": "69e7a82200000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 1502250, - "start": 1770110618955986217 + "duration": 538000, + "start": 1776789538038080000 }, { "name": "aiohttp.request", @@ -75,18 +78,18 @@ "parent_id": 1, "type": "http", "meta": { - "_dd.p.tid": "6981be9a00000000", + "_dd.p.tid": "69e7a82200000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "202", "http.status_msg": "Accepted", - "http.url": "http://127.0.0.1:17071/durabletask/instances/c21ab90e7ff4450b846575faf21cae8d", + "http.url": "http://127.0.0.1:17071/durabletask/instances/85bd4673d0c042728048361061549c26", "out.host": "127.0.0.1", - "span.kind": "client", - "test.deployment_verification": "pmartinez-aiohttp-test-20260129" + "span.kind": "client" }, - "duration": 93368042, - "start": 1770110619114189384 + "duration": 8918000, + "start": 1776789538075123000 }, { "name": "TCPConnector.connect", @@ -96,11 +99,12 @@ "span_id": 6, "parent_id": 3, "meta": { - "_dd.p.tid": "6981be9a00000000", + "_dd.p.tid": "69e7a82200000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 512333, - "start": 1770110619114727676 + "duration": 443000, + "start": 1776789538075296000 }, { "name": "aiohttp.request", @@ -111,18 +115,18 @@ "parent_id": 1, "type": "http", "meta": { - "_dd.p.tid": "6981be9a00000000", + "_dd.p.tid": "69e7a82200000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", "http.status_msg": "OK", - "http.url": "http://127.0.0.1:17071/durabletask/instances/c21ab90e7ff4450b846575faf21cae8d", + "http.url": "http://127.0.0.1:17071/durabletask/instances/85bd4673d0c042728048361061549c26", "out.host": "127.0.0.1", - "span.kind": "client", - "test.deployment_verification": "pmartinez-aiohttp-test-20260129" + "span.kind": "client" }, - "duration": 19974625, - "start": 1770110620212754093 + "duration": 3331000, + "start": 1776789539085776000 }, { "name": "TCPConnector.connect", @@ -132,11 +136,12 @@ "span_id": 7, "parent_id": 4, "meta": { - "_dd.p.tid": "6981be9a00000000", + "_dd.p.tid": "69e7a82200000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 455375, - "start": 1770110620213090801 + "duration": 469000, + "start": 1776789539086037000 }], [ { @@ -149,20 +154,22 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6981be9b00000000", + "_dd.p.tid": "69e7a82200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "counter", "aas.function.trigger": "Entity", "component": "azure_functions", "language": "python", - "runtime-id": "196b6f9036a84b498173f93a69a578a0", + "runtime-id": "1b69241f081e4253a3da394677a05d74", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1802.0 + "process_id": 61271.0 }, - "duration": 448459, - "start": 1770110619491400759 + "duration": 227000, + "start": 1776789538153367000 }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json deleted file mode 100644 index cb987f5b0fe..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json +++ /dev/null @@ -1,70 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4200000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "b5a6803ffb024d98abf10c0d44995907", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50393.0 - }, - "duration": 12118875, - "start": 1776192834275016795 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4200000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "b5a6803ffb024d98abf10c0d44995907", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50393.0 - }, - "duration": 5349958, - "start": 1776192834288183254 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json deleted file mode 100644 index e94843757b4..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json +++ /dev/null @@ -1,208 +0,0 @@ -[[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3f00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "04367136055446e5bdc583525e524cf6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50380.0 - }, - "duration": 542042, - "start": 1776192831327356877 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3f00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "339ce1b3-aecb-4e1b-9ad4-d22d834d79a7", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "04367136055446e5bdc583525e524cf6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50380.0 - }, - "duration": 421292, - "start": 1776192831329648127 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3f00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "04367136055446e5bdc583525e524cf6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50380.0 - }, - "duration": 13380959, - "start": 1776192831330291877 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3f00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "04367136055446e5bdc583525e524cf6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50380.0 - }, - "duration": 132417, - "start": 1776192831343914044 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 4, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3f00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "e3e3a644-f1a1-47de-ae8e-7124b8891b79", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "04367136055446e5bdc583525e524cf6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50380.0 - }, - "duration": 203167, - "start": 1776192831344141252 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 5, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3f00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "04367136055446e5bdc583525e524cf6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50380.0 - }, - "duration": 5189334, - "start": 1776192831344430252 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json deleted file mode 100644 index 3ed86977b78..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json +++ /dev/null @@ -1,70 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3c00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "75d26090069845ffb21fe641e299ec3e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50367.0 - }, - "duration": 10563917, - "start": 1776192828489416251 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3c00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "75d26090069845ffb21fe641e299ec3e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50367.0 - }, - "duration": 7370125, - "start": 1776192828501123918 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json deleted file mode 100644 index d3937a56e22..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json +++ /dev/null @@ -1,210 +0,0 @@ -[[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3900000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "fd7825936b7d4975b28a5ae02789860e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50354.0 - }, - "duration": 1280375, - "start": 1776192825565209750 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3900000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "109ec711-4954-4098-98a2-b1ad8f258d44", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "fd7825936b7d4975b28a5ae02789860e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50354.0 - }, - "duration": 1846584, - "start": 1776192825567672416 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3900000000", - "_dd.span_links": "[{\"trace_id\": \"69de8d39000000008ebd943fcb68efae\", \"span_id\": \"de12968b630689ee\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d3900000000\", \"flags\": 1}, {\"trace_id\": \"69de8d3900000000881f6e5e8e30ece6\", \"span_id\": \"fda28ccc1b5dcdca\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d3900000000\", \"flags\": 1}]", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "fd7825936b7d4975b28a5ae02789860e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50354.0 - }, - "duration": 4736208, - "start": 1776192825569646208 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3900000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "fd7825936b7d4975b28a5ae02789860e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50354.0 - }, - "duration": 149417, - "start": 1776192825574503416 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 4, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3900000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "411494e1-4754-4ae1-b45e-3d5b9ae5be74", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "fd7825936b7d4975b28a5ae02789860e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50354.0 - }, - "duration": 142458, - "start": 1776192825574699083 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 5, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3900000000", - "_dd.span_links": "[{\"trace_id\": \"69de8d3900000000fa6b64a29d8d34d5\", \"span_id\": \"20dbeb1b93bafc0e\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d3900000000\", \"flags\": 1}, {\"trace_id\": \"69de8d3900000000dc30c6f3807481c3\", \"span_id\": \"aaeeea70118eccd8\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d3900000000\", \"flags\": 1}]", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "fd7825936b7d4975b28a5ae02789860e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50354.0 - }, - "duration": 2967709, - "start": 1776192825574879416 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json deleted file mode 100644 index ddc007f8831..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json +++ /dev/null @@ -1,160 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3600000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "3accc9d16fd64687a9c70d30e3c605bb", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50341.0 - }, - "duration": 499055834, - "start": 1776192822105185804 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 178750, - "start": 1776192822596435888 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "767fa003-14e9-46eb-abbc-8a69de360b64", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 143208, - "start": 1776192822596665763 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3600000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "3accc9d16fd64687a9c70d30e3c605bb", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50341.0 - }, - "duration": 3478500, - "start": 1776192822604731971 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 74083, - "start": 1776192822604820888 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "d825935e-cbaa-44f6-a961-7a82cb957d39", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 121292, - "start": 1776192822604917304 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json deleted file mode 100644 index a9bf2184c85..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json +++ /dev/null @@ -1,164 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "1ae737975a7c4c3eae69f9eb4cdee83d", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50328.0 - }, - "duration": 523822459, - "start": 1776192819007988344 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d3300000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 1096667, - "start": 1776192819518763636 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d3300000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "a460f4e2-d94a-4674-8413-b5c99b4e9fd2", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 411000, - "start": 1776192819520040678 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d3300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "1ae737975a7c4c3eae69f9eb4cdee83d", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50328.0 - }, - "duration": 5682583, - "start": 1776192819532528303 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d3300000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 241291, - "start": 1776192819532860678 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d3300000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "953805d3-34b6-435c-9709-6966f5b7a09d", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 293583, - "start": 1776192819533142136 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json deleted file mode 100644 index 5411c7d4c53..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json +++ /dev/null @@ -1,70 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2f00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "6905e78bb1dd4b42a20a6aa0c3d5856f", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50311.0 - }, - "duration": 10875292, - "start": 1776192815093397842 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2f00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "6905e78bb1dd4b42a20a6aa0c3d5856f", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50311.0 - }, - "duration": 3180583, - "start": 1776192815104957384 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json deleted file mode 100644 index 25d00e61426..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json +++ /dev/null @@ -1,208 +0,0 @@ -[[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2a00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "9eac12941b024f3c981ed71f61b4a117", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50294.0 - }, - "duration": 1509625, - "start": 1776192810565918465 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2a00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "4badf654-4e71-424b-983d-b61f211b455e", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "9eac12941b024f3c981ed71f61b4a117", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50294.0 - }, - "duration": 698750, - "start": 1776192810569970298 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2a00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "9eac12941b024f3c981ed71f61b4a117", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50294.0 - }, - "duration": 11882958, - "start": 1776192810571021507 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2a00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "9eac12941b024f3c981ed71f61b4a117", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50294.0 - }, - "duration": 121459, - "start": 1776192810583121548 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 4, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2a00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "0a5412bf-8770-41ee-951c-5459994e7985", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "9eac12941b024f3c981ed71f61b4a117", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50294.0 - }, - "duration": 197458, - "start": 1776192810583334090 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 5, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2a00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "9eac12941b024f3c981ed71f61b4a117", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50294.0 - }, - "duration": 5531166, - "start": 1776192810583638382 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json deleted file mode 100644 index 05d29589e26..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json +++ /dev/null @@ -1,70 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2500000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "fa54b3d95b3f416e8ab8d4674cee33c2", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50277.0 - }, - "duration": 34141250, - "start": 1776192805976837338 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2600000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "fa54b3d95b3f416e8ab8d4674cee33c2", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50277.0 - }, - "duration": 3388041, - "start": 1776192806011849255 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json deleted file mode 100644 index 297a4043c42..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json +++ /dev/null @@ -1,210 +0,0 @@ -[[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2100000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50260.0 - }, - "duration": 5343875, - "start": 1776192801333027169 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2100000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "98152b1c-85ff-4f17-8b60-f736342e43e1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50260.0 - }, - "duration": 711500, - "start": 1776192801339563919 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2100000000", - "_dd.span_links": "[{\"trace_id\": \"69de8d210000000008fca50f0d4e973f\", \"span_id\": \"df993e119c64097c\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d2100000000\", \"flags\": 1}, {\"trace_id\": \"69de8d21000000001513a58bd0b51573\", \"span_id\": \"295d5faaa13fe032\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d2100000000\", \"flags\": 1}]", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50260.0 - }, - "duration": 14008333, - "start": 1776192801340443919 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2100000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50260.0 - }, - "duration": 283542, - "start": 1776192801354755002 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 4, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2100000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "ccdaea5d-a938-4f48-b54e-5fa3a34690b7", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50260.0 - }, - "duration": 288167, - "start": 1776192801355127169 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 5, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d2100000000", - "_dd.span_links": "[{\"trace_id\": \"69de8d21000000008cb953c6dcd0b0c6\", \"span_id\": \"4160cd67d11c7050\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d2100000000\", \"flags\": 1}, {\"trace_id\": \"69de8d21000000002ba7f70df2682bfd\", \"span_id\": \"7832381cb58c2b01\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d2100000000\", \"flags\": 1}]", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "b63ccfe23949430f87838f44a18b8fc6", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50260.0 - }, - "duration": 4580291, - "start": 1776192801355725586 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json deleted file mode 100644 index 386a0df8263..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json +++ /dev/null @@ -1,210 +0,0 @@ -[[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d5700000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50461.0 - }, - "duration": 2228667, - "start": 1776192855212100430 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d5700000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "303b9d37-b5c7-4b47-a61e-7ed8053678fb", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50461.0 - }, - "duration": 670375, - "start": 1776192855216041639 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d5700000000", - "_dd.span_links": "[{\"trace_id\": \"69de8d570000000003d8d3b099d375d0\", \"span_id\": \"9c51a3e23aef32c6\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d5700000000\", \"flags\": 1}, {\"trace_id\": \"69de8d5700000000e175dd79945a9d71\", \"span_id\": \"a01790254839b25e\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d5700000000\", \"flags\": 1}]", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50461.0 - }, - "duration": 451122944, - "start": 1776192855216895514 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d5700000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50461.0 - }, - "duration": 505833, - "start": 1776192855668480125 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 4, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d5700000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "3cfaedcd-fe20-426a-8d83-ba906e30c948", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50461.0 - }, - "duration": 410583, - "start": 1776192855669117625 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 5, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d5700000000", - "_dd.span_links": "[{\"trace_id\": \"69de8d57000000006d448ef75bd870c7\", \"span_id\": \"2c7cb6b60a51514b\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d5700000000\", \"flags\": 1}, {\"trace_id\": \"69de8d57000000009d7b60cfcc222133\", \"span_id\": \"8dc0ef30181d5e16\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d5700000000\", \"flags\": 1}]", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "87a72e589ac043f2af736bcd21d53ad9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50461.0 - }, - "duration": 586916, - "start": 1776192855669680000 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json deleted file mode 100644 index b0436e3b17e..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json +++ /dev/null @@ -1,164 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d5000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "9c800134aa5747f2a66efefbd4372164", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50448.0 - }, - "duration": 963091834, - "start": 1776192848826961761 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d5000000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 519750, - "start": 1776192849330680969 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d5000000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "f8f633e2-1d55-4f04-acd3-3b30195ab237", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 289375, - "start": 1776192849331287053 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d5100000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "9c800134aa5747f2a66efefbd4372164", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50448.0 - }, - "duration": 935750, - "start": 1776192849790835886 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d5100000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 297417, - "start": 1776192849791129053 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d5100000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "7d59779e-5541-4195-b10f-de23a630644d", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 201542, - "start": 1776192849791472553 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json deleted file mode 100644 index 9df06029c6a..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json +++ /dev/null @@ -1,210 +0,0 @@ -[[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4a00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50427.0 - }, - "duration": 678666, - "start": 1776192842970114925 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4a00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "7865f461-ca90-4ba9-8733-12c4ccf66441", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50427.0 - }, - "duration": 1111250, - "start": 1776192842972166258 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4a00000000", - "_dd.span_links": "[{\"trace_id\": \"69de8d4a00000000a7c801ef4a0bdad7\", \"span_id\": \"14e85b458c232625\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d4a00000000\", \"flags\": 1}, {\"trace_id\": \"69de8d4a000000008e648c0b29995f00\", \"span_id\": \"33a23c8dc72069f8\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d4a00000000\", \"flags\": 1}]", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50427.0 - }, - "duration": 432831667, - "start": 1776192842973546966 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4b00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50427.0 - }, - "duration": 258500, - "start": 1776192843406638383 - }], -[ - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 4, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4b00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "bfbf82b6-6f78-4a81-817a-07ab3cff4985", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50427.0 - }, - "duration": 229500, - "start": 1776192843406966550 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 5, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4b00000000", - "_dd.span_links": "[{\"trace_id\": \"69de8d4b0000000028a7a70fefbd265c\", \"span_id\": \"1d870c1642cfc616\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d4b00000000\", \"flags\": 1}, {\"trace_id\": \"69de8d4b0000000064b76b88e3dd4d59\", \"span_id\": \"d7a257e7e80185ae\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69de8d4b00000000\", \"flags\": 1}]", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "f3db6bdef4b04589bcf590bb5cab0f60", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50427.0 - }, - "duration": 680417, - "start": 1776192843407257383 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json deleted file mode 100644 index f3a2c41b074..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json +++ /dev/null @@ -1,164 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4400000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "76868de3a34343378e91d87a23a06b67", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50406.0 - }, - "duration": 929108792, - "start": 1776192836945254047 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d4400000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 2262333, - "start": 1776192837426029964 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d4400000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "55a6d4bd-92ad-411c-8745-7b69c6c54416", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 849541, - "start": 1776192837428523964 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d4500000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "76868de3a34343378e91d87a23a06b67", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50406.0 - }, - "duration": 1237125, - "start": 1776192837874765214 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d4500000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 151125, - "start": 1776192837874970756 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d4500000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "9d8dfcd1-3462-4759-a1c5-c348349a2aae", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 168542, - "start": 1776192837875144964 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json deleted file mode 100644 index 349a62a0ab4..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json +++ /dev/null @@ -1,160 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d1d00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "7e4b295263514d6d9c6ba64bd0805035", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50243.0 - }, - "duration": 491765251, - "start": 1776192797259513625 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 310250, - "start": 1776192797743099626 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "0a98587a-e7d2-400b-8628-d918c48fd9eb", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 648834, - "start": 1776192797743502167 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d1d00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "7e4b295263514d6d9c6ba64bd0805035", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50243.0 - }, - "duration": 3568417, - "start": 1776192797751772209 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 74292, - "start": 1776192797751861292 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "88e5d9d7-3164-49cf-9eed-34ca05556894", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 111125, - "start": 1776192797751954876 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json deleted file mode 100644 index 067a2aac628..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json +++ /dev/null @@ -1,164 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d1800000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "4d78cf8eff1a46ccbf0fd4522706c769", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50226.0 - }, - "duration": 493537083, - "start": 1776192792719230763 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d1800000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 524333, - "start": 1776192793201355638 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d1800000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "7b901103-78d9-4740-83f7-6765dcadcbf7", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 345083, - "start": 1776192793201973388 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d1900000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.batch_count": "2", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "4d78cf8eff1a46ccbf0fd4522706c769", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50226.0 - }, - "duration": 5474959, - "start": 1776192793213721221 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d1900000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 253750, - "start": 1776192793213995221 - }, - { - "name": "azure.eventhubs.create", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.tid": "69de8d1900000000", - "_dd.svc_src": "m", - "component": "azure_eventhubs", - "messaging.destination.name": "eh1", - "messaging.message_id": "05805600-f1dc-47d9-810c-90cbf2068310", - "messaging.operation": "create", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "duration": 271625, - "start": 1776192793214286388 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json deleted file mode 100644 index 2e313cdce67..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json +++ /dev/null @@ -1,138 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0900000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "5eb00ed392104a0dafbc6f76c52023e1", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50180.0 - }, - "duration": 518541000, - "start": 1776192777176769172 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0900000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "6b9aa143-9f5a-4445-aa45-794d76d07b00", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "5eb00ed392104a0dafbc6f76c52023e1", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50180.0 - }, - "duration": 4953167, - "start": 1776192777695943672 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0900000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "5eb00ed392104a0dafbc6f76c52023e1", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50180.0 - }, - "duration": 4164750, - "start": 1776192777701071630 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0900000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "124eb4cd-2780-4a45-9c40-e4525e1ff440", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "5eb00ed392104a0dafbc6f76c52023e1", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50180.0 - }, - "duration": 3935917, - "start": 1776192777705366005 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json deleted file mode 100644 index 45a31dd2580..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json +++ /dev/null @@ -1,138 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0600000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "53819980ce7847e786838251a77b7da5", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50167.0 - }, - "duration": 522168834, - "start": 1776192774264835837 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0600000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "cf52cea9-b2cc-41c1-b74f-3d4215d05e3a", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "53819980ce7847e786838251a77b7da5", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50167.0 - }, - "duration": 6401750, - "start": 1776192774787852671 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0600000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "53819980ce7847e786838251a77b7da5", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50167.0 - }, - "duration": 4038625, - "start": 1776192774794404004 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0600000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "52b1858d-abd8-4a2d-b2fb-b549bde9cdd8", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "53819980ce7847e786838251a77b7da5", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50167.0 - }, - "duration": 4323584, - "start": 1776192774798597587 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json deleted file mode 100644 index fc9af127dc3..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json +++ /dev/null @@ -1,138 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d1200000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "baf803bb3aaa4c0e89d1c2c620b66bdd", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50213.0 - }, - "duration": 954525250, - "start": 1776192786654695135 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d1300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "007f5639-6c41-4a92-9c63-fa06ccd69450", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "baf803bb3aaa4c0e89d1c2c620b66bdd", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50213.0 - }, - "duration": 1407834, - "start": 1776192787611165093 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d1300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "baf803bb3aaa4c0e89d1c2c620b66bdd", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50213.0 - }, - "duration": 412000, - "start": 1776192787612736843 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d1300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "4296b41c-9b26-478d-807c-49a536359616", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "baf803bb3aaa4c0e89d1c2c620b66bdd", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50213.0 - }, - "duration": 421917, - "start": 1776192787613263343 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json deleted file mode 100644 index 727cf13ec27..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json +++ /dev/null @@ -1,138 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0c00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0c6cc28bc35d421c9bd0f0a05a67721e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50193.0 - }, - "duration": 918143834, - "start": 1776192780304947590 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0d00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "07da96f1-45f6-4b01-8b0b-85b56f339934", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0c6cc28bc35d421c9bd0f0a05a67721e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50193.0 - }, - "duration": 1210000, - "start": 1776192781223967465 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0d00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0c6cc28bc35d421c9bd0f0a05a67721e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50193.0 - }, - "duration": 439000, - "start": 1776192781225350924 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0d00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "0f961587-1008-4e50-b278-d212f3e1a65b", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0c6cc28bc35d421c9bd0f0a05a67721e", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50193.0 - }, - "duration": 311625, - "start": 1776192781225916257 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json deleted file mode 100644 index 39cda3e79d0..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json +++ /dev/null @@ -1,138 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0200000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0bea7340ff1946aaa03e9525d4f6fd26", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50150.0 - }, - "duration": 502296792, - "start": 1776192770896520377 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "fd0c4fca-8a34-4edf-921b-dfaae8b7e8e2", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0bea7340ff1946aaa03e9525d4f6fd26", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50150.0 - }, - "duration": 6107375, - "start": 1776192771400039836 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0bea7340ff1946aaa03e9525d4f6fd26", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50150.0 - }, - "duration": 5012334, - "start": 1776192771406351877 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d0300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "643cd5d4-4a2b-4df9-bba3-4eb4957c13fc", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0bea7340ff1946aaa03e9525d4f6fd26", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50150.0 - }, - "duration": 4033250, - "start": 1776192771411551252 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json deleted file mode 100644 index 1fbaa96acc2..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json +++ /dev/null @@ -1,138 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8cfe00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0c857cd8796446a886162c01f3c381f9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50133.0 - }, - "duration": 493697126, - "start": 1776192766320586958 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8cfe00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "df537619-8cbb-407a-b45b-f4f334063ac0", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0c857cd8796446a886162c01f3c381f9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50133.0 - }, - "duration": 6648291, - "start": 1776192766815355084 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8cfe00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0c857cd8796446a886162c01f3c381f9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50133.0 - }, - "duration": 4559791, - "start": 1776192766822209209 - }], -[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 3, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8cfe00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "azure_eventhubs", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.message_id": "d7b86d1c-cda8-430f-b9a3-22ec45d334d8", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "0c857cd8796446a886162c01f3c381f9", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50133.0 - }, - "duration": 7105916, - "start": 1776192766826897459 - }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json deleted file mode 100644 index 56cdd3d427f..00000000000 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json +++ /dev/null @@ -1,37 +0,0 @@ -[[ - { - "name": "azure.eventhubs.send", - "service": "azure_eventhubs", - "resource": "eh1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 1, - "meta": { - "_dd.base_service": "tests.contrib.azure_eventhubs", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de8d5b00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_eventhubs", - "component": "azure_eventhubs", - "error.message": "'EventData' object is not iterable", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/azure_eventhubs/patch.py\", line 176, in _patched_send_batch\n return wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.12/site-packages/azure/eventhub/_producer_client.py\", line 752, in send_batch\n batch, pid, pkey = self._batch_preparer(\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.12/site-packages/azure/eventhub/_producer_client.py\", line 293, in _batch_preparer\n to_send_batch._load_events( # pylint:disable=protected-access\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.12/site-packages/azure/eventhub/_common.py\", line 622, in _load_events\n for event_data in events:\n ^^^^^^\nTypeError: 'EventData' object is not iterable\n", - "error.type": "builtins.TypeError", - "language": "python", - "messaging.destination.name": "eh1", - "messaging.operation": "send", - "messaging.system": "eventhubs", - "network.destination.name": "localhost", - "runtime-id": "044632d074d64488bd74ef11c9fbcc37", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 50128.0 - }, - "duration": 500723250, - "start": 1776192859391740043 - }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_distributed_tracing[disabled].json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_distributed_tracing[disabled].json index a3fc9444958..14b1d3f23be 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_distributed_tracing[disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_distributed_tracing[disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ee7500000000", + "_dd.p.tid": "69e7b38100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_root", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/httpgetroot", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "a61f9ebe0c4242fb80af0faa1d9e4069", + "runtime-id": "f0be6a2a10de4ee0a20abca8af5bec11", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38127.0 + "process_id": 74558.0 }, - "duration": 113403750, - "start": 1772482165446939547 + "duration": 120611000, + "start": 1776792449435902000 }, { "name": "requests.request", @@ -54,8 +56,8 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 109826292, - "start": 1772482165450292380 + "duration": 25670000, + "start": 1776792449530673000 }], [ { @@ -68,7 +70,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ee7500000000", + "_dd.p.tid": "69e7b38100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_child", "aas.function.trigger": "Http", "component": "azure_functions", @@ -78,15 +82,15 @@ "http.url": "http://localhost:7071/api/httpgetchild", "http.useragent": "python-requests/x.xx.x", "language": "python", - "runtime-id": "a61f9ebe0c4242fb80af0faa1d9e4069", + "runtime-id": "f0be6a2a10de4ee0a20abca8af5bec11", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38127.0 + "process_id": 74558.0 }, - "duration": 170000, - "start": 1772482165468827922 + "duration": 144000, + "start": 1776792449535190000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_distributed_tracing[enabled].json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_distributed_tracing[enabled].json index 885d8ea2880..4eb54873b33 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_distributed_tracing[enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_distributed_tracing[enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69a5ee6900000000", + "_dd.p.tid": "69e7b37b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_root", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/httpgetroot", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "9e201ee5d42a461ba76d2d71b9bd10ee", + "runtime-id": "3c2d3341bcbb4ac598615be475e047e5", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 37514.0 + "process_id": 74516.0 }, - "duration": 103149625, - "start": 1772482153901778014 + "duration": 109479000, + "start": 1776792443628287000 }, { "name": "requests.request", @@ -54,8 +56,8 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 99076834, - "start": 1772482153905629430 + "duration": 19512000, + "start": 1776792443718117000 }, { "name": "azure.functions.invoke", @@ -66,7 +68,8 @@ "parent_id": 2, "type": "serverless", "meta": { - "_dd.p.tid": "69a5ee6900000000", + "_dd.p.tid": "69e7b37b00000000", + "_dd.svc_src": "m", "aas.function.name": "http_get_child", "aas.function.trigger": "Http", "component": "azure_functions", @@ -75,13 +78,13 @@ "http.status_code": "200", "http.url": "http://localhost:7071/api/httpgetchild", "http.useragent": "python-requests/x.xx.x", - "runtime-id": "9e201ee5d42a461ba76d2d71b9bd10ee", + "runtime-id": "3c2d3341bcbb4ac598615be475e047e5", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 37514.0 + "process_id": 74516.0 }, - "duration": 151875, - "start": 1772482153924515555 + "duration": 144000, + "start": 1776792443722510000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_error.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_error.json index 4e0cf3e81b1..e13273d3c49 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_error.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_error.json @@ -10,27 +10,29 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6750ad8500000000", + "_dd.p.tid": "69e7b35c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_error", "aas.function.trigger": "Http", "component": "azure_functions", "error.message": "Test Error", - "error.stack": "Traceback (most recent call last):\n File \"/root/project/ddtrace/contrib/internal/azure_functions/patch.py\", line 65, in wrap_function\n res = func(req)\n ^^^^^^^^^\n File \"/root/project/tests/contrib/azure_functions/azure_function_app/function_app.py\", line 19, in http_get_error\n raise Exception(\"Test Error\")\nException: Test Error\n", + "error.stack": "Traceback (most recent call last):\n File \"/Users/rithika.narayan/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/azure_functions/shared.py\", line 72, in wrapper\n res = func(*args, **kwargs)\n File \"/Users/rithika.narayan/go/src/github.com/DataDog/dd-trace-py/tests/contrib/azure_functions/azure_function_app/function_app.py\", line 24, in http_get_error\n raise Exception(\"Test Error\")\nException: Test Error\n", "error.type": "builtins.Exception", "http.method": "GET", "http.route": "/api/httpgeterror", "http.url": "http://0.0.0.0:7071/api/httpgeterror", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "d7efb82603894b91af0e18f95bfb40ce", + "runtime-id": "8068d2069e7549b1b447df1e8d8e03d5", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 98042 + "_sampling_priority_v1": 1.0, + "process_id": 74293.0 }, - "duration": 3862875, - "start": 1733340549814399761 + "duration": 413000, + "start": 1776792412156684000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_decorator.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_decorator.json index ade66c73082..9ad2bb64940 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_decorator.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_decorator.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67ed73d100000000", + "_dd.p.tid": "69e7b36b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "functionnamedecorator", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,15 +21,15 @@ "http.url": "http://0.0.0.0:7071/api/httpgetfunctionnamedecorator", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "abb028b298ac4062bfdcd63017f561dd", + "runtime-id": "c0e21ecc0a6c474fa819a237ed30b69f", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 49360 + "_sampling_priority_v1": 1.0, + "process_id": 74385.0 }, - "duration": 333083, - "start": 1743614929143607588 + "duration": 179000, + "start": 1776792427500044000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_decorator_order.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_decorator_order.json index 862fdd51892..22330c23090 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_decorator_order.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_decorator_order.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "684055f800000000", + "_dd.p.tid": "69e7b37600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "functionnamedecoratororder", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,15 +21,15 @@ "http.url": "http://0.0.0.0:7071/api/httpgetfunctionnamedecoratororder", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "e0b373739eb742d29f13fdb6cb71a98e", + "runtime-id": "a20708cc764047e5af6d65f6a9f89532", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 53880 + "_sampling_priority_v1": 1.0, + "process_id": 74480.0 }, - "duration": 278416, - "start": 1749046776355682801 + "duration": 181000, + "start": 1776792438931772000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_no_decorator.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_no_decorator.json index 18a157a79a3..d0c52a356e9 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_no_decorator.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_function_name_no_decorator.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67ed73ed00000000", + "_dd.p.tid": "69e7b37100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_function_name_no_decorator", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,15 +21,15 @@ "http.url": "http://0.0.0.0:7071/api/httpgetfunctionnamenodecorator", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "a78a08024ea645769371ab213a630386", + "runtime-id": "3199909adacc4dd794ac0f352fe19457", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 51797 + "_sampling_priority_v1": 1.0, + "process_id": 74438.0 }, - "duration": 315583, - "start": 1743614957641418296 + "duration": 190000, + "start": 1776792433225372000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok.json index 415678e4dec..c19e83dc9b8 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6750ad7d00000000", + "_dd.p.tid": "69e7b34900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_ok", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,15 +21,15 @@ "http.url": "http://0.0.0.0:7071/api/httpgetok?key=val", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "2dd77b70098048f5a6b7d3a7d53d1082", + "runtime-id": "3b714d6672ea4d0cbb6a9453594fc248", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96455 + "_sampling_priority_v1": 1.0, + "process_id": 74190.0 }, - "duration": 1160792, - "start": 1733340541444015424 + "duration": 194000, + "start": 1776792393279715000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_async.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_async.json index 5c52d4537aa..cb1f171a538 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_async.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_async.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "680bbffe00000000", + "_dd.p.tid": "69e7b34d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_ok_async", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,15 +21,15 @@ "http.url": "http://0.0.0.0:7071/api/httpgetokasync?key=val", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "dc1bd0201db346a887fac16721f3b0e5", + "runtime-id": "719cac9ff1e54b36ac6d340dbcf16a5a", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 17518 + "_sampling_priority_v1": 1.0, + "process_id": 74214.0 }, - "duration": 794292, - "start": 1745600510630485377 + "duration": 187000, + "start": 1776792397998389000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_async_obfuscated.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_async_obfuscated.json index 2bf590177ff..53056175bf5 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_async_obfuscated.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_async_obfuscated.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68135c0400000000", + "_dd.p.tid": "69e7b35700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_ok_async", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,15 +21,15 @@ "http.url": "http://0.0.0.0:7071/api/httpgetokasync?", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "7edd9974ae834236be55679427d26dd1", + "runtime-id": "09380f08d18d49afab1a502eb9c70bb9", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 6118 + "_sampling_priority_v1": 1.0, + "process_id": 74259.0 }, - "duration": 744750, - "start": 1746099204097478012 + "duration": 181000, + "start": 1776792407439882000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_obfuscated.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_obfuscated.json index bfbab1e7e32..8cb2aa1cf4d 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_obfuscated.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_ok_obfuscated.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68135be100000000", + "_dd.p.tid": "69e7b35200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_ok", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,15 +21,15 @@ "http.url": "http://0.0.0.0:7071/api/httpgetok?", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "bebb19bc0290454d80b19e0ee5a4546e", + "runtime-id": "65f75a094e034e73aeb2c646c362fb82", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 3676 + "_sampling_priority_v1": 1.0, + "process_id": 74240.0 }, - "duration": 902208, - "start": 1746099169732256385 + "duration": 189000, + "start": 1776792402723669000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_trigger_arg.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_trigger_arg.json index 49dc038242b..200939683a0 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_trigger_arg.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_get_trigger_arg.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67ec4e5e00000000", + "_dd.p.tid": "69e7b36600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_get_trigger_arg", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,15 +21,15 @@ "http.url": "http://0.0.0.0:7071/api/httpgettriggerarg", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "8d8fe775192b47b6b8cc67c801687aef", + "runtime-id": "01ff9928a0a94a5db54feed3d4c1cb62", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 66098 + "_sampling_priority_v1": 1.0, + "process_id": 74356.0 }, - "duration": 282750, - "start": 1743539806219103595 + "duration": 176000, + "start": 1776792422762918000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_post_ok.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_post_ok.json index 44c0491b7a7..043c5069a95 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_post_ok.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_http_post_ok.json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "6750ad8e00000000", + "_dd.p.tid": "69e7b36200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "http_post_ok", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,15 +21,15 @@ "http.url": "http://0.0.0.0:7071/api/httppostok", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "891babf5be3d4b86bd44163cd50c74b0", + "runtime-id": "5b62bc46182d4e318c0df195b952b84d", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 99631 + "_sampling_priority_v1": 1.0, + "process_id": 74324.0 }, - "duration": 293958, - "start": 1733340558198232376 + "duration": 177000, + "start": 1776792418036392000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_timer.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_timer.json index bc544bdea9f..dd1200bb61b 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_timer.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_timer.json @@ -9,20 +9,22 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "67ed8ced00000000", + "_dd.p.tid": "69e7b38600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "timer", "aas.function.trigger": "Timer", "component": "azure_functions", "language": "python", - "runtime-id": "c20075ab351244ed9d9d5e688777e0b1", + "runtime-id": "1a1bb8a423544f12a9506c23dbee81dd", "span.kind": "internal" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 30417 + "_sampling_priority_v1": 1.0, + "process_id": 74610.0 }, - "duration": 548917, - "start": 1743621357729982629 + "duration": 179000, + "start": 1776792454288123000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_timer_async.json b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_timer_async.json index 0fdbead27f4..39013a72856 100644 --- a/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_timer_async.json +++ b/tests/snapshots/tests.contrib.azure_functions.test_azure_functions_snapshot.test_timer_async.json @@ -9,20 +9,22 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "680bbf7f00000000", + "_dd.p.tid": "69e7b38a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "timer_async", "aas.function.trigger": "Timer", "component": "azure_functions", "language": "python", - "runtime-id": "60d7e0785b414408a3dafc9fb92d939e", + "runtime-id": "9243f2deb41342d3808ddb13f194548c", "span.kind": "internal" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7776 + "_sampling_priority_v1": 1.0, + "process_id": 74632.0 }, - "duration": 193000, - "start": 1745600383620687347 + "duration": 102000, + "start": 1776792458957931000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json b/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json index 106b34158bf..458f0d11db7 100644 --- a/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json +++ b/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json @@ -8,26 +8,26 @@ "parent_id": 0, "type": "serverless", "meta": { - "_dd.base_service": "x64", + "_dd.base_service": "arm64", "_dd.p.dm": "-0", - "_dd.p.tid": "69c599ce00000000", + "_dd.p.tid": "69e7b25000000000", "_dd.svc_src": "azure_functions", - "_dd.tags.process": "entrypoint.basedir:x64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:x64", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "cosmosdbtrigger", "aas.function.trigger": "CosmosDB", "component": "azure_functions", "language": "python", - "runtime-id": "7ee6c4dc0cc54287bb345711236faa28", + "runtime-id": "b4466c8d38ff4d15a7a9ac5d4c12ff4e", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 2481.0 + "process_id": 72698.0 }, - "duration": 975417, - "start": 1774557646838291758 + "duration": 88000, + "start": 1776792144007486000 }], [ { @@ -39,11 +39,11 @@ "parent_id": 0, "type": "serverless", "meta": { - "_dd.base_service": "x64", + "_dd.base_service": "arm64", "_dd.p.dm": "-0", - "_dd.p.tid": "69c599ca00000000", + "_dd.p.tid": "69e7b24b00000000", "_dd.svc_src": "azure_functions", - "_dd.tags.process": "entrypoint.basedir:x64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:x64", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "UpsertItem", "aas.function.trigger": "Http", "component": "azure_functions", @@ -53,17 +53,17 @@ "http.url": "http://0.0.0.0:7071/api/upsert_item", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "7ee6c4dc0cc54287bb345711236faa28", + "runtime-id": "b4466c8d38ff4d15a7a9ac5d4c12ff4e", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 2481.0 + "process_id": 72698.0 }, - "duration": 74000875, - "start": 1774557642246782798 + "duration": 62033000, + "start": 1776792139664203000 }, { "name": "cosmosdb.query", @@ -74,18 +74,19 @@ "parent_id": 1, "type": "cosmosdb", "meta": { - "_dd.base_service": "x64", + "_dd.base_service": "arm64", + "_dd.svc_src": "m", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "documents", "db.name": "documents-db", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.15.0 Python/3.11.13 (Linux-6.12.67-linuxkit-x86_64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.11.9 (macOS-15.7.2-arm64-arm-64bit)", "out.host": "http://localhost:8081/", "span.kind": "client" }, - "duration": 2862417, - "start": 1774557642312352881 + "duration": 4216000, + "start": 1776792139713676000 }, { "name": "cosmosdb.query", @@ -96,16 +97,17 @@ "parent_id": 1, "type": "cosmosdb", "meta": { - "_dd.base_service": "x64", + "_dd.base_service": "arm64", + "_dd.svc_src": "m", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "documents", "db.name": "documents-db", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.15.0 Python/3.11.13 (Linux-6.12.67-linuxkit-x86_64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.11.9 (macOS-15.7.2-arm64-arm-64bit)", "out.host": "http://localhost:8081/", "span.kind": "client" }, - "duration": 4614709, - "start": 1774557642315624839 + "duration": 7847000, + "start": 1776792139718114000 }]] From 1dd78eba1c9ccdfd49571d4cab36cf5b518c9d09 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 21 Apr 2026 14:59:57 -0700 Subject: [PATCH 055/114] locks, suitespec --- .riot/requirements/145ed9e.txt | 28 ---------------------------- .riot/requirements/1e60e3c.txt | 28 ---------------------------- .riot/requirements/1e62aea.txt | 30 ------------------------------ .riot/requirements/c2420c2.txt | 30 ------------------------------ tests/contrib/suitespec.yml | 2 -- 5 files changed, 118 deletions(-) delete mode 100644 .riot/requirements/145ed9e.txt delete mode 100644 .riot/requirements/1e60e3c.txt delete mode 100644 .riot/requirements/1e62aea.txt delete mode 100644 .riot/requirements/c2420c2.txt diff --git a/.riot/requirements/145ed9e.txt b/.riot/requirements/145ed9e.txt deleted file mode 100644 index b50f3b331e7..00000000000 --- a/.riot/requirements/145ed9e.txt +++ /dev/null @@ -1,28 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# pip-compile --allow-unsafe --no-annotate .riot/requirements/145ed9e.in -# -attrs==25.3.0 -azure-functions==1.10.1 -certifi==2025.8.3 -charset-normalizer==3.4.3 -coverage[toml]==7.10.6 -exceptiongroup==1.3.0 -hypothesis==6.45.0 -idna==3.10 -iniconfig==2.1.0 -mock==5.2.0 -opentracing==2.4.0 -packaging==25.0 -pluggy==1.6.0 -pygments==2.19.2 -pytest==8.4.2 -pytest-cov==7.0.0 -pytest-mock==3.15.0 -requests==2.32.5 -sortedcontainers==2.4.0 -tomli==2.2.1 -typing-extensions==4.15.0 -urllib3==2.5.0 diff --git a/.riot/requirements/1e60e3c.txt b/.riot/requirements/1e60e3c.txt deleted file mode 100644 index 3c6fe32e5d6..00000000000 --- a/.riot/requirements/1e60e3c.txt +++ /dev/null @@ -1,28 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile --allow-unsafe --no-annotate .riot/requirements/1e60e3c.in -# -attrs==25.3.0 -azure-functions==1.10.1 -certifi==2025.8.3 -charset-normalizer==3.4.3 -coverage[toml]==7.10.6 -exceptiongroup==1.3.0 -hypothesis==6.45.0 -idna==3.10 -iniconfig==2.1.0 -mock==5.2.0 -opentracing==2.4.0 -packaging==25.0 -pluggy==1.6.0 -pygments==2.19.2 -pytest==8.4.2 -pytest-cov==7.0.0 -pytest-mock==3.15.0 -requests==2.32.5 -sortedcontainers==2.4.0 -tomli==2.2.1 -typing-extensions==4.15.0 -urllib3==2.5.0 diff --git a/.riot/requirements/1e62aea.txt b/.riot/requirements/1e62aea.txt deleted file mode 100644 index 42a8f487e92..00000000000 --- a/.riot/requirements/1e62aea.txt +++ /dev/null @@ -1,30 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile --allow-unsafe --no-annotate .riot/requirements/1e62aea.in -# -attrs==25.3.0 -azure-functions==1.23.0 -certifi==2025.8.3 -charset-normalizer==3.4.3 -coverage[toml]==7.10.6 -exceptiongroup==1.3.0 -hypothesis==6.45.0 -idna==3.10 -iniconfig==2.1.0 -markupsafe==3.0.2 -mock==5.2.0 -opentracing==2.4.0 -packaging==25.0 -pluggy==1.6.0 -pygments==2.19.2 -pytest==8.4.2 -pytest-cov==7.0.0 -pytest-mock==3.15.0 -requests==2.32.5 -sortedcontainers==2.4.0 -tomli==2.2.1 -typing-extensions==4.15.0 -urllib3==2.5.0 -werkzeug==3.1.3 diff --git a/.riot/requirements/c2420c2.txt b/.riot/requirements/c2420c2.txt deleted file mode 100644 index af6d5069725..00000000000 --- a/.riot/requirements/c2420c2.txt +++ /dev/null @@ -1,30 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# pip-compile --allow-unsafe --no-annotate .riot/requirements/c2420c2.in -# -attrs==25.3.0 -azure-functions==1.23.0 -certifi==2025.8.3 -charset-normalizer==3.4.3 -coverage[toml]==7.10.6 -exceptiongroup==1.3.0 -hypothesis==6.45.0 -idna==3.10 -iniconfig==2.1.0 -markupsafe==3.0.2 -mock==5.2.0 -opentracing==2.4.0 -packaging==25.0 -pluggy==1.6.0 -pygments==2.19.2 -pytest==8.4.2 -pytest-cov==7.0.0 -pytest-mock==3.15.0 -requests==2.32.5 -sortedcontainers==2.4.0 -tomli==2.2.1 -typing-extensions==4.15.0 -urllib3==2.5.0 -werkzeug==3.1.3 diff --git a/tests/contrib/suitespec.yml b/tests/contrib/suitespec.yml index 26704d08dde..01f8ff2e851 100644 --- a/tests/contrib/suitespec.yml +++ b/tests/contrib/suitespec.yml @@ -1,4 +1,3 @@ ---- components: aiohttp: - ddtrace/contrib/aiohttp.py @@ -410,7 +409,6 @@ suites: - '@tracing' - '@azure_eventhubs' - tests/contrib/azure_eventhubs/* - - tests/snapshots/tests.contrib.azure_eventhubs.* snapshot: true services: - azurite From 8eeac5b5d9e96f409126a8d4226be88b2bb0d872 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 22 Apr 2026 12:41:28 -0700 Subject: [PATCH 056/114] revert functions:cosmos snapshot change --- tests/contrib/suitespec.yml | 3 ++ ...unctions_snapshot.test_cosmos_trigger.json | 44 +++++++++---------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/tests/contrib/suitespec.yml b/tests/contrib/suitespec.yml index 01f8ff2e851..f71d983e36d 100644 --- a/tests/contrib/suitespec.yml +++ b/tests/contrib/suitespec.yml @@ -426,6 +426,9 @@ suites: snapshot: true services: - azurite + # the azure_functions suites don't work in the arm64 testrunner container + # (the one that runs from scripts/ddtest on Mac OS) + # they can be run on OSX bare metal after `brew tap azure/functions && brew install azure-functions-core-tools@4` azure_functions: parallelism: 4 paths: diff --git a/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json b/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json index 458f0d11db7..6f7a19c7ce4 100644 --- a/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json +++ b/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json @@ -8,26 +8,26 @@ "parent_id": 0, "type": "serverless", "meta": { - "_dd.base_service": "arm64", + "_dd.base_service": "x64", "_dd.p.dm": "-0", - "_dd.p.tid": "69e7b25000000000", + "_dd.p.tid": "69e922f700000000", "_dd.svc_src": "azure_functions", - "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", + "_dd.tags.process": "entrypoint.basedir:x64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:x64", "aas.function.name": "cosmosdbtrigger", "aas.function.trigger": "CosmosDB", "component": "azure_functions", "language": "python", - "runtime-id": "b4466c8d38ff4d15a7a9ac5d4c12ff4e", + "runtime-id": "7afbf223626040978acf659312ae2ecd", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 72698.0 + "process_id": 50064.0 }, - "duration": 88000, - "start": 1776792144007486000 + "duration": 107000, + "start": 1776886519462165000 }], [ { @@ -39,11 +39,11 @@ "parent_id": 0, "type": "serverless", "meta": { - "_dd.base_service": "arm64", + "_dd.base_service": "x64", "_dd.p.dm": "-0", - "_dd.p.tid": "69e7b24b00000000", + "_dd.p.tid": "69e922f300000000", "_dd.svc_src": "azure_functions", - "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", + "_dd.tags.process": "entrypoint.basedir:x64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:x64", "aas.function.name": "UpsertItem", "aas.function.trigger": "Http", "component": "azure_functions", @@ -53,17 +53,17 @@ "http.url": "http://0.0.0.0:7071/api/upsert_item", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "b4466c8d38ff4d15a7a9ac5d4c12ff4e", + "runtime-id": "7afbf223626040978acf659312ae2ecd", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 72698.0 + "process_id": 50064.0 }, - "duration": 62033000, - "start": 1776792139664203000 + "duration": 82472000, + "start": 1776886515100079000 }, { "name": "cosmosdb.query", @@ -74,19 +74,19 @@ "parent_id": 1, "type": "cosmosdb", "meta": { - "_dd.base_service": "arm64", + "_dd.base_service": "x64", "_dd.svc_src": "m", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "documents", "db.name": "documents-db", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.11.9 (macOS-15.7.2-arm64-arm-64bit)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.2-arm64-arm-64bit)", "out.host": "http://localhost:8081/", "span.kind": "client" }, - "duration": 4216000, - "start": 1776792139713676000 + "duration": 7789000, + "start": 1776886515167916000 }, { "name": "cosmosdb.query", @@ -97,17 +97,17 @@ "parent_id": 1, "type": "cosmosdb", "meta": { - "_dd.base_service": "arm64", + "_dd.base_service": "x64", "_dd.svc_src": "m", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "documents", "db.name": "documents-db", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.11.9 (macOS-15.7.2-arm64-arm-64bit)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.2-arm64-arm-64bit)", "out.host": "http://localhost:8081/", "span.kind": "client" }, - "duration": 7847000, - "start": 1776792139718114000 + "duration": 6326000, + "start": 1776886515175958000 }]] From cba86f161ac301e0ed62c941aa9effa6dc6a7df9 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 22 Apr 2026 13:11:34 -0700 Subject: [PATCH 057/114] update azure_functions:eventhubs snapshots --- ...me_many_distributed_tracing_disabled].json | 59 +++++++------ ...ume_many_distributed_tracing_enabled].json | 85 +++++++++--------- ...ume_one_distributed_tracing_disabled].json | 43 +++++---- ...sume_one_distributed_tracing_enabled].json | 49 ++++++----- ...me_many_distributed_tracing_disabled].json | 59 +++++++------ ...ume_many_distributed_tracing_enabled].json | 85 +++++++++--------- ...ume_one_distributed_tracing_disabled].json | 43 +++++---- ...sume_one_distributed_tracing_enabled].json | 87 +++---------------- ...me_many_distributed_tracing_disabled].json | 59 +++++++------ ...ume_many_distributed_tracing_enabled].json | 85 +++++++++--------- ...ume_one_distributed_tracing_disabled].json | 43 +++++---- ...sume_one_distributed_tracing_enabled].json | 49 ++++++----- ...me_many_distributed_tracing_disabled].json | 59 +++++++------ ...ume_many_distributed_tracing_enabled].json | 85 +++++++++--------- ...ume_one_distributed_tracing_disabled].json | 43 +++++---- ...sume_one_distributed_tracing_enabled].json | 49 ++++++----- 16 files changed, 502 insertions(+), 480 deletions(-) diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json index e1774f90346..edcb9825846 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c4448800000000", + "_dd.p.tid": "69e92a2700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/queuesendmessagebatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "c9093bcc39cf49438447885b9e88eeb6", + "runtime-id": "3629dc59a41543c6b1b68be0f781ebf5", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24547 + "_sampling_priority_v1": 1.0, + "process_id": 30097.0 }, - "duration": 1027379959, - "start": 1757693064664656877 + "duration": 1027146000, + "start": 1776888359722446000 }, { "name": "azure.servicebus.create", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "4fe806b4-a7e8-4784-856c-8d51361ebcdb", + "messaging.message_id": "625edaab-9b17-4b54-b374-296ac0a76031", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 1471333, - "start": 1757693065176034377 + "duration": 414000, + "start": 1776888360247358000 }, { "name": "azure.servicebus.create", @@ -65,20 +68,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c4448800000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "f83ae125-a10a-437e-bab7-55d62d1ad48b", + "messaging.message_id": "e90c03fb-a678-4695-afd6-084fcb445405", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 259208, - "start": 1757693065178186252 + "duration": 103000, + "start": 1776888360247938000 }, { "name": "azure.servicebus.send", @@ -90,7 +93,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c4448800000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "queue.1", @@ -100,10 +103,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 7187625, - "start": 1757693065178551794 + "duration": 11817000, + "start": 1776888360248107000 }], [ { @@ -116,7 +119,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c4448900000000", + "_dd.p.tid": "69e92a2800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", "component": "azure_functions", @@ -126,15 +131,15 @@ "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "c9093bcc39cf49438447885b9e88eeb6", + "runtime-id": "3629dc59a41543c6b1b68be0f781ebf5", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24547 + "_sampling_priority_v1": 1.0, + "process_id": 30097.0 }, - "duration": 159750, - "start": 1757693065323525502 + "duration": 185000, + "start": 1776888360322364000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json index e6706d7d5ed..69a5a435b94 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c4447d00000000", + "_dd.p.tid": "69e92a1d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/queuesendmessagebatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "9994c89dd23f45c3a338314a1ada910e", + "runtime-id": "5ab0d506571f4a8eaa24cc5eefaf0e52", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24153 + "_sampling_priority_v1": 1.0, + "process_id": 28651.0 }, - "duration": 1026084917, - "start": 1757693053712524928 + "duration": 1027726000, + "start": 1776888349450016000 }, { "name": "azure.servicebus.create", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "f0849b12-776c-4fee-94f8-a8dd6ec47942", + "messaging.message_id": "49fe487d-4031-44e5-a6d3-321dd79a24c2", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 4526209, - "start": 1757693054216085844 + "duration": 695000, + "start": 1776888349970679000 }, { "name": "azure.servicebus.create", @@ -65,20 +68,21 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c4447d00000000", + "_dd.p.tid": "69e92a1d00000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "c95d409f-c354-446d-8215-0d55c0f59f74", + "messaging.message_id": "ee386ae4-d86d-4947-ba50-bb471d1ba8f2", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 681000, - "start": 1757693054222520219 + "duration": 167000, + "start": 1776888349971529000 }, { "name": "azure.servicebus.send", @@ -90,7 +94,8 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c4447d00000000", + "_dd.p.tid": "69e92a1d00000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "queue.1", @@ -100,26 +105,26 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677347598434304, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c4447d00000000", - "flags": 2147483649, - "trace_id_high": 7549234179041394688 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a1d00000000", + "flags": 2147483649 }, { "trace_id": 0, + "trace_id_high": 7631677347598434304, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c4447d00000000", - "flags": 2147483649, - "trace_id_high": 7549234179041394688 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a1d00000000", + "flags": 2147483649 } ], - "duration": 14731042, - "start": 1757693054223442386 + "duration": 12324000, + "start": 1776888349971765000 }], [ { @@ -132,7 +137,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c4447e00000000", + "_dd.p.tid": "69e92a1e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", "component": "azure_functions", @@ -142,31 +149,31 @@ "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "9994c89dd23f45c3a338314a1ada910e", + "runtime-id": "5ab0d506571f4a8eaa24cc5eefaf0e52", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 24153 + "_sampling_priority_v1": 1.0, + "process_id": 28651.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677347598434304, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c4447d00000000", - "flags": 2147483649, - "trace_id_high": 7549234179041394688 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a1d00000000", + "flags": 2147483649 }, { "trace_id": 0, + "trace_id_high": 7631677347598434304, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c4447d00000000", - "flags": 2147483649, - "trace_id_high": 7549234179041394688 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a1d00000000", + "flags": 2147483649 } ], - "duration": 393792, - "start": 1757693054374546636 + "duration": 301000, + "start": 1776888350042620000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json index f3427e4c6b5..a33140706e1 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c4447200000000", + "_dd.p.tid": "69e92a1200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/queuesendmessagesingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "9186ba5464c44eaaa9d6781d31ada4d1", + "runtime-id": "12dc4c2f7ee842638618337842b3d1b3", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23755 + "_sampling_priority_v1": 1.0, + "process_id": 27223.0 }, - "duration": 1025866250, - "start": 1757693042734824464 + "duration": 1029999000, + "start": 1776888338664306000 }, { "name": "azure.servicebus.send", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "d5ffac2a-b39a-4039-840d-f6590ea0e1f5", + "messaging.message_id": "5875e14f-989b-46d4-bf84-5d252add32f5", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 8549708, - "start": 1757693043245823006 + "duration": 12481000, + "start": 1776888339187185000 }], [ { @@ -66,25 +69,27 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c4447300000000", + "_dd.p.tid": "69e92a1300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", "component": "azure_functions", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "d5ffac2a-b39a-4039-840d-f6590ea0e1f5", + "messaging.message_id": "5875e14f-989b-46d4-bf84-5d252add32f5", "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "9186ba5464c44eaaa9d6781d31ada4d1", + "runtime-id": "12dc4c2f7ee842638618337842b3d1b3", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23755 + "_sampling_priority_v1": 1.0, + "process_id": 27223.0 }, - "duration": 150458, - "start": 1757693043343096756 + "duration": 198000, + "start": 1776888339232385000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json index fdba68ffdf5..c727f0786d7 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c4446700000000", + "_dd.p.tid": "69e92a0700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/queuesendmessagesingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "8f96ac6bc65540329e7b9bad89695f6d", + "runtime-id": "529a24af6ca7479ab44ed0c14c1a92ac", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23359 + "_sampling_priority_v1": 1.0, + "process_id": 25581.0 }, - "duration": 1030611251, - "start": 1757693031621019500 + "duration": 1029268000, + "start": 1776888327847838000 }, { "name": "azure.servicebus.send", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "9ede8e39-740a-453b-bd4c-7f41432d9ce6", + "messaging.message_id": "22d20676-5b23-4738-8d59-9d27f9ecf1a1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 7591917, - "start": 1757693032131878334 + "duration": 25176000, + "start": 1776888328377574000 }], [ { @@ -66,34 +69,36 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c4446800000000", + "_dd.p.tid": "69e92a0800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", "component": "azure_functions", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "9ede8e39-740a-453b-bd4c-7f41432d9ce6", + "messaging.message_id": "22d20676-5b23-4738-8d59-9d27f9ecf1a1", "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "8f96ac6bc65540329e7b9bad89695f6d", + "runtime-id": "529a24af6ca7479ab44ed0c14c1a92ac", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 23359 + "_sampling_priority_v1": 1.0, + "process_id": 25581.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677253109153792, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c4446700000000", - "flags": 2147483649, - "trace_id_high": 7549234084552114176 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a0700000000", + "flags": 2147483649 } ], - "duration": 938375, - "start": 1757693032231033126 + "duration": 392000, + "start": 1776888328446115000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json index 49c4376b3c5..ceb99c8db0a 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c332cc00000000", + "_dd.p.tid": "69e929fd00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/queuesendmessagebatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "cdda564dbbdd46eeb80690f69af5be5e", + "runtime-id": "f70bae2edbf1414f97aba5d268a3ac7c", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7094 + "_sampling_priority_v1": 1.0, + "process_id": 23973.0 }, - "duration": 1025611292, - "start": 1757622988816079169 + "duration": 1024594000, + "start": 1776888317059996000 }, { "name": "azure.servicebus.create", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "a2755684-08f2-45b8-94a0-ac41b0d28172", + "messaging.message_id": "31a18a59-ff85-4168-8851-1fd421867216", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 1518542, - "start": 1757622989320127210 + "duration": 3012000, + "start": 1776888317585016000 }, { "name": "azure.servicebus.create", @@ -65,20 +68,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c332cc00000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "14789e1b-8a6b-450f-9d06-3184a828fc1d", + "messaging.message_id": "942c594e-837e-4619-821b-9a2f5c72b6bd", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 273042, - "start": 1757622989322330252 + "duration": 501000, + "start": 1776888317588838000 }, { "name": "azure.servicebus.send", @@ -90,7 +93,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c332cc00000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "queue.1", @@ -100,10 +103,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 9228666, - "start": 1757622989322707169 + "duration": 19903000, + "start": 1776888317589559000 }], [ { @@ -116,7 +119,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c332cd00000000", + "_dd.p.tid": "69e929fd00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", "component": "azure_functions", @@ -126,15 +131,15 @@ "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "cdda564dbbdd46eeb80690f69af5be5e", + "runtime-id": "f70bae2edbf1414f97aba5d268a3ac7c", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 7094 + "_sampling_priority_v1": 1.0, + "process_id": 23973.0 }, - "duration": 180542, - "start": 1757622989513373419 + "duration": 198000, + "start": 1776888317683921000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json index 9521daee4e6..b60573870a3 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c332c100000000", + "_dd.p.tid": "69e929f100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/queuesendmessagebatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "a32304239262435eaff3c61ac2259134", + "runtime-id": "5cb9f4e5d6464a23a41bf08a02d90193", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 6699 + "_sampling_priority_v1": 1.0, + "process_id": 22537.0 }, - "duration": 1025491875, - "start": 1757622977808263053 + "duration": 1029364000, + "start": 1776888305751655000 }, { "name": "azure.servicebus.create", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "ad794064-f0c9-4ec6-901f-b62f98d66de8", + "messaging.message_id": "fff37ac5-e6bc-4b2d-8cf1-fbeb23b1cab3", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 1494666, - "start": 1757622978323712303 + "duration": 747000, + "start": 1776888306268266000 }, { "name": "azure.servicebus.create", @@ -65,20 +68,21 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c332c100000000", + "_dd.p.tid": "69e929f100000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "2808dfe5-2ac5-4100-8c5a-0b04c66f8d57", + "messaging.message_id": "007c7dac-7fdc-437d-b6e9-71a6be63e406", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 320625, - "start": 1757622978325943803 + "duration": 178000, + "start": 1776888306269167000 }, { "name": "azure.servicebus.send", @@ -90,7 +94,8 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c332c100000000", + "_dd.p.tid": "69e929f100000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "queue.1", @@ -100,26 +105,26 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677158619873280, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c332c100000000", - "flags": 2147483649, - "trace_id_high": 7548933204913160192 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e929f100000000", + "flags": 2147483649 }, { "trace_id": 0, + "trace_id_high": 7631677158619873280, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c332c100000000", - "flags": 2147483649, - "trace_id_high": 7548933204913160192 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e929f100000000", + "flags": 2147483649 } ], - "duration": 7203333, - "start": 1757622978326402553 + "duration": 9915000, + "start": 1776888306269420000 }], [ { @@ -132,7 +137,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c332c200000000", + "_dd.p.tid": "69e929f200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", "component": "azure_functions", @@ -142,31 +149,31 @@ "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "a32304239262435eaff3c61ac2259134", + "runtime-id": "5cb9f4e5d6464a23a41bf08a02d90193", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 6699 + "_sampling_priority_v1": 1.0, + "process_id": 22537.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677158619873280, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c332c100000000", - "flags": 2147483649, - "trace_id_high": 7548933204913160192 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e929f100000000", + "flags": 2147483649 }, { "trace_id": 0, + "trace_id_high": 7631677158619873280, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c332c100000000", - "flags": 2147483649, - "trace_id_high": 7548933204913160192 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e929f100000000", + "flags": 2147483649 } ], - "duration": 479833, - "start": 1757622978468174470 + "duration": 276000, + "start": 1776888306337371000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json index b472d8be732..3c065917b06 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c332b600000000", + "_dd.p.tid": "69e929e600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/queuesendmessagesingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "e62368bce3ba4067a3693958c82c91af", + "runtime-id": "587c17e442f3471b861059838904d6a7", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 6301 + "_sampling_priority_v1": 1.0, + "process_id": 21108.0 }, - "duration": 1029055958, - "start": 1757622966818108006 + "duration": 1022825000, + "start": 1776888294967548000 }, { "name": "azure.servicebus.send", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "queue.1", - "messaging.message_id": "12f75303-8e51-4432-8d37-baba56f43abb", + "messaging.message_id": "24d949ad-b57b-4a98-84bb-d0dd0b50f85e", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 7160250, - "start": 1757622967335385631 + "duration": 13220000, + "start": 1776888295478964000 }], [ { @@ -66,25 +69,27 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c332b700000000", + "_dd.p.tid": "69e929e700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", "component": "azure_functions", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "12f75303-8e51-4432-8d37-baba56f43abb", + "messaging.message_id": "24d949ad-b57b-4a98-84bb-d0dd0b50f85e", "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "e62368bce3ba4067a3693958c82c91af", + "runtime-id": "587c17e442f3471b861059838904d6a7", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 6301 + "_sampling_priority_v1": 1.0, + "process_id": 21108.0 }, - "duration": 176125, - "start": 1757622967441064381 + "duration": 161000, + "start": 1776888295522393000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json index 958d5108eed..c237b43c35f 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json @@ -7,93 +7,32 @@ "span_id": 1, "parent_id": 0, "type": "serverless", + "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c332ab00000000", + "_dd.p.tid": "69e9293d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", "component": "azure_functions", + "error.message": "Failed to initiate the connection due to exception: [Errno 61] Connection refused Error condition: amqp:socket-error.", + "error.stack": "Traceback (most recent call last):\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/azure_functions/shared.py\", line 72, in wrapper\n res = func(*args, **kwargs)\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/tests/contrib/azure_functions_servicebus/azure_function_app/function_app.py\", line 17, in queue_send_single_message\n with servicebus_client.get_queue_sender(queue_name=\"queue.1\") as queue_sender:\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31115_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurefunctions~1101_azureservicebus/lib/python3.11/site-packages/azure/servicebus/_servicebus_sender.py\", line 202, in __enter__\n self._open_with_retry()\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31115_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurefunctions~1101_azureservicebus/lib/python3.11/site-packages/azure/servicebus/_base_handler.py\", line 545, in _open_with_retry\n return self._do_retryable_operation(self._open)\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31115_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurefunctions~1101_azureservicebus/lib/python3.11/site-packages/azure/servicebus/_base_handler.py\", line 413, in _do_retryable_operation\n raise last_exception from None\nazure.servicebus.exceptions.ServiceBusConnectionError: Failed to initiate the connection due to exception: [Errno 61] Connection refused Error condition: amqp:socket-error.\n", + "error.type": "azure.servicebus.exceptions.ServiceBusConnectionError", "http.method": "POST", "http.route": "/api/queuesendmessagesingle", - "http.status_code": "200", "http.url": "http://0.0.0.0:7071/api/queuesendmessagesingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "81cca026b58743589887188896fc8db4", + "runtime-id": "cc6c74fdc64741dd9d58f4d9e225bb50", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5905 + "_sampling_priority_v1": 1.0, + "process_id": 12672.0 }, - "duration": 1025797334, - "start": 1757622955835397584 - }, - { - "name": "azure.servicebus.send", - "service": "azure_servicebus", - "resource": "queue.1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "meta": { - "_dd.base_service": "test-func", - "component": "azure_servicebus", - "messaging.destination.name": "queue.1", - "messaging.message_id": "e5869af3-a906-4d80-833e-1957c537eef2", - "messaging.operation": "send", - "messaging.system": "servicebus", - "network.destination.name": "localhost", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1 - }, - "duration": 7967125, - "start": 1757622956349970084 - }], -[ - { - "name": "azure.functions.invoke", - "service": "test-func", - "resource": "ServiceBus servicebusqueue", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "serverless", - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "68c332ac00000000", - "aas.function.name": "servicebusqueue", - "aas.function.trigger": "ServiceBus", - "component": "azure_functions", - "language": "python", - "messaging.destination.name": "queue.1", - "messaging.message_id": "e5869af3-a906-4d80-833e-1957c537eef2", - "messaging.operation": "receive", - "messaging.system": "servicebus", - "network.destination.name": "localhost", - "runtime-id": "81cca026b58743589887188896fc8db4", - "span.kind": "consumer" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 5905 - }, - "span_links": [ - { - "trace_id": 0, - "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c332ab00000000", - "flags": 2147483649, - "trace_id_high": 7548933110423879680 - } - ], - "duration": 1011375, - "start": 1757622956471232792 + "duration": 11239862000, + "start": 1776888125707609000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json index 1d4bae6ddef..e47c1bea007 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c444de00000000", + "_dd.p.tid": "69e92b2d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/topicsendmessagebatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "7bc8c64168fd48038b44fa1a4f706754", + "runtime-id": "036b1111bbf54b019dc59ef44d1f3350", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 27714 + "_sampling_priority_v1": 1.0, + "process_id": 65195.0 }, - "duration": 1025169375, - "start": 1757693150593013917 + "duration": 1025790000, + "start": 1776888621331956000 }, { "name": "azure.servicebus.create", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "261fd5c4-057f-40a3-b857-ac7ca736a581", + "messaging.message_id": "862eea0d-29a4-404c-9936-188a8c85f14a", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 2946834, - "start": 1757693151121473583 + "duration": 688000, + "start": 1776888621855421000 }, { "name": "azure.servicebus.create", @@ -65,20 +68,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c444de00000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "74664dd3-3711-41d7-9cba-5af434478090", + "messaging.message_id": "31828e7a-09a5-4b62-aec4-33247781b107", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 526000, - "start": 1757693151125750083 + "duration": 200000, + "start": 1776888621856418000 }, { "name": "azure.servicebus.send", @@ -90,7 +93,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c444de00000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "topic.1", @@ -100,10 +103,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 10245334, - "start": 1757693151126463583 + "duration": 14111000, + "start": 1776888621856759000 }], [ { @@ -116,7 +119,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c444df00000000", + "_dd.p.tid": "69e92b2d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", "component": "azure_functions", @@ -126,15 +131,15 @@ "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "7bc8c64168fd48038b44fa1a4f706754", + "runtime-id": "036b1111bbf54b019dc59ef44d1f3350", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 27714 + "_sampling_priority_v1": 1.0, + "process_id": 65195.0 }, - "duration": 173875, - "start": 1757693151297943250 + "duration": 191000, + "start": 1776888621957474000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json index 285e3a62917..df9a175546a 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c444d400000000", + "_dd.p.tid": "69e92a7200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/topicsendmessagebatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "b9b3623e4b4248d2840b679c68f31320", + "runtime-id": "df16e6a20a594f6992ea0e4eadd9138a", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 27319 + "_sampling_priority_v1": 1.0, + "process_id": 40443.0 }, - "duration": 1025033042, - "start": 1757693140121650926 + "duration": 1028248000, + "start": 1776888434289340000 }, { "name": "azure.servicebus.create", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "6686def7-beae-48f7-b705-32ec47ef1e2e", + "messaging.message_id": "47e5e5ad-ba9f-49e4-8976-784cbb56ab24", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 5319792, - "start": 1757693140629205134 + "duration": 842000, + "start": 1776888434818758000 }, { "name": "azure.servicebus.create", @@ -65,20 +68,21 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c444d400000000", + "_dd.p.tid": "69e92a7200000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "36b7708f-7b8c-4160-81d2-a03378818efc", + "messaging.message_id": "c0d0de64-c1b6-4881-8242-e7500a9540dd", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 1247750, - "start": 1757693140636104468 + "duration": 180000, + "start": 1776888434819773000 }, { "name": "azure.servicebus.send", @@ -90,7 +94,8 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c444d400000000", + "_dd.p.tid": "69e92a7200000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "topic.1", @@ -100,26 +105,26 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677712670654464, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c444d400000000", - "flags": 2147483649, - "trace_id_high": 7549234552703549440 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a7200000000", + "flags": 2147483649 }, { "trace_id": 0, + "trace_id_high": 7631677712670654464, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c444d400000000", - "flags": 2147483649, - "trace_id_high": 7549234552703549440 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a7200000000", + "flags": 2147483649 } ], - "duration": 14555750, - "start": 1757693140637898343 + "duration": 13080000, + "start": 1776888434820030000 }], [ { @@ -132,7 +137,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c444d400000000", + "_dd.p.tid": "69e92a7200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", "component": "azure_functions", @@ -142,31 +149,31 @@ "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "b9b3623e4b4248d2840b679c68f31320", + "runtime-id": "df16e6a20a594f6992ea0e4eadd9138a", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 27319 + "_sampling_priority_v1": 1.0, + "process_id": 40443.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677712670654464, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c444d400000000", - "flags": 2147483649, - "trace_id_high": 7549234552703549440 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a7200000000", + "flags": 2147483649 }, { "trace_id": 0, + "trace_id_high": 7631677712670654464, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c444d400000000", - "flags": 2147483649, - "trace_id_high": 7549234552703549440 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a7200000000", + "flags": 2147483649 } ], - "duration": 354209, - "start": 1757693140817381884 + "duration": 276000, + "start": 1776888434901252000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json index 2b5dbc1d903..cfc75b2117e 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c444c900000000", + "_dd.p.tid": "69e92a6700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/topicsendmessagesingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "90837f88efbd42c5aa2ca764e6310309", + "runtime-id": "5921af3261954964a87064209611e617", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 26923 + "_sampling_priority_v1": 1.0, + "process_id": 38880.0 }, - "duration": 1024802251, - "start": 1757693129641820087 + "duration": 1029119000, + "start": 1776888423509751000 }, { "name": "azure.servicebus.send", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "93b1001f-b855-4ea6-8b00-d59bf8ac4255", + "messaging.message_id": "8fa0a527-f75e-49c7-a8b1-100cf174a8a1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 8823500, - "start": 1757693130160480213 + "duration": 14881000, + "start": 1776888424019531000 }], [ { @@ -66,25 +69,27 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c444ca00000000", + "_dd.p.tid": "69e92a6800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", "component": "azure_functions", "language": "python", "messaging.destination.name": "topic.1", - "messaging.message_id": "93b1001f-b855-4ea6-8b00-d59bf8ac4255", + "messaging.message_id": "8fa0a527-f75e-49c7-a8b1-100cf174a8a1", "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "90837f88efbd42c5aa2ca764e6310309", + "runtime-id": "5921af3261954964a87064209611e617", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 26923 + "_sampling_priority_v1": 1.0, + "process_id": 38880.0 }, - "duration": 150292, - "start": 1757693130271051421 + "duration": 171000, + "start": 1776888424079695000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json index b2c8b831715..56efe825c2f 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c444be00000000", + "_dd.p.tid": "69e92a5c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/topicsendmessagesingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "ab6e07e6f53e4142abc9149b26205f6b", + "runtime-id": "c6adea0be3d94904812c967b1e1abd1d", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 26525 + "_sampling_priority_v1": 1.0, + "process_id": 37347.0 }, - "duration": 1026852751, - "start": 1757693118684689638 + "duration": 1027085000, + "start": 1776888412747534000 }, { "name": "azure.servicebus.send", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "837eed20-d733-4d77-a572-4c004e91f959", + "messaging.message_id": "78998fcd-6a56-483a-a01c-59c976a32da7", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 8689667, - "start": 1757693119199956180 + "duration": 12922000, + "start": 1776888413274749000 }], [ { @@ -66,34 +69,36 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c444bf00000000", + "_dd.p.tid": "69e92a5d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", "component": "azure_functions", "language": "python", "messaging.destination.name": "topic.1", - "messaging.message_id": "837eed20-d733-4d77-a572-4c004e91f959", + "messaging.message_id": "78998fcd-6a56-483a-a01c-59c976a32da7", "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "ab6e07e6f53e4142abc9149b26205f6b", + "runtime-id": "c6adea0be3d94904812c967b1e1abd1d", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 26525 + "_sampling_priority_v1": 1.0, + "process_id": 37347.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677618181373952, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c444be00000000", - "flags": 2147483649, - "trace_id_high": 7549234458214268928 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a5c00000000", + "flags": 2147483649 } ], - "duration": 1003541, - "start": 1757693119309663764 + "duration": 336000, + "start": 1776888413331678000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json index d5147d42c3a..0fe41c5a4f3 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c3360700000000", + "_dd.p.tid": "69e92a5100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/topicsendmessagebatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "d0ce6213a1aa41408792fd0211d69bcf", + "runtime-id": "feefa751869e4fa6ba4792cccfbd026b", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12372 + "_sampling_priority_v1": 1.0, + "process_id": 35921.0 }, - "duration": 1032059667, - "start": 1757623815810601177 + "duration": 1027701000, + "start": 1776888401939254000 }, { "name": "azure.servicebus.create", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "a27d08ce-ba5b-4e0d-8469-d422a6aa1d00", + "messaging.message_id": "975527b3-a05f-470b-bc51-101716e47b03", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 1895708, - "start": 1757623816317982677 + "duration": 493000, + "start": 1776888402445362000 }, { "name": "azure.servicebus.create", @@ -65,20 +68,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c3360700000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "2bd37c2c-a6ff-4d91-987e-ee9ec1cf97a0", + "messaging.message_id": "ed40ba17-3791-45bd-972f-21dea98521d4", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 353417, - "start": 1757623816320689385 + "duration": 128000, + "start": 1776888402446048000 }, { "name": "azure.servicebus.send", @@ -90,7 +93,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c3360700000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "topic.1", @@ -100,10 +103,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 7470208, - "start": 1757623816321169427 + "duration": 11499000, + "start": 1776888402446254000 }], [ { @@ -116,7 +119,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c3360800000000", + "_dd.p.tid": "69e92a5200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", "component": "azure_functions", @@ -126,15 +131,15 @@ "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "d0ce6213a1aa41408792fd0211d69bcf", + "runtime-id": "feefa751869e4fa6ba4792cccfbd026b", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12372 + "_sampling_priority_v1": 1.0, + "process_id": 35921.0 }, - "duration": 173250, - "start": 1757623816483666010 + "duration": 171000, + "start": 1776888402529264000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json index f14886ebb8d..6c24f25489d 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c335fc00000000", + "_dd.p.tid": "69e92a4700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/topicsendmessagebatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "4ec1f90ca2cd45c28e8dbf9723b3c1b4", + "runtime-id": "773680eb5998425ca78884667a53a432", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11978 + "_sampling_priority_v1": 1.0, + "process_id": 34508.0 }, - "duration": 1030990667, - "start": 1757623804813403546 + "duration": 1026640000, + "start": 1776888391632008000 }, { "name": "azure.servicebus.create", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "6dcbf430-68f6-42f7-9f85-8d273e4bbafa", + "messaging.message_id": "76da5d90-4c83-4801-a3f6-c313247e9320", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 1846000, - "start": 1757623805315511380 + "duration": 4011000, + "start": 1776888392162830000 }, { "name": "azure.servicebus.create", @@ -65,20 +68,21 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c335fc00000000", + "_dd.p.tid": "69e92a4700000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "aa072078-5eec-401a-84a0-4f90dbbf7999", + "messaging.message_id": "75657cd4-46f9-4d92-932d-a6eb2bc050e0", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 339583, - "start": 1757623805318220630 + "duration": 550000, + "start": 1776888392167512000 }, { "name": "azure.servicebus.send", @@ -90,7 +94,8 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68c335fc00000000", + "_dd.p.tid": "69e92a4700000000", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "topic.1", @@ -100,26 +105,26 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677527987060736, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c335fc00000000", - "flags": 2147483649, - "trace_id_high": 7548936756851113984 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a4700000000", + "flags": 2147483649 }, { "trace_id": 0, + "trace_id_high": 7631677527987060736, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c335fc00000000", - "flags": 2147483649, - "trace_id_high": 7548936756851113984 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a4700000000", + "flags": 2147483649 } ], - "duration": 8163042, - "start": 1757623805318692880 + "duration": 24624000, + "start": 1776888392168291000 }], [ { @@ -132,7 +137,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c335fd00000000", + "_dd.p.tid": "69e92a4800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", "component": "azure_functions", @@ -142,31 +149,31 @@ "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "4ec1f90ca2cd45c28e8dbf9723b3c1b4", + "runtime-id": "773680eb5998425ca78884667a53a432", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11978 + "_sampling_priority_v1": 1.0, + "process_id": 34508.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677527987060736, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c335fc00000000", - "flags": 2147483649, - "trace_id_high": 7548936756851113984 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a4700000000", + "flags": 2147483649 }, { "trace_id": 0, + "trace_id_high": 7631677527987060736, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c335fc00000000", - "flags": 2147483649, - "trace_id_high": 7548936756851113984 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a4700000000", + "flags": 2147483649 } ], - "duration": 431208, - "start": 1757623805482834422 + "duration": 317000, + "start": 1776888392288485000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json index b7d4976cb83..3b263cf4f05 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c335f100000000", + "_dd.p.tid": "69e92a3d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/topicsendmessagesingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "0694dfdfc52147d182203e61cd98dab7", + "runtime-id": "b5d4e021d8984c56a30ed7009ca8284b", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11579 + "_sampling_priority_v1": 1.0, + "process_id": 33081.0 }, - "duration": 1030532153, - "start": 1757623793331846763 + "duration": 1031685000, + "start": 1776888381312761000 }, { "name": "azure.servicebus.send", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "85165552-7ae7-401f-9709-b2ecd6810f5f", + "messaging.message_id": "67c2f855-1a11-4a53-9d18-f071cea296a5", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 11665625, - "start": 1757623793852543305 + "duration": 13202000, + "start": 1776888381844130000 }], [ { @@ -66,25 +69,27 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c335f100000000", + "_dd.p.tid": "69e92a3d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", "component": "azure_functions", "language": "python", "messaging.destination.name": "topic.1", - "messaging.message_id": "85165552-7ae7-401f-9709-b2ecd6810f5f", + "messaging.message_id": "67c2f855-1a11-4a53-9d18-f071cea296a5", "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "0694dfdfc52147d182203e61cd98dab7", + "runtime-id": "b5d4e021d8984c56a30ed7009ca8284b", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11579 + "_sampling_priority_v1": 1.0, + "process_id": 33081.0 }, - "duration": 182667, - "start": 1757623793976414722 + "duration": 152000, + "start": 1776888381895587000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json index af3faa37f4d..9242eaa63b7 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c335e600000000", + "_dd.p.tid": "69e92a3200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", "component": "azure_functions", @@ -19,17 +21,17 @@ "http.url": "http://0.0.0.0:7071/api/topicsendmessagesingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "cfaf2c798e854cfb946379a60687ba05", + "runtime-id": "6136b333a0cd49f08cede9fe24e4c4b7", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11181 + "_sampling_priority_v1": 1.0, + "process_id": 31603.0 }, - "duration": 1027043376, - "start": 1757623782242818133 + "duration": 1024453000, + "start": 1776888370526648000 }, { "name": "azure.servicebus.send", @@ -41,19 +43,20 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_servicebus", "messaging.destination.name": "topic.1", - "messaging.message_id": "267837d3-0aa8-4585-bee6-e3a36d51452e", + "messaging.message_id": "9b8c556a-3c53-4118-8577-4b37dbf3465b", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 29630209, - "start": 1757623782749328633 + "duration": 29033000, + "start": 1776888371048531000 }], [ { @@ -66,34 +69,36 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68c335e600000000", + "_dd.p.tid": "69e92a3300000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", "component": "azure_functions", "language": "python", "messaging.destination.name": "topic.1", - "messaging.message_id": "267837d3-0aa8-4585-bee6-e3a36d51452e", + "messaging.message_id": "9b8c556a-3c53-4118-8577-4b37dbf3465b", "messaging.operation": "receive", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "cfaf2c798e854cfb946379a60687ba05", + "runtime-id": "6136b333a0cd49f08cede9fe24e4c4b7", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11181 + "_sampling_priority_v1": 1.0, + "process_id": 31603.0 }, "span_links": [ { "trace_id": 0, + "trace_id_high": 7631677437792747520, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68c335e600000000", - "flags": 2147483649, - "trace_id_high": 7548936662361833472 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92a3200000000", + "flags": 2147483649 } ], - "duration": 1049708, - "start": 1757623782932002342 + "duration": 451000, + "start": 1776888371168763000 }]] From 848ab6996e061b1fa9e499539a77b32d5a8c304f Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 22 Apr 2026 13:14:10 -0700 Subject: [PATCH 058/114] update azure_functions:eventhubs snapshots --- ...nc_list_distributed_tracing_disabled].json | 32 +++--- ...ync_list_distributed_tracing_enabled].json | 32 +++--- ..._single_distributed_tracing_disabled].json | 70 +++++++----- ...c_single_distributed_tracing_enabled].json | 70 +++++++----- ...es_list_distributed_tracing_disabled].json | 32 +++--- ...ges_list_distributed_tracing_enabled].json | 32 +++--- ..._single_distributed_tracing_disabled].json | 70 +++++++----- ...s_single_distributed_tracing_enabled].json | 70 +++++++----- ...racing_disabled_batch_links_disabled].json | 32 +++--- ...tracing_disabled_batch_links_enabled].json | 102 +++++++++-------- ...tracing_enabled_batch_links_disabled].json | 32 +++--- ..._tracing_enabled_batch_links_enabled].json | 106 ++++++++++-------- ...nc_list_distributed_tracing_disabled].json | 32 +++--- ...ync_list_distributed_tracing_enabled].json | 32 +++--- ..._single_distributed_tracing_disabled].json | 70 +++++++----- ...c_single_distributed_tracing_enabled].json | 70 +++++++----- ...racing_disabled_batch_links_disabled].json | 32 +++--- ...tracing_disabled_batch_links_enabled].json | 102 +++++++++-------- ...tracing_enabled_batch_links_disabled].json | 32 +++--- ..._tracing_enabled_batch_links_enabled].json | 106 ++++++++++-------- ...es_list_distributed_tracing_disabled].json | 32 +++--- ...ges_list_distributed_tracing_enabled].json | 32 +++--- ..._single_distributed_tracing_disabled].json | 70 +++++++----- ...s_single_distributed_tracing_enabled].json | 70 +++++++----- 24 files changed, 760 insertions(+), 600 deletions(-) diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_disabled].json index bfd6a3c4df6..d787e6c95c6 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7b600000000", + "_dd.p.tid": "69e92c0400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "25be7898f5224e57b6c46a8cdc37b27a", + "runtime-id": "e411dbc9dd4f46138532890f7b3d9ca0", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16652 + "_sampling_priority_v1": 1.0, + "process_id": 67639.0 }, - "duration": 543125000, - "start": 1757534134563309375 + "duration": 514261000, + "start": 1776888836281071000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7b700000000", + "_dd.p.tid": "69e92c0400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "25be7898f5224e57b6c46a8cdc37b27a", + "runtime-id": "e411dbc9dd4f46138532890f7b3d9ca0", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16652 + "_sampling_priority_v1": 1.0, + "process_id": 67639.0 }, - "duration": 8201250, - "start": 1757534135113038084 + "duration": 12906000, + "start": 1776888836796221000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_enabled].json index 7d88105b4f0..f0923c58b21 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_enabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7b200000000", + "_dd.p.tid": "69e92c0100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "aa449f45aaf044bea1cb732b86e2ddbf", + "runtime-id": "f28f05609a014f698076e779ba6898e4", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16645 + "_sampling_priority_v1": 1.0, + "process_id": 67615.0 }, - "duration": 545965791, - "start": 1757534130865697763 + "duration": 497036000, + "start": 1776888833090657000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7b300000000", + "_dd.p.tid": "69e92c0100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "aa449f45aaf044bea1cb732b86e2ddbf", + "runtime-id": "f28f05609a014f698076e779ba6898e4", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16645 + "_sampling_priority_v1": 1.0, + "process_id": 67615.0 }, - "duration": 6207334, - "start": 1757534131416182679 + "duration": 7975000, + "start": 1776888833588024000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_disabled].json index 27f760e8081..995c94d229a 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_disabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7af00000000", + "_dd.p.tid": "69e92bfd00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "dd33e42e-52f3-4fe6-87d3-a6366bd022ba", + "messaging.message_id": "cf32c3b5-3ec3-463f-b7de-c25c56350a13", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "797508c91a22429790b626ec13de80be", + "runtime-id": "6bae67d3001b47159600ecdd1770c6c5", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16638 + "_sampling_priority_v1": 1.0, + "process_id": 67601.0 }, - "duration": 540241917, - "start": 1757534127423649553 + "duration": 498602000, + "start": 1776888829926008000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7af00000000", + "_dd.p.tid": "69e92bfe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "79afa9bd-d71d-4bce-95a4-2b9a293d7af1", + "messaging.message_id": "bb6bec99-5cbd-4113-ad0e-ef120a71a396", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "797508c91a22429790b626ec13de80be", + "runtime-id": "6bae67d3001b47159600ecdd1770c6c5", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16638 + "_sampling_priority_v1": 1.0, + "process_id": 67601.0 }, - "duration": 9730125, - "start": 1757534127968615845 + "duration": 8331000, + "start": 1776888830424931000 }], [ { @@ -77,24 +81,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7af00000000", + "_dd.p.tid": "69e92bfe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "797508c91a22429790b626ec13de80be", + "runtime-id": "6bae67d3001b47159600ecdd1770c6c5", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16638 + "_sampling_priority_v1": 1.0, + "process_id": 67601.0 }, - "duration": 7403917, - "start": 1757534127978884178 + "duration": 10209000, + "start": 1776888830433548000 }], [ { @@ -109,23 +115,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7af00000000", + "_dd.p.tid": "69e92bfe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "74ef737a-1c80-4e1c-9692-dccd9f6592db", + "messaging.message_id": "f7e8f681-e913-4076-a7a7-6d1b93032088", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "797508c91a22429790b626ec13de80be", + "runtime-id": "6bae67d3001b47159600ecdd1770c6c5", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16638 + "_sampling_priority_v1": 1.0, + "process_id": 67601.0 }, - "duration": 5469458, - "start": 1757534127986591553 + "duration": 8211000, + "start": 1776888830444118000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_enabled].json index 6ca5bfffd7d..2d4a202cc2b 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_enabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7ab00000000", + "_dd.p.tid": "69e92bfa00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "5eefb639-d76b-4a5c-a7c2-ac39d8dd7ed8", + "messaging.message_id": "1ae4db0e-9028-46d7-aa96-e1a854b6425f", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "943363ec15ae4ed3982f2068cc3e6230", + "runtime-id": "01d1ac7fd4fc4636b0c516f2adba9607", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16631 + "_sampling_priority_v1": 1.0, + "process_id": 67515.0 }, - "duration": 541962458, - "start": 1757534123933092718 + "duration": 492646000, + "start": 1776888826814410000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7ac00000000", + "_dd.p.tid": "69e92bfb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "d91eaff5-01d0-4a06-a2ac-e31d552e8c85", + "messaging.message_id": "3719a9d7-1ab4-46a0-9145-26b981c804dd", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "943363ec15ae4ed3982f2068cc3e6230", + "runtime-id": "01d1ac7fd4fc4636b0c516f2adba9607", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16631 + "_sampling_priority_v1": 1.0, + "process_id": 67515.0 }, - "duration": 9909083, - "start": 1757534124481404843 + "duration": 7208000, + "start": 1776888827307379000 }], [ { @@ -77,24 +81,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7ac00000000", + "_dd.p.tid": "69e92bfb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "943363ec15ae4ed3982f2068cc3e6230", + "runtime-id": "01d1ac7fd4fc4636b0c516f2adba9607", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16631 + "_sampling_priority_v1": 1.0, + "process_id": 67515.0 }, - "duration": 7573625, - "start": 1757534124491884301 + "duration": 8026000, + "start": 1776888827314692000 }], [ { @@ -109,23 +115,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7ac00000000", + "_dd.p.tid": "69e92bfb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "ce12c58f-4514-4d9b-9cdd-bc30e0a8eb7f", + "messaging.message_id": "40e6cf76-1c7c-4506-83c9-75c80eb76a78", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "943363ec15ae4ed3982f2068cc3e6230", + "runtime-id": "01d1ac7fd4fc4636b0c516f2adba9607", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16631 + "_sampling_priority_v1": 1.0, + "process_id": 67515.0 }, - "duration": 6929083, - "start": 1757534124499687968 + "duration": 7604000, + "start": 1776888827322833000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_disabled].json index 9bca4f26bba..4efda6a98c4 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7a800000000", + "_dd.p.tid": "69e92bf700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "04d2aa74aa29471687efcc6b5af4bf33", + "runtime-id": "5721b9724a31470c8c7317c521d4d656", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16624 + "_sampling_priority_v1": 1.0, + "process_id": 67504.0 }, - "duration": 537728000, - "start": 1757534120399533716 + "duration": 534455000, + "start": 1776888823613335000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7a800000000", + "_dd.p.tid": "69e92bf800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "04d2aa74aa29471687efcc6b5af4bf33", + "runtime-id": "5721b9724a31470c8c7317c521d4d656", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16624 + "_sampling_priority_v1": 1.0, + "process_id": 67504.0 }, - "duration": 7333000, - "start": 1757534120943349883 + "duration": 12771000, + "start": 1776888824148690000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_enabled].json index 5043a126d3a..923a745c3df 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_enabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7a400000000", + "_dd.p.tid": "69e92bf400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "ea1d8e4095b64728a7ae8fc6dcc553f9", + "runtime-id": "0c867ce054754bf7a8a6c2587e7c91f6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16617 + "_sampling_priority_v1": 1.0, + "process_id": 67499.0 }, - "duration": 537679834, - "start": 1757534116941075381 + "duration": 517061000, + "start": 1776888820459712000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7a500000000", + "_dd.p.tid": "69e92bf400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "ea1d8e4095b64728a7ae8fc6dcc553f9", + "runtime-id": "0c867ce054754bf7a8a6c2587e7c91f6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16617 + "_sampling_priority_v1": 1.0, + "process_id": 67499.0 }, - "duration": 7825875, - "start": 1757534117484987256 + "duration": 9881000, + "start": 1776888820977600000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_disabled].json index 9ef3b88f5e4..005be0706e6 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_disabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7a100000000", + "_dd.p.tid": "69e92bf100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "2619e216-a66a-4335-b806-9eb889158ff9", + "messaging.message_id": "38679f6c-cf68-4996-a8c5-c952e7cc1508", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "9a81cf0e87bc414e8004d2919566b689", + "runtime-id": "8214a8d1b1984cd48afef9c96a38ae9b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16610 + "_sampling_priority_v1": 1.0, + "process_id": 67480.0 }, - "duration": 544485917, - "start": 1757534113519534004 + "duration": 533884000, + "start": 1776888817297576000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7a200000000", + "_dd.p.tid": "69e92bf100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "4a35c6a2-de73-49cc-9818-2451d9afa203", + "messaging.message_id": "289ed950-c724-40bb-ac56-b05f5ae6246d", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "9a81cf0e87bc414e8004d2919566b689", + "runtime-id": "8214a8d1b1984cd48afef9c96a38ae9b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16610 + "_sampling_priority_v1": 1.0, + "process_id": 67480.0 }, - "duration": 7305000, - "start": 1757534114070004213 + "duration": 13779000, + "start": 1776888817834620000 }], [ { @@ -77,24 +81,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7a200000000", + "_dd.p.tid": "69e92bf100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "9a81cf0e87bc414e8004d2919566b689", + "runtime-id": "8214a8d1b1984cd48afef9c96a38ae9b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16610 + "_sampling_priority_v1": 1.0, + "process_id": 67480.0 }, - "duration": 5443208, - "start": 1757534114077671963 + "duration": 11137000, + "start": 1776888817849077000 }], [ { @@ -109,23 +115,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d7a200000000", + "_dd.p.tid": "69e92bf100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "c671e8b7-f2a1-4e75-89b5-cd40a37c2ddf", + "messaging.message_id": "e7f96b33-70ca-4be3-a977-ce69f95b493b", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "9a81cf0e87bc414e8004d2919566b689", + "runtime-id": "8214a8d1b1984cd48afef9c96a38ae9b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16610 + "_sampling_priority_v1": 1.0, + "process_id": 67480.0 }, - "duration": 4784625, - "start": 1757534114083302255 + "duration": 16078000, + "start": 1776888817860824000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_enabled].json index a189e2cfa2e..009b51741a6 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_enabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d79e00000000", + "_dd.p.tid": "69e92bee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "8da97d46-4c5c-44de-8bda-76737f3ef270", + "messaging.message_id": "98cf7fc8-eb9b-42a1-b6ef-babb42608020", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "27e918920a434f088da3f06ae5a1c8f5", + "runtime-id": "6179e4ae3b6b4dbcaaf3e7a9fcbeb298", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16603 + "_sampling_priority_v1": 1.0, + "process_id": 67462.0 }, - "duration": 544760625, - "start": 1757534110033129961 + "duration": 546614000, + "start": 1776888814127414000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d79e00000000", + "_dd.p.tid": "69e92bee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "d49644d6-e715-49dd-a81f-f01a0750cd8b", + "messaging.message_id": "574c1213-8e2d-4a57-871c-af156cfb2c67", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "27e918920a434f088da3f06ae5a1c8f5", + "runtime-id": "6179e4ae3b6b4dbcaaf3e7a9fcbeb298", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16603 + "_sampling_priority_v1": 1.0, + "process_id": 67462.0 }, - "duration": 7860833, - "start": 1757534110583986045 + "duration": 8170000, + "start": 1776888814674905000 }], [ { @@ -77,24 +81,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d79e00000000", + "_dd.p.tid": "69e92bee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "27e918920a434f088da3f06ae5a1c8f5", + "runtime-id": "6179e4ae3b6b4dbcaaf3e7a9fcbeb298", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16603 + "_sampling_priority_v1": 1.0, + "process_id": 67462.0 }, - "duration": 6060292, - "start": 1757534110592179211 + "duration": 8064000, + "start": 1776888814683400000 }], [ { @@ -109,23 +115,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d79e00000000", + "_dd.p.tid": "69e92bee00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "6ee9bc36-7cc3-4d51-a6df-5ee75a2f8f78", + "messaging.message_id": "df1b21ab-06dc-45b4-bd7f-39d67599527f", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "27e918920a434f088da3f06ae5a1c8f5", + "runtime-id": "6179e4ae3b6b4dbcaaf3e7a9fcbeb298", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16603 + "_sampling_priority_v1": 1.0, + "process_id": 67462.0 }, - "duration": 5126792, - "start": 1757534110598398628 + "duration": 7780000, + "start": 1776888814691700000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_disabled].json index 3a0938450d7..dafbc307634 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408e00000000", + "_dd.p.tid": "69e92beb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "e7c5a9ceeb2f4eaf951a6881f676841f", + "runtime-id": "ca2fe9b87ba54b55beb12e23efb8c34b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12918 + "_sampling_priority_v1": 1.0, + "process_id": 67445.0 }, - "duration": 14898917, - "start": 1757692046870829253 + "duration": 18800000, + "start": 1776888811551902000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408e00000000", + "_dd.p.tid": "69e92beb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "e7c5a9ceeb2f4eaf951a6881f676841f", + "runtime-id": "ca2fe9b87ba54b55beb12e23efb8c34b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12918 + "_sampling_priority_v1": 1.0, + "process_id": 67445.0 }, - "duration": 6968583, - "start": 1757692046890728378 + "duration": 17046000, + "start": 1776888811572923000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_enabled].json index 3816cc69403..05afa1e7e2f 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408b00000000", + "_dd.p.tid": "69e92be800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "b0fbf4b3-2074-4ba3-ab01-281bb5d34a7c", + "messaging.message_id": "9a12c4aa-58b6-41b2-91e1-c4843c24e946", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "43054341cd014443b82544007a5120f9", + "runtime-id": "f4b057936b6e449dae5996ca2c739db2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12911 + "_sampling_priority_v1": 1.0, + "process_id": 67439.0 }, - "duration": 2713542, - "start": 1757692043343313793 + "duration": 572000, + "start": 1776888808438833000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408b00000000", + "_dd.p.tid": "69e92be800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "e368fe8a-010f-463a-afbc-86578e774171", + "messaging.message_id": "2ca1db74-df6e-44da-b874-86a13ff7ac00", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "43054341cd014443b82544007a5120f9", + "runtime-id": "f4b057936b6e449dae5996ca2c739db2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12911 + "_sampling_priority_v1": 1.0, + "process_id": 67439.0 }, - "duration": 536833, - "start": 1757692043355031835 + "duration": 145000, + "start": 1776888808439717000 }], [ { @@ -77,7 +81,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408b00000000", + "_dd.p.tid": "69e92be800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -85,17 +91,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "43054341cd014443b82544007a5120f9", + "runtime-id": "f4b057936b6e449dae5996ca2c739db2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12911 + "_sampling_priority_v1": 1.0, + "process_id": 67439.0 }, - "duration": 13082417, - "start": 1757692043355939668 + "duration": 8861000, + "start": 1776888808439951000 }], [ { @@ -110,24 +116,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408b00000000", + "_dd.p.tid": "69e92be800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "43054341cd014443b82544007a5120f9", + "runtime-id": "f4b057936b6e449dae5996ca2c739db2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12911 + "_sampling_priority_v1": 1.0, + "process_id": 67439.0 }, - "duration": 864334, - "start": 1757692043369547251 + "duration": 150000, + "start": 1776888808448978000 }], [ { @@ -142,25 +150,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408b00000000", + "_dd.p.tid": "69e92be800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "fb17949a-6f38-4ee3-9f4f-c1ef19228adc", + "messaging.message_id": "9797a29f-4a97-4ae4-b64a-a86faebf2e0b", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "43054341cd014443b82544007a5120f9", + "runtime-id": "f4b057936b6e449dae5996ca2c739db2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12911 + "_sampling_priority_v1": 1.0, + "process_id": 67439.0 }, - "duration": 262417, - "start": 1757692043370621293 + "duration": 110000, + "start": 1776888808449194000 }], [ { @@ -175,7 +185,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408b00000000", + "_dd.p.tid": "69e92be800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -183,15 +195,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "43054341cd014443b82544007a5120f9", + "runtime-id": "f4b057936b6e449dae5996ca2c739db2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12911 + "_sampling_priority_v1": 1.0, + "process_id": 67439.0 }, - "duration": 7188833, - "start": 1757692043371020710 + "duration": 8472000, + "start": 1776888808449355000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_disabled].json index 63fa11fad98..81b124e4577 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408700000000", + "_dd.p.tid": "69e92be500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "f4d6526ef2364f1c9d9876187d37882e", + "runtime-id": "7920484b37e24bf4aa23678993841194", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12904 + "_sampling_priority_v1": 1.0, + "process_id": 67421.0 }, - "duration": 15117250, - "start": 1757692039830470583 + "duration": 14590000, + "start": 1776888805262492000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408700000000", + "_dd.p.tid": "69e92be500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "f4d6526ef2364f1c9d9876187d37882e", + "runtime-id": "7920484b37e24bf4aa23678993841194", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12904 + "_sampling_priority_v1": 1.0, + "process_id": 67421.0 }, - "duration": 6735334, - "start": 1757692039852810291 + "duration": 7824000, + "start": 1776888805278511000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_enabled].json index 5b4ec7b16c7..38c9cb94cc9 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408400000000", + "_dd.p.tid": "69e92be200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "4b23aa3e-e5cd-4496-940d-5320a0c9fad9", + "messaging.message_id": "eef49728-0977-48d7-bd0b-10c8abf3d83e", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "ab8ada9f14f24e1fa723367401f151a5", + "runtime-id": "8bf6098d440b4678ba18aa7003af5adc", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12897 + "_sampling_priority_v1": 1.0, + "process_id": 67414.0 }, - "duration": 5401459, - "start": 1757692036266226470 + "duration": 2645000, + "start": 1776888802139911000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408400000000", + "_dd.p.tid": "69e92be200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "d8cfdb20-7b52-4f72-a718-b78a4ec48b2d", + "messaging.message_id": "b71fff20-374d-41c7-bf87-b8a470dd4db2", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "ab8ada9f14f24e1fa723367401f151a5", + "runtime-id": "8bf6098d440b4678ba18aa7003af5adc", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12897 + "_sampling_priority_v1": 1.0, + "process_id": 67414.0 }, - "duration": 1001500, - "start": 1757692036279843429 + "duration": 587000, + "start": 1776888802143417000 }], [ { @@ -77,8 +81,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408400000000", - "_dd.span_links": "[{\"trace_id\": \"68c44084000000003a9196ea35ac2747\", \"span_id\": \"065ba32db2ba6bfe\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68c4408400000000\", \"flags\": 1}, {\"trace_id\": \"68c44084000000002bd91fcae6bbfb25\", \"span_id\": \"7287dc6b29eee3f0\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68c4408400000000\", \"flags\": 1}]", + "_dd.p.tid": "69e92be200000000", + "_dd.span_links": "[{\"trace_id\": \"69e92be200000000b8984fde4fbbe180\", \"span_id\": \"85b46a2ac68bf87f\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92be200000000\", \"flags\": 1}, {\"trace_id\": \"69e92be200000000572732b8ab997c49\", \"span_id\": \"785225cd44aa9fb2\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92be200000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -86,17 +92,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "ab8ada9f14f24e1fa723367401f151a5", + "runtime-id": "8bf6098d440b4678ba18aa7003af5adc", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12897 + "_sampling_priority_v1": 1.0, + "process_id": 67414.0 }, - "duration": 14283333, - "start": 1757692036281165762 + "duration": 23259000, + "start": 1776888802144218000 }], [ { @@ -111,24 +117,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408400000000", + "_dd.p.tid": "69e92be200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "ab8ada9f14f24e1fa723367401f151a5", + "runtime-id": "8bf6098d440b4678ba18aa7003af5adc", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12897 + "_sampling_priority_v1": 1.0, + "process_id": 67414.0 }, - "duration": 624875, - "start": 1757692036297625262 + "duration": 1383000, + "start": 1776888802168577000 }], [ { @@ -143,25 +151,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408400000000", + "_dd.p.tid": "69e92be200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "a72cce87-bb3c-4dd1-8339-097785c11391", + "messaging.message_id": "86d0d092-e460-4f82-a451-ec19ea5cc31c", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "ab8ada9f14f24e1fa723367401f151a5", + "runtime-id": "8bf6098d440b4678ba18aa7003af5adc", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12897 + "_sampling_priority_v1": 1.0, + "process_id": 67414.0 }, - "duration": 377834, - "start": 1757692036298410220 + "duration": 458000, + "start": 1776888802170121000 }], [ { @@ -176,8 +186,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4408400000000", - "_dd.span_links": "[{\"trace_id\": \"68c440840000000005eb06f23f3c3816\", \"span_id\": \"4f336a92573c49e8\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68c4408400000000\", \"flags\": 1}, {\"trace_id\": \"68c4408400000000c8f49bbcfab14ab5\", \"span_id\": \"0814179dbe4f0e1b\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68c4408400000000\", \"flags\": 1}]", + "_dd.p.tid": "69e92be200000000", + "_dd.span_links": "[{\"trace_id\": \"69e92be2000000000cd4296fb60bcd0f\", \"span_id\": \"4204b66a88e79b56\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92be200000000\", \"flags\": 1}, {\"trace_id\": \"69e92be200000000255449a75b5c447a\", \"span_id\": \"605fdfcccd514435\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92be200000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -185,15 +197,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "ab8ada9f14f24e1fa723367401f151a5", + "runtime-id": "8bf6098d440b4678ba18aa7003af5adc", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12897 + "_sampling_priority_v1": 1.0, + "process_id": 67414.0 }, - "duration": 5809292, - "start": 1757692036298907720 + "duration": 16659000, + "start": 1776888802170705000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_disabled].json index afd77f47995..311d23077d4 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78c00000000", + "_dd.p.tid": "69e92bde00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "c841d58fdc724c5ab68ac87ecd040cd7", + "runtime-id": "e68e0b3876f7489896de4cc3ae4d8c8d", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16568 + "_sampling_priority_v1": 1.0, + "process_id": 67396.0 }, - "duration": 545070501, - "start": 1757534092621417550 + "duration": 514361000, + "start": 1776888798449469000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78d00000000", + "_dd.p.tid": "69e92bde00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "c841d58fdc724c5ab68ac87ecd040cd7", + "runtime-id": "e68e0b3876f7489896de4cc3ae4d8c8d", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16568 + "_sampling_priority_v1": 1.0, + "process_id": 67396.0 }, - "duration": 8116584, - "start": 1757534093172579717 + "duration": 8854000, + "start": 1776888798964207000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_enabled].json index 0760360ed00..9242cbfc8f1 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_enabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78900000000", + "_dd.p.tid": "69e92bdb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "2a32d08d43d84de1a75713d1f883f7eb", + "runtime-id": "67125d36b51b468689166c4a60f57438", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16561 + "_sampling_priority_v1": 1.0, + "process_id": 67391.0 }, - "duration": 543648125, - "start": 1757534089144524049 + "duration": 505561000, + "start": 1776888795312834000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78900000000", + "_dd.p.tid": "69e92bdb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "2a32d08d43d84de1a75713d1f883f7eb", + "runtime-id": "67125d36b51b468689166c4a60f57438", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16561 + "_sampling_priority_v1": 1.0, + "process_id": 67391.0 }, - "duration": 5128125, - "start": 1757534089691485466 + "duration": 8516000, + "start": 1776888795819334000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_disabled].json index c7f5144ec81..6f69bac1d1c 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_disabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78500000000", + "_dd.p.tid": "69e92bd800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "59fd18b7-9add-4a2b-8a81-6b622287aaf7", + "messaging.message_id": "7077a848-41f2-467a-bd04-f28db70c11f1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "2dc72a1361cf416889735ceafab2be50", + "runtime-id": "4512556568e14a839e10e4cce1e0bcf9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16554 + "_sampling_priority_v1": 1.0, + "process_id": 67385.0 }, - "duration": 540886583, - "start": 1757534085640484214 + "duration": 492887000, + "start": 1776888792198886000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78600000000", + "_dd.p.tid": "69e92bd800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "e30e4125-c5e3-49ff-9ffb-af3423912374", + "messaging.message_id": "4862415f-d425-44b7-bf69-1896483464ea", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "2dc72a1361cf416889735ceafab2be50", + "runtime-id": "4512556568e14a839e10e4cce1e0bcf9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16554 + "_sampling_priority_v1": 1.0, + "process_id": 67385.0 }, - "duration": 9716833, - "start": 1757534086188438464 + "duration": 7620000, + "start": 1776888792692346000 }], [ { @@ -77,24 +81,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78600000000", + "_dd.p.tid": "69e92bd800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "2dc72a1361cf416889735ceafab2be50", + "runtime-id": "4512556568e14a839e10e4cce1e0bcf9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16554 + "_sampling_priority_v1": 1.0, + "process_id": 67385.0 }, - "duration": 7792500, - "start": 1757534086198866006 + "duration": 18655000, + "start": 1776888792700305000 }], [ { @@ -109,23 +115,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78600000000", + "_dd.p.tid": "69e92bd800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "7611e0eb-c592-499a-bc37-1dadb8af49ac", + "messaging.message_id": "d8c77b64-84da-4ae1-bd9f-984b9ca49f8e", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "2dc72a1361cf416889735ceafab2be50", + "runtime-id": "4512556568e14a839e10e4cce1e0bcf9", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16554 + "_sampling_priority_v1": 1.0, + "process_id": 67385.0 }, - "duration": 5778916, - "start": 1757534086206988256 + "duration": 9273000, + "start": 1776888792719245000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_enabled].json index 9b44b67cb99..8f47747001d 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_enabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78200000000", + "_dd.p.tid": "69e92bd500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "549b7502-e954-4001-891c-219c5816407b", + "messaging.message_id": "31640fe7-cf78-456f-b486-f08176aed96b", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "1a3deac69c7249818b38c53d3b642639", + "runtime-id": "b34fdc73d7a74f07beead5bbc58babd8", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16547 + "_sampling_priority_v1": 1.0, + "process_id": 67374.0 }, - "duration": 535752709, - "start": 1757534082116262462 + "duration": 518218000, + "start": 1776888789080803000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78200000000", + "_dd.p.tid": "69e92bd500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "00faf436-d1a9-4144-8c65-f0e8a9f53a84", + "messaging.message_id": "6d3caf97-3c47-4f32-aaa9-f9739fab021f", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "1a3deac69c7249818b38c53d3b642639", + "runtime-id": "b34fdc73d7a74f07beead5bbc58babd8", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16547 + "_sampling_priority_v1": 1.0, + "process_id": 67374.0 }, - "duration": 8635084, - "start": 1757534082657032212 + "duration": 8397000, + "start": 1776888789599646000 }], [ { @@ -77,24 +81,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78200000000", + "_dd.p.tid": "69e92bd500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "1a3deac69c7249818b38c53d3b642639", + "runtime-id": "b34fdc73d7a74f07beead5bbc58babd8", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16547 + "_sampling_priority_v1": 1.0, + "process_id": 67374.0 }, - "duration": 7362500, - "start": 1757534082666083004 + "duration": 7241000, + "start": 1776888789608314000 }], [ { @@ -109,23 +115,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d78200000000", + "_dd.p.tid": "69e92bd500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "243928cb-5938-434a-a008-9b06fa0fb36e", + "messaging.message_id": "9e106b7e-5ec3-4261-9202-40b78ff45540", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "1a3deac69c7249818b38c53d3b642639", + "runtime-id": "b34fdc73d7a74f07beead5bbc58babd8", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16547 + "_sampling_priority_v1": 1.0, + "process_id": 67374.0 }, - "duration": 8388166, - "start": 1757534082673737171 + "duration": 7456000, + "start": 1776888789615784000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_disabled].json index 65e4e9c173a..34760165631 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4402200000000", + "_dd.p.tid": "69e92bd200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "f3c55db96b3d47bf96633e2d0aa56a94", + "runtime-id": "b8d5bcce354b4307bc7c14ca49a9f9c8", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12306 + "_sampling_priority_v1": 1.0, + "process_id": 67370.0 }, - "duration": 14948292, - "start": 1757691938194506133 + "duration": 11401000, + "start": 1776888786462527000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4402200000000", + "_dd.p.tid": "69e92bd200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "f3c55db96b3d47bf96633e2d0aa56a94", + "runtime-id": "b8d5bcce354b4307bc7c14ca49a9f9c8", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12306 + "_sampling_priority_v1": 1.0, + "process_id": 67370.0 }, - "duration": 6576916, - "start": 1757691938217577092 + "duration": 6376000, + "start": 1776888786475170000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_enabled].json index 4c79b4cca2e..df7ad60f37b 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401e00000000", + "_dd.p.tid": "69e92bcf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "78fa810e-b024-4c32-b624-737eacb2492d", + "messaging.message_id": "183afe58-770c-4c03-9562-dbc2ca3165f8", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "49191e0bf2694e0b9f5479717ed51720", + "runtime-id": "13f53ef5f0a148799abcf6e951ce9955", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12298 + "_sampling_priority_v1": 1.0, + "process_id": 67328.0 }, - "duration": 1629417, - "start": 1757691934724831548 + "duration": 877000, + "start": 1776888783309498000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401e00000000", + "_dd.p.tid": "69e92bcf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "ccd143c8-54fc-46f3-9cf1-5796e728286c", + "messaging.message_id": "ecc18185-01aa-43f3-881d-e0affcc59f2b", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "49191e0bf2694e0b9f5479717ed51720", + "runtime-id": "13f53ef5f0a148799abcf6e951ce9955", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12298 + "_sampling_priority_v1": 1.0, + "process_id": 67328.0 }, - "duration": 407708, - "start": 1757691934733772257 + "duration": 348000, + "start": 1776888783311419000 }], [ { @@ -77,7 +81,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401e00000000", + "_dd.p.tid": "69e92bcf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -85,17 +91,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "49191e0bf2694e0b9f5479717ed51720", + "runtime-id": "13f53ef5f0a148799abcf6e951ce9955", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12298 + "_sampling_priority_v1": 1.0, + "process_id": 67328.0 }, - "duration": 12486417, - "start": 1757691934734442465 + "duration": 12394000, + "start": 1776888783311955000 }], [ { @@ -110,24 +116,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401e00000000", + "_dd.p.tid": "69e92bcf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "49191e0bf2694e0b9f5479717ed51720", + "runtime-id": "13f53ef5f0a148799abcf6e951ce9955", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12298 + "_sampling_priority_v1": 1.0, + "process_id": 67328.0 }, - "duration": 853292, - "start": 1757691934747506423 + "duration": 461000, + "start": 1776888783324805000 }], [ { @@ -142,25 +150,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401e00000000", + "_dd.p.tid": "69e92bcf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "05040d13-f53a-4dbb-b84e-4659a0b80027", + "messaging.message_id": "c19ce9a1-bd97-406a-a44b-1e047962a4d5", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "49191e0bf2694e0b9f5479717ed51720", + "runtime-id": "13f53ef5f0a148799abcf6e951ce9955", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12298 + "_sampling_priority_v1": 1.0, + "process_id": 67328.0 }, - "duration": 381958, - "start": 1757691934748572257 + "duration": 395000, + "start": 1776888783325456000 }], [ { @@ -175,7 +185,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401e00000000", + "_dd.p.tid": "69e92bcf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -183,15 +195,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "49191e0bf2694e0b9f5479717ed51720", + "runtime-id": "13f53ef5f0a148799abcf6e951ce9955", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12298 + "_sampling_priority_v1": 1.0, + "process_id": 67328.0 }, - "duration": 6641417, - "start": 1757691934749181048 + "duration": 7491000, + "start": 1776888783326099000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_disabled].json index 589ceba2380..dcfa9b4ee48 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401b00000000", + "_dd.p.tid": "69e92bcc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "a6230f92b06f433bb939c559739e2297", + "runtime-id": "61749981c55c47da8dabdbfc3cc8e1fb", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12290 + "_sampling_priority_v1": 1.0, + "process_id": 67321.0 }, - "duration": 14289541, - "start": 1757691931311713297 + "duration": 19708000, + "start": 1776888780212096000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401b00000000", + "_dd.p.tid": "69e92bcc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "a6230f92b06f433bb939c559739e2297", + "runtime-id": "61749981c55c47da8dabdbfc3cc8e1fb", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12290 + "_sampling_priority_v1": 1.0, + "process_id": 67321.0 }, - "duration": 6198167, - "start": 1757691931333198130 + "duration": 12885000, + "start": 1776888780235473000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_enabled].json index 423e59cf650..d23a95e9255 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401700000000", + "_dd.p.tid": "69e92bc900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "1886fab3-4023-4027-ad1a-93ca2a2cea39", + "messaging.message_id": "d6584270-f66d-4b85-9bfe-b50cb64bacc7", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "59f3c49fafba4c62879ad49dbccdafd2", + "runtime-id": "53a7f92e374c4171b1940c4b96aee9f6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12282 + "_sampling_priority_v1": 1.0, + "process_id": 67310.0 }, - "duration": 5089333, - "start": 1757691927756432212 + "duration": 2510000, + "start": 1776888777033558000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401700000000", + "_dd.p.tid": "69e92bc900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "ec67f9e2-aafc-4013-b8cd-be5159a1e7d6", + "messaging.message_id": "000e5fd4-1782-48ac-963c-f5eb5cd4b803", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "59f3c49fafba4c62879ad49dbccdafd2", + "runtime-id": "53a7f92e374c4171b1940c4b96aee9f6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12282 + "_sampling_priority_v1": 1.0, + "process_id": 67310.0 }, - "duration": 808083, - "start": 1757691927769353670 + "duration": 390000, + "start": 1776888777036616000 }], [ { @@ -77,8 +81,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401700000000", - "_dd.span_links": "[{\"trace_id\": \"68c44017000000001bbd12f58c419ee5\", \"span_id\": \"8b4501284983f86c\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68c4401700000000\", \"flags\": 1}, {\"trace_id\": \"68c4401700000000185b7708e863d8e3\", \"span_id\": \"3e3805196f5c7486\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68c4401700000000\", \"flags\": 1}]", + "_dd.p.tid": "69e92bc900000000", + "_dd.span_links": "[{\"trace_id\": \"69e92bc90000000004f5d3257352d47e\", \"span_id\": \"915a82c1fe1f2661\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92bc900000000\", \"flags\": 1}, {\"trace_id\": \"69e92bc900000000d10b541b869f9617\", \"span_id\": \"db0e6a3ce2103e06\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92bc900000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -86,17 +92,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "59f3c49fafba4c62879ad49dbccdafd2", + "runtime-id": "53a7f92e374c4171b1940c4b96aee9f6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12282 + "_sampling_priority_v1": 1.0, + "process_id": 67310.0 }, - "duration": 12197875, - "start": 1757691927770398337 + "duration": 23313000, + "start": 1776888777037143000 }], [ { @@ -111,24 +117,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401700000000", + "_dd.p.tid": "69e92bc900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "59f3c49fafba4c62879ad49dbccdafd2", + "runtime-id": "53a7f92e374c4171b1940c4b96aee9f6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12282 + "_sampling_priority_v1": 1.0, + "process_id": 67310.0 }, - "duration": 890083, - "start": 1757691927784499045 + "duration": 954000, + "start": 1776888777061477000 }], [ { @@ -143,25 +151,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401700000000", + "_dd.p.tid": "69e92bc900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "52863d23-2e6d-4b72-a170-7cdba5eeae29", + "messaging.message_id": "ac796801-e592-4fd9-83e5-d1f2386e9bbb", "messaging.operation": "create", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "59f3c49fafba4c62879ad49dbccdafd2", + "runtime-id": "53a7f92e374c4171b1940c4b96aee9f6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12282 + "_sampling_priority_v1": 1.0, + "process_id": 67310.0 }, - "duration": 400417, - "start": 1757691927785558253 + "duration": 598000, + "start": 1776888777062586000 }], [ { @@ -176,8 +186,10 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c4401700000000", - "_dd.span_links": "[{\"trace_id\": \"68c4401700000000ac7d7984057128da\", \"span_id\": \"bc9e3de1271c9abe\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68c4401700000000\", \"flags\": 1}, {\"trace_id\": \"68c440170000000068381c0e0384f8ba\", \"span_id\": \"0c73e3391deda087\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:68c4401700000000\", \"flags\": 1}]", + "_dd.p.tid": "69e92bc900000000", + "_dd.span_links": "[{\"trace_id\": \"69e92bc90000000083f997b1355900a8\", \"span_id\": \"6edead9cc3c0e813\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92bc900000000\", \"flags\": 1}, {\"trace_id\": \"69e92bc9000000000dbed37a4186fe2b\", \"span_id\": \"01e4a034be8e238b\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92bc900000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -185,15 +197,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "59f3c49fafba4c62879ad49dbccdafd2", + "runtime-id": "53a7f92e374c4171b1940c4b96aee9f6", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 12282 + "_sampling_priority_v1": 1.0, + "process_id": 67310.0 }, - "duration": 5903083, - "start": 1757691927786100170 + "duration": 14779000, + "start": 1776888777063311000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_disabled].json index 5838ed6d3c9..b8240414f66 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_disabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d77000000000", + "_dd.p.tid": "69e92bc500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "523e462b378b4ecc851933bb5a7ae315", + "runtime-id": "fb8f5a6612c5493cb3ab12cbfe9ba665", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16512 + "_sampling_priority_v1": 1.0, + "process_id": 67155.0 }, - "duration": 546131542, - "start": 1757534064710902010 + "duration": 527592000, + "start": 1776888773260036000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d77100000000", + "_dd.p.tid": "69e92bc500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "523e462b378b4ecc851933bb5a7ae315", + "runtime-id": "fb8f5a6612c5493cb3ab12cbfe9ba665", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16512 + "_sampling_priority_v1": 1.0, + "process_id": 67155.0 }, - "duration": 7704042, - "start": 1757534065263791260 + "duration": 6370000, + "start": 1776888773787963000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_enabled].json index c877c2406b9..3ad281968bc 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_enabled].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76d00000000", + "_dd.p.tid": "69e92bc200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -19,17 +21,17 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "63daef539cbc4629b4e21e42ffb7a8a9", + "runtime-id": "f619025fdc68490195d4880ff43ec1d2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16505 + "_sampling_priority_v1": 1.0, + "process_id": 66945.0 }, - "duration": 531543834, - "start": 1757534061253268716 + "duration": 513758000, + "start": 1776888770033345000 }], [ { @@ -44,7 +46,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76d00000000", + "_dd.p.tid": "69e92bc200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.batch_count": "2", @@ -52,15 +56,15 @@ "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "63daef539cbc4629b4e21e42ffb7a8a9", + "runtime-id": "f619025fdc68490195d4880ff43ec1d2", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16505 + "_sampling_priority_v1": 1.0, + "process_id": 66945.0 }, - "duration": 4978833, - "start": 1757534061788785217 + "duration": 7987000, + "start": 1776888770547952000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_disabled].json index 7a1dc13da1d..85f0c509504 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_disabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76900000000", + "_dd.p.tid": "69e92bbe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "6a46af62-0366-4f75-a3a2-1eebfdde4aea", + "messaging.message_id": "4313454b-680c-48bd-afd1-a438b5f82aa7", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "a27a425a24294ea0b36295730ab196d8", + "runtime-id": "b6c2c28124164c939c9c4ec0862c6659", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16498 + "_sampling_priority_v1": 1.0, + "process_id": 66846.0 }, - "duration": 552578875, - "start": 1757534057730533090 + "duration": 505190000, + "start": 1776888766860640000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76a00000000", + "_dd.p.tid": "69e92bbf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "71f81232-0d3c-4313-a04c-f280aab4882c", + "messaging.message_id": "206b8c92-807d-426c-948a-221ac3faa393", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "a27a425a24294ea0b36295730ab196d8", + "runtime-id": "b6c2c28124164c939c9c4ec0862c6659", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16498 + "_sampling_priority_v1": 1.0, + "process_id": 66846.0 }, - "duration": 7029875, - "start": 1757534058289521340 + "duration": 6908000, + "start": 1776888767366155000 }], [ { @@ -77,24 +81,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76a00000000", + "_dd.p.tid": "69e92bbf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "a27a425a24294ea0b36295730ab196d8", + "runtime-id": "b6c2c28124164c939c9c4ec0862c6659", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16498 + "_sampling_priority_v1": 1.0, + "process_id": 66846.0 }, - "duration": 5993583, - "start": 1757534058296938715 + "duration": 6740000, + "start": 1776888767373193000 }], [ { @@ -109,23 +115,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76a00000000", + "_dd.p.tid": "69e92bbf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "b33b414e-7059-4c2e-a114-fb1d5563502b", + "messaging.message_id": "4c2db42d-3f66-470d-84ac-ebfaf7e1cf57", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "a27a425a24294ea0b36295730ab196d8", + "runtime-id": "b6c2c28124164c939c9c4ec0862c6659", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16498 + "_sampling_priority_v1": 1.0, + "process_id": 66846.0 }, - "duration": 5056458, - "start": 1757534058303234382 + "duration": 7048000, + "start": 1776888767380069000 }]] diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_enabled].json index 233fa428fd8..29320800cc2 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_enabled].json @@ -11,25 +11,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76600000000", + "_dd.p.tid": "69e92bbb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "061e2b65-4cc1-4138-939b-395ba20487e3", + "messaging.message_id": "a5ce1ed6-4ce4-49b8-b91a-9b474220d838", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "135121aa8da74f3ca97abaf9816b8289", + "runtime-id": "92993f0216ce463dbd6afc413eb0bc0b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16491 + "_sampling_priority_v1": 1.0, + "process_id": 66837.0 }, - "duration": 552660000, - "start": 1757534054134645130 + "duration": 531310000, + "start": 1776888763718404000 }], [ { @@ -44,25 +46,27 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76600000000", + "_dd.p.tid": "69e92bbc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "5eae45f5-7a86-45d6-beb9-c574e6bcd0fc", + "messaging.message_id": "50c60a39-82e3-4b08-bfe1-8189726f2548", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "135121aa8da74f3ca97abaf9816b8289", + "runtime-id": "92993f0216ce463dbd6afc413eb0bc0b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16491 + "_sampling_priority_v1": 1.0, + "process_id": 66837.0 }, - "duration": 7807333, - "start": 1757534054693857880 + "duration": 13152000, + "start": 1776888764250900000 }], [ { @@ -77,24 +81,26 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76600000000", + "_dd.p.tid": "69e92bbc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "135121aa8da74f3ca97abaf9816b8289", + "runtime-id": "92993f0216ce463dbd6afc413eb0bc0b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16491 + "_sampling_priority_v1": 1.0, + "process_id": 66837.0 }, - "duration": 5892291, - "start": 1757534054702405797 + "duration": 12345000, + "start": 1776888764265086000 }], [ { @@ -109,23 +115,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "68c1d76600000000", + "_dd.p.tid": "69e92bbc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", "messaging.destination.name": "queue.1", - "messaging.message_id": "eaf39d71-071a-4e17-9ca1-46d00bfd1e7c", + "messaging.message_id": "30809224-7866-45a4-819a-14d92cc23a5e", "messaging.operation": "send", "messaging.system": "servicebus", "network.destination.name": "localhost", - "runtime-id": "135121aa8da74f3ca97abaf9816b8289", + "runtime-id": "92993f0216ce463dbd6afc413eb0bc0b", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 16491 + "_sampling_priority_v1": 1.0, + "process_id": 66837.0 }, - "duration": 4774334, - "start": 1757534054708523463 + "duration": 9815000, + "start": 1776888764277748000 }]] From dac1e974a9fd4fb84026a2f08919ba720a9c8a45 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 22 Apr 2026 13:25:54 -0700 Subject: [PATCH 059/114] update azure_functions:eventhubs snapshots --- ...racing_disabled_batch_links_disabled].json | 70 ++++++ ...tracing_disabled_batch_links_enabled].json | 208 +++++++++++++++++ ...tracing_enabled_batch_links_disabled].json | 70 ++++++ ..._tracing_enabled_batch_links_enabled].json | 210 ++++++++++++++++++ ...nc_list_distributed_tracing_disabled].json | 160 +++++++++++++ ...ync_list_distributed_tracing_enabled].json | 164 ++++++++++++++ ...racing_disabled_batch_links_disabled].json | 70 ++++++ ...tracing_disabled_batch_links_enabled].json | 208 +++++++++++++++++ ...tracing_enabled_batch_links_disabled].json | 70 ++++++ ..._tracing_enabled_batch_links_enabled].json | 210 ++++++++++++++++++ ..._tracing_enabled_batch_links_enabled].json | 210 ++++++++++++++++++ ...ync_list_distributed_tracing_enabled].json | 164 ++++++++++++++ ..._tracing_enabled_batch_links_enabled].json | 210 ++++++++++++++++++ ...red_list_distributed_tracing_enabled].json | 164 ++++++++++++++ ...ch_list_distributed_tracing_disabled].json | 160 +++++++++++++ ...tch_list_distributed_tracing_enabled].json | 164 ++++++++++++++ ..._single_distributed_tracing_disabled].json | 138 ++++++++++++ ...c_single_distributed_tracing_enabled].json | 138 ++++++++++++ ...c_single_distributed_tracing_enabled].json | 138 ++++++++++++ ...d_single_distributed_tracing_enabled].json | 138 ++++++++++++ ..._single_distributed_tracing_disabled].json | 138 ++++++++++++ ...t_single_distributed_tracing_enabled].json | 138 ++++++++++++ ...venthubs_snapshot.test_producer_error.json | 37 +++ ...me_many_distributed_tracing_disabled].json | 53 +++-- ...ume_many_distributed_tracing_enabled].json | 81 ++++--- ...ume_one_distributed_tracing_disabled].json | 43 ++-- ...sume_one_distributed_tracing_enabled].json | 49 ++-- ...me_many_distributed_tracing_disabled].json | 53 +++-- ...ume_many_distributed_tracing_enabled].json | 81 ++++--- ...ume_one_distributed_tracing_disabled].json | 43 ++-- ...sume_one_distributed_tracing_enabled].json | 49 ++-- 31 files changed, 3627 insertions(+), 202 deletions(-) create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json create mode 100644 tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json new file mode 100644 index 00000000000..011c3d6b18f --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -0,0 +1,70 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "813f3b225cfc4c9dabe617b89b65c3c6", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72017.0 + }, + "duration": 9226000, + "start": 1776889284470915000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "813f3b225cfc4c9dabe617b89b65c3c6", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72017.0 + }, + "duration": 6654000, + "start": 1776889284481657000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json new file mode 100644 index 00000000000..53aab1d6e5c --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -0,0 +1,208 @@ +[[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "875072a8bbb749e5888b4be206119512", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72009.0 + }, + "duration": 490000, + "start": 1776889281423333000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "e1700234-8119-4b39-9130-1d73f363f508", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "875072a8bbb749e5888b4be206119512", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72009.0 + }, + "duration": 157000, + "start": 1776889281424487000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "875072a8bbb749e5888b4be206119512", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72009.0 + }, + "duration": 6228000, + "start": 1776889281424752000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "875072a8bbb749e5888b4be206119512", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72009.0 + }, + "duration": 190000, + "start": 1776889281431327000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 4, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "f2cfd1e7-f0a5-4e52-b63c-6532eb93dc60", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "875072a8bbb749e5888b4be206119512", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72009.0 + }, + "duration": 259000, + "start": 1776889281431642000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 5, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "875072a8bbb749e5888b4be206119512", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72009.0 + }, + "duration": 5824000, + "start": 1776889281432013000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json new file mode 100644 index 00000000000..be2ca778a5b --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -0,0 +1,70 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dbe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "167b183261dd45dfb2f13494ed0bcfe7", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71978.0 + }, + "duration": 16107000, + "start": 1776889278351863000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dbe00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "167b183261dd45dfb2f13494ed0bcfe7", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71978.0 + }, + "duration": 11551000, + "start": 1776889278368560000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json new file mode 100644 index 00000000000..716b8086e0e --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -0,0 +1,210 @@ +[[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dbb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "5f422898715546eebad1d18a4fcb4734", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71974.0 + }, + "duration": 1591000, + "start": 1776889275264957000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dbb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "097ef7b9-bb9c-47f5-84bb-adc0c32eab5f", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "5f422898715546eebad1d18a4fcb4734", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71974.0 + }, + "duration": 556000, + "start": 1776889275267054000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dbb00000000", + "_dd.span_links": "[{\"trace_id\": \"69e92dbb000000000bbf41ae2d47f016\", \"span_id\": \"7c8f7963f20516a4\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dbb00000000\", \"flags\": 1}, {\"trace_id\": \"69e92dbb000000009716c825f8359f40\", \"span_id\": \"16c462c9ee246a8d\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dbb00000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "5f422898715546eebad1d18a4fcb4734", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71974.0 + }, + "duration": 7313000, + "start": 1776889275267813000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dbb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "5f422898715546eebad1d18a4fcb4734", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71974.0 + }, + "duration": 379000, + "start": 1776889275275530000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 4, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dbb00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "2838e55c-ddef-4c37-8dcb-9f678d718706", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "5f422898715546eebad1d18a4fcb4734", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71974.0 + }, + "duration": 352000, + "start": 1776889275276017000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 5, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dbb00000000", + "_dd.span_links": "[{\"trace_id\": \"69e92dbb00000000471692c17b5450a8\", \"span_id\": \"e873549055bc8383\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dbb00000000\", \"flags\": 1}, {\"trace_id\": \"69e92dbb00000000d5982bbbbc590627\", \"span_id\": \"51c6d347db0fece8\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dbb00000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "5f422898715546eebad1d18a4fcb4734", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71974.0 + }, + "duration": 5732000, + "start": 1776889275276466000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json new file mode 100644 index 00000000000..da670a5d32c --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json @@ -0,0 +1,160 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92db700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "4f9fb434da834686983d442a9aef32a5", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71951.0 + }, + "duration": 498818000, + "start": 1776889271665666000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 155000, + "start": 1776889272155469000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "c96d4bbb-72c6-4657-97f1-9da9996c4979", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 96000, + "start": 1776889272155697000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92db800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "4f9fb434da834686983d442a9aef32a5", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71951.0 + }, + "duration": 5507000, + "start": 1776889272164833000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 85000, + "start": 1776889272164907000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "eccfb1d3-a878-402e-982a-585f35930062", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 111000, + "start": 1776889272165018000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json new file mode 100644 index 00000000000..15d0e4fdcd6 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json @@ -0,0 +1,164 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92db400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "6d503bf4fdca4f488a8b6cffbde25882", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71933.0 + }, + "duration": 500585000, + "start": 1776889268577130000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92db400000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 904000, + "start": 1776889269063053000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92db400000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "f436e936-f6a2-4818-93a2-ad5be3183f41", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 2719000, + "start": 1776889269064109000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92db500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "6d503bf4fdca4f488a8b6cffbde25882", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71933.0 + }, + "duration": 6328000, + "start": 1776889269078472000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92db500000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 319000, + "start": 1776889269078808000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92db500000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "40cacc38-cf32-47c9-a13f-3b21efa234a3", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 346000, + "start": 1776889269079179000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json new file mode 100644 index 00000000000..a30b151d4a9 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -0,0 +1,70 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92db100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "387fb509033c435a89f41313ad1d33dd", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71923.0 + }, + "duration": 12537000, + "start": 1776889265486367000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92db100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "387fb509033c435a89f41313ad1d33dd", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71923.0 + }, + "duration": 6421000, + "start": 1776889265500542000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json new file mode 100644 index 00000000000..ce1bfcb6af8 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -0,0 +1,208 @@ +[[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dad00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "606f0dd866674480a0616a47e55c91b5", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71901.0 + }, + "duration": 2289000, + "start": 1776889261470872000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dad00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "376e8698-5cb3-4f2d-bb69-739552534ad6", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "606f0dd866674480a0616a47e55c91b5", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71901.0 + }, + "duration": 505000, + "start": 1776889261473838000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dad00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "606f0dd866674480a0616a47e55c91b5", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71901.0 + }, + "duration": 6079000, + "start": 1776889261475330000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dad00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "606f0dd866674480a0616a47e55c91b5", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71901.0 + }, + "duration": 233000, + "start": 1776889261481696000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 4, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dad00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "d30dd22a-f082-4ecd-98e6-e6ef836cbcd7", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "606f0dd866674480a0616a47e55c91b5", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71901.0 + }, + "duration": 257000, + "start": 1776889261482047000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 5, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dad00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "606f0dd866674480a0616a47e55c91b5", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71901.0 + }, + "duration": 4131000, + "start": 1776889261482406000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json new file mode 100644 index 00000000000..dba23f06119 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -0,0 +1,70 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92da900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "db2fd6d0613a4759a63c38139a11ab01", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71895.0 + }, + "duration": 12133000, + "start": 1776889257358329000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92da900000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "db2fd6d0613a4759a63c38139a11ab01", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71895.0 + }, + "duration": 5740000, + "start": 1776889257371599000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json new file mode 100644 index 00000000000..86f31f9969f --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -0,0 +1,210 @@ +[[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92da500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "9c11e2a29d94429c9a44a766f29eb180", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71872.0 + }, + "duration": 1189000, + "start": 1776889253067904000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92da500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "f5ea690c-f98b-4ae8-b98a-b737c0cbc48f", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "9c11e2a29d94429c9a44a766f29eb180", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71872.0 + }, + "duration": 627000, + "start": 1776889253069836000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92da500000000", + "_dd.span_links": "[{\"trace_id\": \"69e92da500000000ee577c91fae10f2d\", \"span_id\": \"a0d5a181827cf683\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92da500000000\", \"flags\": 1}, {\"trace_id\": \"69e92da5000000000297f45d0cafbeef\", \"span_id\": \"1d1dbe5f578a8c1a\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92da500000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "9c11e2a29d94429c9a44a766f29eb180", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71872.0 + }, + "duration": 12075000, + "start": 1776889253070649000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92da500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "9c11e2a29d94429c9a44a766f29eb180", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71872.0 + }, + "duration": 449000, + "start": 1776889253083608000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 4, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92da500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "073f7ca4-4b56-49ae-8fa4-1c3312774bc3", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "9c11e2a29d94429c9a44a766f29eb180", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71872.0 + }, + "duration": 530000, + "start": 1776889253084197000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 5, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92da500000000", + "_dd.span_links": "[{\"trace_id\": \"69e92da500000000c5ed671f94c3f7e2\", \"span_id\": \"fe447ebc560dab3f\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92da500000000\", \"flags\": 1}, {\"trace_id\": \"69e92da50000000013ece2f08304c542\", \"span_id\": \"a9e14be76d07dc50\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92da500000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "9c11e2a29d94429c9a44a766f29eb180", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71872.0 + }, + "duration": 8558000, + "start": 1776889253085098000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json new file mode 100644 index 00000000000..8c0ccfab40b --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -0,0 +1,210 @@ +[[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92ddc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "a53ebc2098e643449804a36c7c5732a8", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 73035.0 + }, + "duration": 552000, + "start": 1776889308231687000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92ddc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "887e0035-5bc9-42d6-8443-3439d0a5a9bb", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "a53ebc2098e643449804a36c7c5732a8", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 73035.0 + }, + "duration": 202000, + "start": 1776889308232504000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92ddc00000000", + "_dd.span_links": "[{\"trace_id\": \"69e92ddc00000000ca6e9d32a6b8771a\", \"span_id\": \"05f97ac7a6d16404\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92ddc00000000\", \"flags\": 1}, {\"trace_id\": \"69e92ddc00000000f6922e6912cf5f3a\", \"span_id\": \"c13e5efde64fcd62\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92ddc00000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "a53ebc2098e643449804a36c7c5732a8", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 73035.0 + }, + "duration": 428510000, + "start": 1776889308232778000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92ddc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "a53ebc2098e643449804a36c7c5732a8", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 73035.0 + }, + "duration": 152000, + "start": 1776889308661463000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 4, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92ddc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "3c5ce20c-dd51-4abe-a0f0-a867f549c4e5", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "a53ebc2098e643449804a36c7c5732a8", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 73035.0 + }, + "duration": 131000, + "start": 1776889308661663000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 5, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92ddc00000000", + "_dd.span_links": "[{\"trace_id\": \"69e92ddc00000000ef49c96d0f01092f\", \"span_id\": \"dc0a2d948b4ac23f\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92ddc00000000\", \"flags\": 1}, {\"trace_id\": \"69e92ddc000000004624f43fc638c7e7\", \"span_id\": \"8f1809213bae5ecf\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92ddc00000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "a53ebc2098e643449804a36c7c5732a8", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 73035.0 + }, + "duration": 827000, + "start": 1776889308661830000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json new file mode 100644 index 00000000000..9a4dfa43827 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json @@ -0,0 +1,164 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dd500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "8e7fce4dc0b24706a98979a6d47e8f52", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72957.0 + }, + "duration": 916722000, + "start": 1776889301796595000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92dd500000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 292000, + "start": 1776889302278586000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92dd500000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "b3b35d5d-f793-4531-a37e-0b181eb5ce02", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 183000, + "start": 1776889302278924000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dd600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "8e7fce4dc0b24706a98979a6d47e8f52", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72957.0 + }, + "duration": 1002000, + "start": 1776889302715655000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92dd600000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 121000, + "start": 1776889302715801000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92dd600000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "ca645dff-ed32-4ea7-8ed4-9c49f9440db4", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 617000, + "start": 1776889302715943000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json new file mode 100644 index 00000000000..361ea546079 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -0,0 +1,210 @@ +[[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dcf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "e96211f13d2d4c27bde0e944a408dc41", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72684.0 + }, + "duration": 948000, + "start": 1776889295712981000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dcf00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "5314eaf0-bbd6-49b0-b521-0e8025faccbd", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "e96211f13d2d4c27bde0e944a408dc41", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72684.0 + }, + "duration": 536000, + "start": 1776889295714380000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dcf00000000", + "_dd.span_links": "[{\"trace_id\": \"69e92dcf00000000d2d48d1aabef9262\", \"span_id\": \"d5b9b16ddb453340\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dcf00000000\", \"flags\": 1}, {\"trace_id\": \"69e92dcf00000000847871ef21314f0d\", \"span_id\": \"4dfd363ef2992b19\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dcf00000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "e96211f13d2d4c27bde0e944a408dc41", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72684.0 + }, + "duration": 449253000, + "start": 1776889295715057000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dd000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "e96211f13d2d4c27bde0e944a408dc41", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72684.0 + }, + "duration": 888000, + "start": 1776889296165283000 + }], +[ + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 4, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dd000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "4825ff7d-04a7-4dc4-b133-1af635ebe3c9", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "e96211f13d2d4c27bde0e944a408dc41", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72684.0 + }, + "duration": 434000, + "start": 1776889296166331000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 5, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dd000000000", + "_dd.span_links": "[{\"trace_id\": \"69e92dd0000000009a21e6128c88ed90\", \"span_id\": \"51eb191f9e780aa1\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dd000000000\", \"flags\": 1}, {\"trace_id\": \"69e92dd00000000055f882c938f6f10a\", \"span_id\": \"14147bc733b3f75c\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dd000000000\", \"flags\": 1}]", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "e96211f13d2d4c27bde0e944a408dc41", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72684.0 + }, + "duration": 683000, + "start": 1776889296166870000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json new file mode 100644 index 00000000000..57a81c7822b --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json @@ -0,0 +1,164 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "901e0087f5834de5be28e50376ee9077", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72042.0 + }, + "duration": 971066000, + "start": 1776889287927905000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92dc700000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 382000, + "start": 1776889288448460000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92dc700000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "eb692ceb-d11b-446a-9fda-92bc13db41b9", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 131000, + "start": 1776889288448892000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92dc800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "901e0087f5834de5be28e50376ee9077", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 72042.0 + }, + "duration": 690000, + "start": 1776889288899572000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92dc800000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 139000, + "start": 1776889288899749000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92dc800000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "40f4cc72-50ca-4677-8fae-5042ad8ae94d", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 144000, + "start": 1776889288899921000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json new file mode 100644 index 00000000000..1bcf96d6d6d --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json @@ -0,0 +1,160 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d9f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "2c44a493b999486aa0f021f989052116", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71831.0 + }, + "duration": 538648000, + "start": 1776889247296531000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 652000, + "start": 1776889247826912000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "de4dbf4e-9394-4526-b9d2-1e8ce7681547", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 277000, + "start": 1776889247827715000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d9f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "2c44a493b999486aa0f021f989052116", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71831.0 + }, + "duration": 6514000, + "start": 1776889247835846000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 173000, + "start": 1776889247835991000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "03f3fcf1-9310-402d-8231-099a82c89743", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 247000, + "start": 1776889247836215000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json new file mode 100644 index 00000000000..5a0f672c71e --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json @@ -0,0 +1,164 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d9b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "c1a8997c68084693907ff8de4d66b6b6", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71808.0 + }, + "duration": 528907000, + "start": 1776889243066711000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92d9b00000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 1189000, + "start": 1776889243582462000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92d9b00000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "69961c04-1483-4eac-90f7-b5adfae301f5", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 899000, + "start": 1776889243583820000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d9b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.batch_count": "2", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "c1a8997c68084693907ff8de4d66b6b6", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71808.0 + }, + "duration": 7095000, + "start": 1776889243596180000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92d9b00000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 353000, + "start": 1776889243596508000 + }, + { + "name": "azure.eventhubs.create", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.tid": "69e92d9b00000000", + "_dd.svc_src": "m", + "component": "azure_eventhubs", + "messaging.destination.name": "eh1", + "messaging.message_id": "7402f1ee-20ee-4834-837e-ffb7318258c7", + "messaging.operation": "create", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "duration": 367000, + "start": 1776889243596913000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json new file mode 100644 index 00000000000..29790847c02 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json @@ -0,0 +1,138 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "adfbd2f233314ee3a400671acf54312d", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71736.0 + }, + "duration": 501756000, + "start": 1776889226916591000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "9915215f-147b-46c3-a043-b276dfc1f0dd", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "adfbd2f233314ee3a400671acf54312d", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71736.0 + }, + "duration": 8165000, + "start": 1776889227418718000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "adfbd2f233314ee3a400671acf54312d", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71736.0 + }, + "duration": 6762000, + "start": 1776889227427083000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "ab155f83-7e50-4f37-ad4f-569f6c5fd3d0", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "adfbd2f233314ee3a400671acf54312d", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71736.0 + }, + "duration": 7794000, + "start": 1776889227434006000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json new file mode 100644 index 00000000000..bc2ae303001 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json @@ -0,0 +1,138 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "eb4d5ab1d35a4da68cd44624bd934225", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71723.0 + }, + "duration": 504244000, + "start": 1776889223775497000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "6e67bbb9-5749-4b63-aade-99c1438dad95", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "eb4d5ab1d35a4da68cd44624bd934225", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71723.0 + }, + "duration": 13929000, + "start": 1776889224280322000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "eb4d5ab1d35a4da68cd44624bd934225", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71723.0 + }, + "duration": 6265000, + "start": 1776889224294400000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "efb997c8-8efc-4b0b-a91f-63cbc0e5b430", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "eb4d5ab1d35a4da68cd44624bd934225", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71723.0 + }, + "duration": 5380000, + "start": 1776889224300965000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json new file mode 100644 index 00000000000..e338e15ddc6 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json @@ -0,0 +1,138 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d9400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "35c39e73593248f7a37f6341b4e14171", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71800.0 + }, + "duration": 918594000, + "start": 1776889236396710000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d9500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "9b855c4e-8629-480e-aae7-01b720e30f33", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "35c39e73593248f7a37f6341b4e14171", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71800.0 + }, + "duration": 1259000, + "start": 1776889237316111000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d9500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "35c39e73593248f7a37f6341b4e14171", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71800.0 + }, + "duration": 291000, + "start": 1776889237317469000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d9500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "85a74a9b-f545-44de-841a-fdac3566bc45", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "35c39e73593248f7a37f6341b4e14171", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71800.0 + }, + "duration": 192000, + "start": 1776889237317827000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json new file mode 100644 index 00000000000..bfdc937dfed --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json @@ -0,0 +1,138 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "8a7790d9977a40d7a07a612270acf322", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71753.0 + }, + "duration": 950297000, + "start": 1776889230824278000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "b7b1d893-a39c-4f00-9799-59e3fee59cd9", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "8a7790d9977a40d7a07a612270acf322", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71753.0 + }, + "duration": 1025000, + "start": 1776889231775351000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "8a7790d9977a40d7a07a612270acf322", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71753.0 + }, + "duration": 294000, + "start": 1776889231776518000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "9104a3e3-07a3-4f1f-9383-f00eed68f732", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "8a7790d9977a40d7a07a612270acf322", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71753.0 + }, + "duration": 204000, + "start": 1776889231776879000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json new file mode 100644 index 00000000000..ee412e4bb92 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json @@ -0,0 +1,138 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "7cfa4051710a407f95ed919bb0e2cea3", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71692.0 + }, + "duration": 544350000, + "start": 1776889220175062000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "092bb954-6183-4a1d-a3a7-0168a001534f", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "7cfa4051710a407f95ed919bb0e2cea3", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71692.0 + }, + "duration": 12457000, + "start": 1776889220722607000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "7cfa4051710a407f95ed919bb0e2cea3", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71692.0 + }, + "duration": 6313000, + "start": 1776889220736069000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8400000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "214de796-9a14-4679-9c0a-32b4318ffbe1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "7cfa4051710a407f95ed919bb0e2cea3", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71692.0 + }, + "duration": 8647000, + "start": 1776889220742651000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json new file mode 100644 index 00000000000..4d696259610 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json @@ -0,0 +1,138 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "64493f05904a4223af5e4f5ccd42b629", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71671.0 + }, + "duration": 599553000, + "start": 1776889216130325000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "2d70e3b9-9320-4ef8-9990-c43fede63c25", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "64493f05904a4223af5e4f5ccd42b629", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71671.0 + }, + "duration": 16268000, + "start": 1776889216730662000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 2, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "64493f05904a4223af5e4f5ccd42b629", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71671.0 + }, + "duration": 5344000, + "start": 1776889216747264000 + }], +[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 3, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92d8000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", + "component": "azure_eventhubs", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.message_id": "beeb5b2e-1793-4dee-bf05-048b8f8828a2", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "64493f05904a4223af5e4f5ccd42b629", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71671.0 + }, + "duration": 4865000, + "start": 1776889216752865000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json new file mode 100644 index 00000000000..f62332a72a9 --- /dev/null +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json @@ -0,0 +1,37 @@ +[[ + { + "name": "azure.eventhubs.send", + "service": "azure_eventhubs", + "resource": "eh1", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.base_service": "tests.contrib.azure_eventhubs", + "_dd.p.dm": "-0", + "_dd.p.tid": "69e92de000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_eventhubs", + "component": "azure_eventhubs", + "error.message": "'EventData' object is not iterable", + "error.stack": "Traceback (most recent call last):\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/azure_eventhubs/patch.py\", line 176, in _patched_send_batch\n return wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31115_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.11/site-packages/azure/eventhub/_producer_client.py\", line 752, in send_batch\n batch, pid, pkey = self._batch_preparer(\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31115_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.11/site-packages/azure/eventhub/_producer_client.py\", line 293, in _batch_preparer\n to_send_batch._load_events( # pylint:disable=protected-access\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31115_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azureeventhub~5120_pytest-asyncio0237/lib/python3.11/site-packages/azure/eventhub/_common.py\", line 622, in _load_events\n for event_data in events:\nTypeError: 'EventData' object is not iterable\n", + "error.type": "builtins.TypeError", + "language": "python", + "messaging.destination.name": "eh1", + "messaging.operation": "send", + "messaging.system": "eventhubs", + "network.destination.name": "localhost", + "runtime-id": "d8d5dfaa712949fe94263fdd34edd7ee", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 71667.0 + }, + "duration": 524382000, + "start": 1776889312402297000 + }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json index dffaae98e77..cb544b25373 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71e800000000", + "_dd.p.tid": "69e92e5d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", "component": "azure_functions", @@ -19,17 +21,17 @@ "messaging.operation": "receive", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "72c33ab5276a4895ab368e080b815b58", + "runtime-id": "8e55720e64bf4736b0920fc8675e35aa", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 34025 + "_sampling_priority_v1": 1.0, + "process_id": 86503.0 }, - "duration": 167375, - "start": 1758228968132688846 + "duration": 223000, + "start": 1776889437894093000 }], [ { @@ -42,7 +44,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71e700000000", + "_dd.p.tid": "69e92e5d00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -52,17 +56,17 @@ "http.url": "http://0.0.0.0:7071/api/sendeventbatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "72c33ab5276a4895ab368e080b815b58", + "runtime-id": "8e55720e64bf4736b0920fc8675e35aa", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 34025 + "_sampling_priority_v1": 1.0, + "process_id": 86503.0 }, - "duration": 531330208, - "start": 1758228967472768846 + "duration": 537719000, + "start": 1776889437309121000 }, { "name": "azure.eventhubs.create", @@ -74,6 +78,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -82,10 +87,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 252916, - "start": 1758228967997249638 + "duration": 317000, + "start": 1776889437833602000 }, { "name": "azure.eventhubs.create", @@ -97,6 +102,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -105,10 +111,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 94792, - "start": 1758228967998357221 + "duration": 116000, + "start": 1776889437834107000 }, { "name": "azure.eventhubs.send", @@ -120,6 +126,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", @@ -129,8 +136,8 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 4308666, - "start": 1758228967998570388 + "duration": 10735000, + "start": 1776889437834323000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json index 2100e9858ab..f181688672a 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71dc00000000", + "_dd.p.tid": "69e92e5200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", "component": "azure_functions", @@ -19,33 +21,33 @@ "messaging.operation": "receive", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "9c4bc93f54b84f159875e6c7a17ca757", + "runtime-id": "5f88c43e49d746a0b41529b00e79d790", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 33630 + "_sampling_priority_v1": 1.0, + "process_id": 85103.0 }, "span_links": [ { "trace_id": 1, + "trace_id_high": 7631681968983244800, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc71db00000000", - "flags": 2147483649, - "trace_id_high": 7551535860605255680 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e5100000000", + "flags": 2147483649 }, { "trace_id": 1, + "trace_id_high": 7631681968983244800, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc71db00000000", - "flags": 2147483649, - "trace_id_high": 7551535860605255680 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e5100000000", + "flags": 2147483649 } ], - "duration": 399833, - "start": 1758228956042088674 + "duration": 794000, + "start": 1776889426545862000 }], [ { @@ -58,7 +60,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71db00000000", + "_dd.p.tid": "69e92e5100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -68,17 +72,17 @@ "http.url": "http://0.0.0.0:7071/api/sendeventbatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "9c4bc93f54b84f159875e6c7a17ca757", + "runtime-id": "5f88c43e49d746a0b41529b00e79d790", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 33630 + "_sampling_priority_v1": 1.0, + "process_id": 85103.0 }, - "duration": 518065167, - "start": 1758228955378548090 + "duration": 527604000, + "start": 1776889425969963000 }, { "name": "azure.eventhubs.create", @@ -90,6 +94,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -98,10 +103,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 1425875, - "start": 1758228955886461590 + "duration": 689000, + "start": 1776889426481829000 }, { "name": "azure.eventhubs.create", @@ -113,7 +118,8 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68cc71db00000000", + "_dd.p.tid": "69e92e5100000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -122,10 +128,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 246250, - "start": 1758228955888524132 + "duration": 145000, + "start": 1776889426482640000 }, { "name": "azure.eventhubs.send", @@ -137,7 +143,8 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68cc71db00000000", + "_dd.p.tid": "69e92e5100000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", @@ -147,24 +154,24 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "span_links": [ { "trace_id": 1, + "trace_id_high": 7631681968983244800, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc71db00000000", - "flags": 2147483649, - "trace_id_high": 7551535860605255680 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e5100000000", + "flags": 2147483649 }, { "trace_id": 1, + "trace_id_high": 7631681968983244800, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc71db00000000", - "flags": 2147483649, - "trace_id_high": 7551535860605255680 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e5100000000", + "flags": 2147483649 } ], - "duration": 5803334, - "start": 1758228955888866840 + "duration": 12284000, + "start": 1776889426482860000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json index e409826c3fb..c16619de25d 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json @@ -9,27 +9,29 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71d000000000", + "_dd.p.tid": "69e92e4700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", "component": "azure_functions", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "e2534dce-cda6-4aeb-bd58-234f88525668", + "messaging.message_id": "f86653a1-613d-42c1-b384-1fd2575b1f73", "messaging.operation": "receive", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "bc64747faba64415bc5f36887dc6fc6c", + "runtime-id": "f471827456444119981b3549b4c39919", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 33235 + "_sampling_priority_v1": 1.0, + "process_id": 83581.0 }, - "duration": 128875, - "start": 1758228944939108418 + "duration": 163000, + "start": 1776889415697240000 }], [ { @@ -42,7 +44,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71d000000000", + "_dd.p.tid": "69e92e4700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", "component": "azure_functions", @@ -52,17 +56,17 @@ "http.url": "http://0.0.0.0:7071/api/sendeventsingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "bc64747faba64415bc5f36887dc6fc6c", + "runtime-id": "f471827456444119981b3549b4c39919", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 33235 + "_sampling_priority_v1": 1.0, + "process_id": 83581.0 }, - "duration": 533302667, - "start": 1758228944299295668 + "duration": 520211000, + "start": 1776889415155242000 }, { "name": "azure.eventhubs.send", @@ -74,17 +78,18 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "e2534dce-cda6-4aeb-bd58-234f88525668", + "messaging.message_id": "f86653a1-613d-42c1-b384-1fd2575b1f73", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 529696375, - "start": 1758228944299968460 + "duration": 518835000, + "start": 1776889415155587000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json index cbca164661b..a7f1a3697cb 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json @@ -9,36 +9,38 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71c500000000", + "_dd.p.tid": "69e92e3c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", "component": "azure_functions", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "703cb3d8-2b1b-4025-add9-f630dc0b3ab8", + "messaging.message_id": "2e3400d9-aa1d-415f-ba66-3dcea93400e4", "messaging.operation": "receive", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "42576f457ef147149e5440b2830ab20e", + "runtime-id": "963022503337430e8208fc3cdbf56a5d", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 32839 + "_sampling_priority_v1": 1.0, + "process_id": 82081.0 }, "span_links": [ { "trace_id": 1, + "trace_id_high": 7631681878788931584, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc71c500000000", - "flags": 2147483649, - "trace_id_high": 7551535766115975168 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e3c00000000", + "flags": 2147483649 } ], - "duration": 1061125, - "start": 1758228933837521469 + "duration": 378000, + "start": 1776889404869010000 }], [ { @@ -51,7 +53,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71c500000000", + "_dd.p.tid": "69e92e3c00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", "component": "azure_functions", @@ -61,17 +65,17 @@ "http.url": "http://0.0.0.0:7071/api/sendeventsingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "42576f457ef147149e5440b2830ab20e", + "runtime-id": "963022503337430e8208fc3cdbf56a5d", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 32839 + "_sampling_priority_v1": 1.0, + "process_id": 82081.0 }, - "duration": 528107792, - "start": 1758228933203857719 + "duration": 536360000, + "start": 1776889404306633000 }, { "name": "azure.eventhubs.send", @@ -83,17 +87,18 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "703cb3d8-2b1b-4025-add9-f630dc0b3ab8", + "messaging.message_id": "2e3400d9-aa1d-415f-ba66-3dcea93400e4", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 524867792, - "start": 1758228933204492219 + "duration": 534233000, + "start": 1776889404307035000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json index a0ac1577e4b..fe4b692e662 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71ba00000000", + "_dd.p.tid": "69e92e3100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", "component": "azure_functions", @@ -19,17 +21,17 @@ "messaging.operation": "receive", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "08ce7f2846ee4ce4967a245a04a5097d", + "runtime-id": "9d966a84e5fe4bf6bc515968925d2958", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 32443 + "_sampling_priority_v1": 1.0, + "process_id": 80630.0 }, - "duration": 154625, - "start": 1758228922795489297 + "duration": 225000, + "start": 1776889393559806000 }], [ { @@ -42,7 +44,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71ba00000000", + "_dd.p.tid": "69e92e3000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -52,17 +56,17 @@ "http.url": "http://0.0.0.0:7071/api/sendeventbatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "08ce7f2846ee4ce4967a245a04a5097d", + "runtime-id": "9d966a84e5fe4bf6bc515968925d2958", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 32443 + "_sampling_priority_v1": 1.0, + "process_id": 80630.0 }, - "duration": 516742626, - "start": 1758228922146122255 + "duration": 544564000, + "start": 1776889392966493000 }, { "name": "azure.eventhubs.create", @@ -74,6 +78,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -82,10 +87,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 241583, - "start": 1758228922655677006 + "duration": 306000, + "start": 1776889393495912000 }, { "name": "azure.eventhubs.create", @@ -97,6 +102,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -105,10 +111,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 82041, - "start": 1758228922656586256 + "duration": 100000, + "start": 1776889393496370000 }, { "name": "azure.eventhubs.send", @@ -120,6 +126,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", @@ -129,8 +136,8 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 4348667, - "start": 1758228922656758714 + "duration": 13037000, + "start": 1776889393496653000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json index bc53bc77b23..597f1637739 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json @@ -9,7 +9,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71af00000000", + "_dd.p.tid": "69e92e2600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", "component": "azure_functions", @@ -19,33 +21,33 @@ "messaging.operation": "receive", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "23794c42c55c4f6ab2f7895a57678087", + "runtime-id": "0d5ffa456c23469787fe966acfe0921e", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 32047 + "_sampling_priority_v1": 1.0, + "process_id": 79209.0 }, "span_links": [ { "trace_id": 1, + "trace_id_high": 7631681784299651072, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc71ae00000000", - "flags": 2147483649, - "trace_id_high": 7551535667331727360 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e2600000000", + "flags": 2147483649 }, { "trace_id": 1, + "trace_id_high": 7631681784299651072, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc71ae00000000", - "flags": 2147483649, - "trace_id_high": 7551535667331727360 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e2600000000", + "flags": 2147483649 } ], - "duration": 419625, - "start": 1758228911246453333 + "duration": 347000, + "start": 1776889382702178000 }], [ { @@ -58,7 +60,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71ae00000000", + "_dd.p.tid": "69e92e2600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", "component": "azure_functions", @@ -68,17 +72,17 @@ "http.url": "http://0.0.0.0:7071/api/sendeventbatch", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "23794c42c55c4f6ab2f7895a57678087", + "runtime-id": "0d5ffa456c23469787fe966acfe0921e", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 32047 + "_sampling_priority_v1": 1.0, + "process_id": 79209.0 }, - "duration": 531109917, - "start": 1758228910584137791 + "duration": 556612000, + "start": 1776889382090626000 }, { "name": "azure.eventhubs.create", @@ -90,6 +94,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -98,10 +103,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 1403500, - "start": 1758228911106487542 + "duration": 807000, + "start": 1776889382632606000 }, { "name": "azure.eventhubs.create", @@ -113,7 +118,8 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68cc71ae00000000", + "_dd.p.tid": "69e92e2600000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -122,10 +128,10 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 226542, - "start": 1758228911108522500 + "duration": 254000, + "start": 1776889382633622000 }, { "name": "azure.eventhubs.send", @@ -137,7 +143,8 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.p.tid": "68cc71ae00000000", + "_dd.p.tid": "69e92e2600000000", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", @@ -147,24 +154,24 @@ "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, "span_links": [ { "trace_id": 1, + "trace_id_high": 7631681784299651072, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc71ae00000000", - "flags": 2147483649, - "trace_id_high": 7551535667331727360 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e2600000000", + "flags": 2147483649 }, { "trace_id": 1, + "trace_id_high": 7631681784299651072, "span_id": 3, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc71ae00000000", - "flags": 2147483649, - "trace_id_high": 7551535667331727360 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e2600000000", + "flags": 2147483649 } ], - "duration": 5166000, - "start": 1758228911108862333 + "duration": 11434000, + "start": 1776889382634012000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json index 9e5c48811a0..57e36f9918e 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json @@ -9,27 +9,29 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71a300000000", + "_dd.p.tid": "69e92e1b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", "component": "azure_functions", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "3d9682b6-6d2b-40e2-aec3-cad9f7a82f57", + "messaging.message_id": "0d613221-a4e2-46ce-9d7e-c5c87807baf8", "messaging.operation": "receive", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "b359e920aa524b7a86106903e5541ab2", + "runtime-id": "ead0984029d843338a10a2b47cb166eb", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 31652 + "_sampling_priority_v1": 1.0, + "process_id": 76580.0 }, - "duration": 142750, - "start": 1758228899648788259 + "duration": 268000, + "start": 1776889371299666000 }], [ { @@ -42,7 +44,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc71a300000000", + "_dd.p.tid": "69e92e1a00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", "component": "azure_functions", @@ -52,17 +56,17 @@ "http.url": "http://0.0.0.0:7071/api/sendeventsingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "b359e920aa524b7a86106903e5541ab2", + "runtime-id": "ead0984029d843338a10a2b47cb166eb", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 31652 + "_sampling_priority_v1": 1.0, + "process_id": 76580.0 }, - "duration": 524326000, - "start": 1758228899006158217 + "duration": 536314000, + "start": 1776889370741887000 }, { "name": "azure.eventhubs.send", @@ -74,17 +78,18 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "3d9682b6-6d2b-40e2-aec3-cad9f7a82f57", + "messaging.message_id": "0d613221-a4e2-46ce-9d7e-c5c87807baf8", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 519475959, - "start": 1758228899006772050 + "duration": 533879000, + "start": 1776889370742349000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json index 30f026f395f..c0025c8f337 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json @@ -9,36 +9,38 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc719800000000", + "_dd.p.tid": "69e92e1000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", "component": "azure_functions", "language": "python", "messaging.destination.name": "eh1", - "messaging.message_id": "563cbc8e-ec3a-4b5c-b28f-9f2a9eb7143d", + "messaging.message_id": "364f4097-f9b3-41c4-ab88-4a1d4066a77c", "messaging.operation": "receive", "messaging.system": "eventhubs", "network.destination.name": "localhost", - "runtime-id": "969bca1b0998421a80c39d2169662464", + "runtime-id": "868db54ea6c244f8ac826bd23636642f", "span.kind": "consumer" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 31256 + "_sampling_priority_v1": 1.0, + "process_id": 75145.0 }, "span_links": [ { "trace_id": 1, + "trace_id_high": 7631681685515403264, "span_id": 2, - "tracestate": "dd=s:1;t.dm:-0;t.tid:68cc719700000000", - "flags": 2147483649, - "trace_id_high": 7551535568547479552 + "tracestate": "dd=s:1;t.dm:-0;t.tid:69e92e0f00000000", + "flags": 2147483649 } ], - "duration": 1177792, - "start": 1758228888547321337 + "duration": 366000, + "start": 1776889360461429000 }], [ { @@ -51,7 +53,9 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "68cc719700000000", + "_dd.p.tid": "69e92e0f00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", "component": "azure_functions", @@ -61,17 +65,17 @@ "http.url": "http://0.0.0.0:7071/api/sendeventsingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "969bca1b0998421a80c39d2169662464", + "runtime-id": "868db54ea6c244f8ac826bd23636642f", "span.kind": "server" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 31256 + "_sampling_priority_v1": 1.0, + "process_id": 75145.0 }, - "duration": 532820167, - "start": 1758228887901005003 + "duration": 532745000, + "start": 1776889359908280000 }, { "name": "azure.eventhubs.send", @@ -83,17 +87,18 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", - "messaging.message_id": "563cbc8e-ec3a-4b5c-b28f-9f2a9eb7143d", + "messaging.message_id": "364f4097-f9b3-41c4-ab88-4a1d4066a77c", "messaging.operation": "send", "messaging.system": "eventhubs", "network.destination.name": "localhost", "span.kind": "producer" }, "metrics": { - "_dd.top_level": 1 + "_dd.top_level": 1.0 }, - "duration": 528845375, - "start": 1758228887901784837 + "duration": 530473000, + "start": 1776889359908688000 }]] From 6a6a029700a322e56cad49456edc9c9101d4f426 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 22 Apr 2026 14:18:20 -0700 Subject: [PATCH 060/114] suitespec --- tests/contrib/suitespec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/contrib/suitespec.yml b/tests/contrib/suitespec.yml index f71d983e36d..f40fce4df2e 100644 --- a/tests/contrib/suitespec.yml +++ b/tests/contrib/suitespec.yml @@ -409,6 +409,7 @@ suites: - '@tracing' - '@azure_eventhubs' - tests/contrib/azure_eventhubs/* + - tests/snapshots/tests.contrib.azure_eventhubs.* snapshot: true services: - azurite From 0e0255c3333dc4bf99e803f34faf87d26afb793d Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 22 Apr 2026 15:09:55 -0700 Subject: [PATCH 061/114] update integration-snapshot snapshots --- ...t_snapshots.test_context_multiprocess.json | 30 ++++--- ..._sampling.test_agent_sample_rate_keep.json | 32 ++++--- ...ampling.test_agent_sample_rate_reject.json | 32 ++++--- ...ion.test_sampling_decision_downstream.json | 14 +-- ....test_ddtrace_run_trace_methods_async.json | 60 +++++++------ ...s.test_ddtrace_run_trace_methods_sync.json | 85 +++++++++++-------- 6 files changed, 149 insertions(+), 104 deletions(-) diff --git a/tests/snapshots/tests.integration.test_context_snapshots.test_context_multiprocess.json b/tests/snapshots/tests.integration.test_context_snapshots.test_context_multiprocess.json index 37c2d193cf3..4b9a1a350d0 100644 --- a/tests/snapshots/tests.integration.test_context_snapshots.test_context_multiprocess.json +++ b/tests/snapshots/tests.integration.test_context_snapshots.test_context_multiprocess.json @@ -10,17 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e9463200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "8967af86b1d84cf5878cf275174b3842" + "runtime-id": "17cc97af76fc4ce783a0ce3ddde77251" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15845 + "_sampling_priority_v1": 1.0, + "process_id": 47222.0 }, - "duration": 251599546, - "start": 1690574466539280553 + "duration": 278586417, + "start": 1776895538019328170 }, { "name": "proc", @@ -33,15 +36,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e9463200000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1a8667136c9b439e8548f04837c5a691" + "runtime-id": "1768a70bac264e9cb687fa28addd5903" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 15846 + "_sampling_priority_v1": 1.0, + "process_id": 47227.0 }, - "duration": 100349677, - "start": 1690574466541564275 + "duration": 101479083, + "start": 1776895538045297295 }]] diff --git a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json index fdf95ed4a30..3d77135fc08 100644 --- a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json +++ b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json @@ -12,19 +12,21 @@ "_dd.base_service": "tests.integration", "_dd.p.dm": "-1", "_dd.p.ksr": "0.9999", - "_dd.p.tid": "656a1a2b00000000", + "_dd.p.tid": "69e945dc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "701521214f1f4473abe1afca4813fbec" + "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" }, "metrics": { "_dd.agent_psr": 0.9999, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 86402 + "_sampling_priority_v1": 1.0, + "process_id": 46728.0 }, - "duration": 59000, - "start": 1701452331028235000 + "duration": 20459, + "start": 1776895452728148255 }], [ { @@ -38,16 +40,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "656a1a2a00000000", + "_dd.p.tid": "69e945dc00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "701521214f1f4473abe1afca4813fbec" + "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 86402 + "_sampling_priority_v1": 1.0, + "process_id": 46728.0 }, - "duration": 197000, - "start": 1701452330966062000 + "duration": 70292, + "start": 1776895452726755505 }]] diff --git a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json index c786d8ed30a..bb3265123dd 100644 --- a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json +++ b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json @@ -12,19 +12,21 @@ "_dd.base_service": "tests.integration", "_dd.p.dm": "-1", "_dd.p.ksr": "0.0001", - "_dd.p.tid": "656a1a2b00000000", + "_dd.p.tid": "69e945dc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "701521214f1f4473abe1afca4813fbec" + "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" }, "metrics": { "_dd.agent_psr": 0.0001, - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 0, - "process_id": 86402 + "_sampling_priority_v1": 0.0, + "process_id": 46728.0 }, - "duration": 30000, - "start": 1701452331042592000 + "duration": 31958, + "start": 1776895452736377922 }], [ { @@ -38,16 +40,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "656a1a2b00000000", + "_dd.p.tid": "69e945dc00000000", + "_dd.svc_src": "tests.integration", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "701521214f1f4473abe1afca4813fbec" + "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 86402 + "_sampling_priority_v1": 1.0, + "process_id": 46728.0 }, - "duration": 43000, - "start": 1701452331041315000 + "duration": 44833, + "start": 1776895452735326297 }]] diff --git a/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json b/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json index 53773d8d0c5..f3db6486dc7 100644 --- a/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json +++ b/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json @@ -11,15 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-4", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "f335963d0a054add88871c4f52e100e1" + "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 18654 + "_sampling_priority_v1": -1.0, + "process_id": 46728.0 }, - "duration": 43375, - "start": 1692900311350025587 + "duration": 41542, + "start": 1776895537245406711 }]] diff --git a/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_async.json b/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_async.json index 0a6586d835a..d7712255374 100644 --- a/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_async.json +++ b/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_async.json @@ -10,18 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e945db00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "235aacae84aa4495b4c4550b8d3ad954" + "runtime-id": "610b50a3cf004dddab60c9c4ed8bf089" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96569 + "_sampling_priority_v1": 1.0, + "process_id": 46781.0 }, - "duration": 47000, - "start": 1695501452080827000 + "duration": 12625167, + "start": 1776895451974427755 }], [ { @@ -35,18 +38,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e945db00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "235aacae84aa4495b4c4550b8d3ad954" + "runtime-id": "610b50a3cf004dddab60c9c4ed8bf089" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96569 + "_sampling_priority_v1": 1.0, + "process_id": 46781.0 }, - "duration": 29000, - "start": 1695501452119379000 + "duration": 11937083, + "start": 1776895451987325172 }], [ { @@ -60,18 +66,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e945db00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "235aacae84aa4495b4c4550b8d3ad954" + "runtime-id": "610b50a3cf004dddab60c9c4ed8bf089" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96569 + "_sampling_priority_v1": 1.0, + "process_id": 46781.0 }, - "duration": 18000, - "start": 1695501452130535000 + "duration": 11995292, + "start": 1776895451999342255 }], [ { @@ -85,16 +94,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e945dc00000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "235aacae84aa4495b4c4550b8d3ad954" + "runtime-id": "610b50a3cf004dddab60c9c4ed8bf089" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96569 + "_sampling_priority_v1": 1.0, + "process_id": 46781.0 }, - "duration": 17000, - "start": 1695501452141662000 + "duration": 13006916, + "start": 1776895452011401047 }]] diff --git a/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_sync.json b/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_sync.json index af510abaf34..52000c8e41e 100644 --- a/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_sync.json +++ b/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_sync.json @@ -10,18 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e9472100000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "a4c8bddf09d34941a4c54f443e872ff5" + "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96564 + "_sampling_priority_v1": 1.0, + "process_id": 48076.0 }, - "duration": 51000, - "start": 1695501451496806000 + "duration": 49750, + "start": 1776895777892277003 }], [ { @@ -35,18 +38,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e9472100000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "a4c8bddf09d34941a4c54f443e872ff5" + "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96564 + "_sampling_priority_v1": 1.0, + "process_id": 48076.0 }, - "duration": 90000, - "start": 1695501451524783000 + "duration": 42750, + "start": 1776895777892629003 }, { "name": "trace.annotation", @@ -58,10 +64,11 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "ddtrace_subprocess_dir", "component": "trace" }, - "duration": 10000, - "start": 1695501451524855000 + "duration": 12417, + "start": 1776895777892651503 }], [ { @@ -75,18 +82,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e9472100000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "a4c8bddf09d34941a4c54f443e872ff5" + "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96564 + "_sampling_priority_v1": 1.0, + "process_id": 48076.0 }, - "duration": 15000, - "start": 1695501451524913000 + "duration": 8458, + "start": 1776895777892725378 }], [ { @@ -100,18 +110,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e9472100000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "a4c8bddf09d34941a4c54f443e872ff5" + "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96564 + "_sampling_priority_v1": 1.0, + "process_id": 48076.0 }, - "duration": 26000, - "start": 1695501451524947000 + "duration": 23416, + "start": 1776895777892767295 }, { "name": "trace.annotation", @@ -123,10 +136,11 @@ "type": "", "error": 0, "meta": { + "_dd.svc_src": "ddtrace_subprocess_dir", "component": "trace" }, - "duration": 6000, - "start": 1695501451524963000 + "duration": 7500, + "start": 1776895777892778628 }], [ { @@ -140,16 +154,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", + "_dd.p.tid": "69e9472100000000", + "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "a4c8bddf09d34941a4c54f443e872ff5" + "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" }, "metrics": { - "_dd.top_level": 1, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 96564 + "_sampling_priority_v1": 1.0, + "process_id": 48076.0 }, - "duration": 12000, - "start": 1695501451524990000 + "duration": 5792, + "start": 1776895777892819128 }]] From f62bd2e46ea1e7db8e537e4df6da4346aa19f34a Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 23 Apr 2026 06:41:42 -0700 Subject: [PATCH 062/114] regenerate rq snapshot --- ....test_rq.test_custom_job_id_in_span_tags.json | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_custom_job_id_in_span_tags.json b/tests/snapshots/tests.contrib.rq.test_rq.test_custom_job_id_in_span_tags.json index 86ebfe1277f..3a0a747359e 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_custom_job_id_in_span_tags.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_custom_job_id_in_span_tags.json @@ -11,23 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69b9302f00000000", + "_dd.p.tid": "69ea217700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", "job.id": "my-custom-job-id", "language": "python", "queue.name": "sync-q", - "runtime-id": "12d8cd5abfbf4a28a28c9b236f8c6064", + "runtime-id": "ccbfb0988dad482897d1eb4f74c5e585", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 1066.0 }, - "duration": 10206459, - "start": 1773744175382465041 + "duration": 3309875, + "start": 1776951671477092138 }, { "name": "rq.job.perform", @@ -44,6 +46,6 @@ "component": "rq", "job.id": "my-custom-job-id" }, - "duration": 614250, - "start": 1773744175390601000 + "duration": 290750, + "start": 1776951671479177555 }]] From 78d69f08bf13bca7a98b28a23cce8251dda887b1 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 23 Apr 2026 06:44:51 -0700 Subject: [PATCH 063/114] update mlflow snapshots --- ...lflow.test_mlflow_context_manager_run.json | 31 +++-- ....test_mlflow.test_mlflow_error_in_run.json | 27 ++-- ...ow.test_mlflow.test_mlflow_manual_run.json | 31 +++-- ...est_mlflow.test_mlflow_multiple_steps.json | 39 ++++-- ...ow.test_mlflow.test_mlflow_nested_run.json | 55 +++++--- ...ates_mlflow_tracing_and_log_injection.json | 22 +-- ...w_multithreaded_steps_on_the_same_run.json | 55 +++++--- ...ultithreaded_steps_specifying_new_run.json | 95 ++++++++----- ...ltithreaded_steps_specifying_same_run.json | 48 ++++--- ..._without_explicit_run_id_global_stack.json | 129 ------------------ ..._without_explicit_run_id_thread_local.json | 79 ++++++----- 11 files changed, 291 insertions(+), 320 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_context_manager_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_context_manager_run.json index 0cfca450b69..ff154901fec 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_context_manager_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_context_manager_run.json @@ -9,23 +9,26 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69b1461800000000", + "_dd.p.tid": "69ea222500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", - "mlflow.run_id": "3faaeb33781b4d7c82dd6e3f05c69bdb", + "mlflow.run_id": "b441583091954b95abf2f0ee092e0ffc", "mlflow.run_name": "context_run", - "runtime-id": "00c5ae6586e749afa643c7d3f002dd8d", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 40358625, - "start": 1773225496692068127 + "duration": 18667000, + "start": 1776951845531631927 }, { "name": "run.step", @@ -37,13 +40,15 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "3faaeb33781b4d7c82dd6e3f05c69bdb", + "mlflow.run_id": "b441583091954b95abf2f0ee092e0ffc", "mlflow.step": "0", "span.kind": "internal" }, - "duration": 9422334, - "start": 1773225496722917168 + "duration": 4443791, + "start": 1776951845545812177 }, { "name": "mlflow.manual.work", @@ -55,8 +60,10 @@ "type": "", "error": 0, "meta": { - "mlflow.run_id": "3faaeb33781b4d7c82dd6e3f05c69bdb" + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", + "mlflow.run_id": "b441583091954b95abf2f0ee092e0ffc" }, - "duration": 60792, - "start": 1773225496723051960 + "duration": 30708, + "start": 1776951845545893552 }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_error_in_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_error_in_run.json index 986e7f3c76f..5d2f9e3ca87 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_error_in_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_error_in_run.json @@ -9,25 +9,28 @@ "type": "worker", "error": 1, "meta": { + "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69b1461200000000", + "_dd.p.tid": "69ea222500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "error.message": "this is an error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/mlflow/test_mlflow.py\", line 71, in test_mlflow_error_in_run\n raise ValueError(\"this is an error\")\nValueError: this is an error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/mlflow/test_mlflow.py\", line 63, in test_mlflow_error_in_run\n raise ValueError(\"this is an error\")\nValueError: this is an error\n", "error.type": "builtins.ValueError", "language": "python", - "mlflow.run_id": "9dd588c18c2943b8b700029d6e4a0c50", - "runtime-id": "00c5ae6586e749afa643c7d3f002dd8d", + "mlflow.run_id": "fa4e38a0edf1494d8d282cab36618867", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 39594708, - "start": 1773225490570288180 + "duration": 34754708, + "start": 1776951845564127010 }, { "name": "run.step", @@ -39,14 +42,16 @@ "type": "worker", "error": 1, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", "error.message": "this is an error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/mlflow/test_mlflow.py\", line 71, in test_mlflow_error_in_run\n raise ValueError(\"this is an error\")\nValueError: this is an error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/mlflow/test_mlflow.py\", line 63, in test_mlflow_error_in_run\n raise ValueError(\"this is an error\")\nValueError: this is an error\n", "error.type": "builtins.ValueError", - "mlflow.run_id": "9dd588c18c2943b8b700029d6e4a0c50", + "mlflow.run_id": "fa4e38a0edf1494d8d282cab36618867", "mlflow.step": "0", "span.kind": "internal" }, - "duration": 10612959, - "start": 1773225490598887596 + "duration": 6123000, + "start": 1776951845592609302 }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_manual_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_manual_run.json index ecd34782a43..073d3ad5719 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_manual_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_manual_run.json @@ -9,23 +9,26 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69b1461200000000", + "_dd.p.tid": "69ea222500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", - "mlflow.run_id": "b9b6fc2bd2da4d4ba2fe1a51e4d3a19d", + "mlflow.run_id": "4a2d26c584634b599f5496e88a0800c8", "mlflow.run_name": "manual_run", - "runtime-id": "00c5ae6586e749afa643c7d3f002dd8d", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 37130625, - "start": 1773225490643116305 + "duration": 35007417, + "start": 1776951845478256885 }, { "name": "run.step", @@ -37,13 +40,15 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "b9b6fc2bd2da4d4ba2fe1a51e4d3a19d", + "mlflow.run_id": "4a2d26c584634b599f5496e88a0800c8", "mlflow.step": "0", "span.kind": "internal" }, - "duration": 9262334, - "start": 1773225490670917888 + "duration": 6368000, + "start": 1776951845506850927 }, { "name": "mlflow.manual.work", @@ -55,8 +60,10 @@ "type": "", "error": 0, "meta": { - "mlflow.run_id": "b9b6fc2bd2da4d4ba2fe1a51e4d3a19d" + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", + "mlflow.run_id": "4a2d26c584634b599f5496e88a0800c8" }, - "duration": 69417, - "start": 1773225490671039055 + "duration": 34166, + "start": 1776951845506938677 }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_multiple_steps.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_multiple_steps.json index dbffa99f7d4..6cc98ac80e2 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_multiple_steps.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_multiple_steps.json @@ -9,22 +9,25 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69b298c300000000", + "_dd.p.tid": "69ea222200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", - "mlflow.run_id": "2cd41d9cd2bf4720bfeb9b30ca48fcaf", - "runtime-id": "5c6e919d737e4131af00174a8513cf97", + "mlflow.run_id": "926c0d76ed48445388668a712b0f8bcf", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 1823619209, - "start": 1773312195504883542 + "duration": 30114084, + "start": 1776951842398753425 }, { "name": "run.step", @@ -36,17 +39,19 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.my_param": "value", - "mlflow.run_id": "2cd41d9cd2bf4720bfeb9b30ca48fcaf", + "mlflow.run_id": "926c0d76ed48445388668a712b0f8bcf", "mlflow.step": "0", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss": 0.0 }, - "duration": 21101500, - "start": 1773312197127710585 + "duration": 4752459, + "start": 1776951842410868175 }, { "name": "run.step", @@ -58,17 +63,19 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.my_param": "value", - "mlflow.run_id": "2cd41d9cd2bf4720bfeb9b30ca48fcaf", + "mlflow.run_id": "926c0d76ed48445388668a712b0f8bcf", "mlflow.step": "1", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss": 1.0 }, - "duration": 136977834, - "start": 1773312197149268501 + "duration": 5674667, + "start": 1776951842415674425 }, { "name": "run.step", @@ -80,10 +87,12 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "2cd41d9cd2bf4720bfeb9b30ca48fcaf", + "mlflow.run_id": "926c0d76ed48445388668a712b0f8bcf", "span.kind": "internal" }, - "duration": 42045458, - "start": 1773312197286363460 + "duration": 7442417, + "start": 1776951842421394050 }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_nested_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_nested_run.json index 15bad520932..dbc2f6dee2e 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_nested_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_nested_run.json @@ -9,23 +9,26 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69b298c500000000", + "_dd.p.tid": "69ea222500000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", - "mlflow.run_id": "07b21df71f1b46a793b033bb4eaf08c6", + "mlflow.run_id": "494ef8c492204ff3881f59e5d8a528fd", "mlflow.run_name": "parent", - "runtime-id": "5c6e919d737e4131af00174a8513cf97", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 122376542, - "start": 1773312197579562960 + "duration": 86931292, + "start": 1776951845617463427 }, { "name": "run.step", @@ -37,14 +40,16 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.p": "1", - "mlflow.run_id": "07b21df71f1b46a793b033bb4eaf08c6", + "mlflow.run_id": "494ef8c492204ff3881f59e5d8a528fd", "mlflow.step": "0", "span.kind": "internal" }, - "duration": 96821375, - "start": 1773312197605066002 + "duration": 72091833, + "start": 1776951845632250302 }, { "name": "run", @@ -56,13 +61,15 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "f0089e33764c48b685ec432b255869de", + "mlflow.run_id": "ce4f16e0ef644b069a6cdb60e156831c", "mlflow.run_name": "child_1", "span.kind": "internal" }, - "duration": 40233209, - "start": 1773312197612328043 + "duration": 24207458, + "start": 1776951845636825385 }, { "name": "run.step", @@ -74,14 +81,16 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.c1": "10", - "mlflow.run_id": "f0089e33764c48b685ec432b255869de", + "mlflow.run_id": "ce4f16e0ef644b069a6cdb60e156831c", "mlflow.step": "0", "span.kind": "internal" }, - "duration": 14940584, - "start": 1773312197637561668 + "duration": 8937875, + "start": 1776951845651822760 }, { "name": "run", @@ -93,13 +102,15 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "8dd2404929da465b90754fcde96dbb9e", + "mlflow.run_id": "3d35330fede5427fbb33e0aefab6ab65", "mlflow.run_name": "child_2", "span.kind": "internal" }, - "duration": 41727958, - "start": 1773312197652679960 + "duration": 29567834, + "start": 1776951845661247260 }, { "name": "run.step", @@ -111,12 +122,14 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.c2": "20", - "mlflow.run_id": "8dd2404929da465b90754fcde96dbb9e", + "mlflow.run_id": "3d35330fede5427fbb33e0aefab6ab65", "mlflow.step": "0", "span.kind": "internal" }, - "duration": 15577208, - "start": 1773312197678772502 + "duration": 11338875, + "start": 1776951845679428469 }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_model_lab_enabled_activates_mlflow_tracing_and_log_injection.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_model_lab_enabled_activates_mlflow_tracing_and_log_injection.json index f1ae0bfba67..5e9b1c34402 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_model_lab_enabled_activates_mlflow_tracing_and_log_injection.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_model_lab_enabled_activates_mlflow_tracing_and_log_injection.json @@ -11,22 +11,23 @@ "meta": { "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69c15b7100000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmph9gre5ox,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69ea222800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpq02bb67,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mlflow", "language": "python", - "mlflow.run_id": "ec803d612c06469e901d4146505a6496", - "runtime-id": "8b666587252b4085b15fc32c4ea2f7b0", + "mlflow.run_id": "b1e31f29b0204fcf8c303d70c2c593bb", + "runtime-id": "22f59118e8254988aa84e25206d9ed55", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 618.0 + "process_id": 2495.0 }, - "duration": 816735959, - "start": 1774279537433511417 + "duration": 728660542, + "start": 1776951848400242678 }, { "name": "run.step", @@ -39,11 +40,12 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "ec803d612c06469e901d4146505a6496", + "mlflow.run_id": "b1e31f29b0204fcf8c303d70c2c593bb", "mlflow.step": "0", "span.kind": "internal" }, - "duration": 10725958, - "start": 1774279538239382501 + "duration": 8256500, + "start": 1776951849120571178 }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_on_the_same_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_on_the_same_run.json index 6682c8d3ddf..c0f510ec373 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_on_the_same_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_on_the_same_run.json @@ -9,22 +9,25 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69b28e7300000000", + "_dd.p.tid": "69ea222200000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", - "mlflow.run_id": "dc45706cd5ea49128c216b24f1d42280", - "runtime-id": "7e80c119e9684d5a8c3c4f226b7de1aa", + "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 5159286294, - "start": 1773309555567803751 + "duration": 52126750, + "start": 1776951842334111217 }, { "name": "run.step", @@ -36,16 +39,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "dc45706cd5ea49128c216b24f1d42280", + "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "mlflow.step": "0", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_0": 0.0 }, - "duration": 5131708, - "start": 1773309556607818335 + "duration": 289958, + "start": 1776951842347034842 }, { "name": "run.step", @@ -57,16 +62,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "dc45706cd5ea49128c216b24f1d42280", + "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "mlflow.step": "1", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_0": 1.0 }, - "duration": 915041542, - "start": 1773309556613254876 + "duration": 9223792, + "start": 1776951842347358550 }, { "name": "run.step", @@ -78,16 +85,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "dc45706cd5ea49128c216b24f1d42280", + "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "mlflow.step": "2", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_1": 1.0 }, - "duration": 689356292, - "start": 1773309557528650085 + "duration": 612792, + "start": 1776951842356631842 }, { "name": "run.step", @@ -99,16 +108,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "dc45706cd5ea49128c216b24f1d42280", + "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "mlflow.step": "3", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_1": 2.0 }, - "duration": 2452234585, - "start": 1773309558218246502 + "duration": 16624791, + "start": 1776951842357280884 }, { "name": "run.step", @@ -120,10 +131,12 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "dc45706cd5ea49128c216b24f1d42280", + "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "span.kind": "internal" }, - "duration": 55848084, - "start": 1773309560671165128 + "duration": 12263458, + "start": 1776951842373948509 }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_new_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_new_run.json index 210b22a6b51..08a4ede7285 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_new_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_new_run.json @@ -9,22 +9,25 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69b2910400000000", + "_dd.p.tid": "69ea221e00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", - "mlflow.run_id": "3dd39473216a4257b38608c25eae236c", - "runtime-id": "f9b4c60fb5d641dd9e12908161660fe4", + "mlflow.run_id": "b16325ac9dfc4b028eae350d15776686", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 5667544446, - "start": 1773310212667875014 + "duration": 1831408001, + "start": 1776951838022368965 }, { "name": "run.step", @@ -36,13 +39,15 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "3dd39473216a4257b38608c25eae236c", + "mlflow.run_id": "b16325ac9dfc4b028eae350d15776686", "mlflow.step": "0", "span.kind": "internal" }, - "duration": 4163711669, - "start": 1773310214171652458 + "duration": 72519709, + "start": 1776951839781224632 }, { "name": "run", @@ -54,18 +59,20 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "e1cd577498084a0392dc1ec709585db6", + "mlflow.run_id": "ac3d91dd063e49a8b99457a84cc78285", "mlflow.run_name": "worker-0", - "runtime-id": "f9b4c60fb5d641dd9e12908161660fe4", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 930119126, - "start": 1773310214173033750 + "duration": 67569209, + "start": 1776951839782140257 }, { "name": "run.step", @@ -77,16 +84,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "e1cd577498084a0392dc1ec709585db6", + "mlflow.run_id": "ac3d91dd063e49a8b99457a84cc78285", "mlflow.step": "0", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_0": 0.0 }, - "duration": 948791, - "start": 1773310214222625542 + "duration": 103167, + "start": 1776951839816831632 }, { "name": "run.step", @@ -98,16 +107,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "e1cd577498084a0392dc1ec709585db6", + "mlflow.run_id": "ac3d91dd063e49a8b99457a84cc78285", "mlflow.step": "1", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_0": 1.0 }, - "duration": 830684250, - "start": 1773310214223991667 + "duration": 7576583, + "start": 1776951839817005799 }, { "name": "run.step", @@ -119,12 +130,14 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "e1cd577498084a0392dc1ec709585db6", + "mlflow.run_id": "ac3d91dd063e49a8b99457a84cc78285", "span.kind": "internal" }, - "duration": 47646416, - "start": 1773310215055447751 + "duration": 25047125, + "start": 1776951839824630091 }, { "name": "run", @@ -136,18 +149,20 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "73963d6167504f89a93287fb98afc7dd", + "mlflow.run_id": "bc4f13680d644401bfb454f3371dbb81", "mlflow.run_name": "worker-1", - "runtime-id": "f9b4c60fb5d641dd9e12908161660fe4", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 4139196294, - "start": 1773310214173527333 + "duration": 60832084, + "start": 1776951839785208757 }, { "name": "run.step", @@ -159,16 +174,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "73963d6167504f89a93287fb98afc7dd", + "mlflow.run_id": "bc4f13680d644401bfb454f3371dbb81", "mlflow.step": "2", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_1": 1.0 }, - "duration": 1603103126, - "start": 1773310214229387208 + "duration": 12273958, + "start": 1776951839812652924 }, { "name": "run.step", @@ -180,16 +197,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "73963d6167504f89a93287fb98afc7dd", + "mlflow.run_id": "bc4f13680d644401bfb454f3371dbb81", "mlflow.step": "3", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_1": 2.0 }, - "duration": 2423875543, - "start": 1773310215833103501 + "duration": 11421583, + "start": 1776951839824959716 }, { "name": "run.step", @@ -201,10 +220,12 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "73963d6167504f89a93287fb98afc7dd", + "mlflow.run_id": "bc4f13680d644401bfb454f3371dbb81", "span.kind": "internal" }, - "duration": 55403208, - "start": 1773310218257201794 + "duration": 9579333, + "start": 1776951839836426091 }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_same_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_same_run.json index 692a0b6d877..572fded9b32 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_same_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_same_run.json @@ -11,22 +11,23 @@ "meta": { "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69cf8b3e00000000", + "_dd.p.tid": "69ea222200000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", - "mlflow.run_id": "aa4d6558186142e8b8d8572fadabe442", - "runtime-id": "b004a93bd523454d86a1b6888fea5c4d", + "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", + "runtime-id": "1dae4f97596e4a049d24d6dee2eb7eb9", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 2370.0 }, - "duration": 1608864376, - "start": 1775209278058234176 + "duration": 75354291, + "start": 1776951842232569259 }, { "name": "run.step", @@ -39,16 +40,17 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "aa4d6558186142e8b8d8572fadabe442", + "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "mlflow.step": "0", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_0": 0.0 }, - "duration": 35220042, - "start": 1775209279599076385 + "duration": 29196834, + "start": 1776951842255783300 }, { "name": "run.step", @@ -61,16 +63,17 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "aa4d6558186142e8b8d8572fadabe442", + "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "mlflow.step": "1", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_0": 1.0 }, - "duration": 12301125, - "start": 1775209279634434510 + "duration": 9236834, + "start": 1776951842285046550 }, { "name": "run.step", @@ -83,16 +86,17 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "aa4d6558186142e8b8d8572fadabe442", + "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "mlflow.step": "2", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_1": 1.0 }, - "duration": 3389625, - "start": 1775209279646800968 + "duration": 622083, + "start": 1776951842294328342 }, { "name": "run.step", @@ -105,16 +109,17 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "aa4d6558186142e8b8d8572fadabe442", + "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "mlflow.step": "3", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_1": 2.0 }, - "duration": 12169125, - "start": 1775209279650234427 + "duration": 8973750, + "start": 1776951842294987175 }, { "name": "run.step", @@ -127,10 +132,11 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "aa4d6558186142e8b8d8572fadabe442", + "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "span.kind": "internal" }, - "duration": 4615584, - "start": 1775209279662452093 + "duration": 3886833, + "start": 1776951842304006717 }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json deleted file mode 100644 index 199f63b7194..00000000000 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json +++ /dev/null @@ -1,129 +0,0 @@ -[[ - { - "name": "run", - "service": "ddtrace_subprocess_dir", - "resource": "run", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "69b2d6e200000000", - "component": "mlflow", - "language": "python", - "mlflow.run_id": "612ab27afb1d4ffaa39da8c4dac6ffbd", - "runtime-id": "0d1b6ab7f25f49919b89aea751158a85", - "span.kind": "internal" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 1115.0 - }, - "duration": 4196367210, - "start": 1773328098814222505 - }, - { - "name": "run.step", - "service": "ddtrace_subprocess_dir", - "resource": "run.step", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "component": "mlflow", - "mlflow.run_id": "612ab27afb1d4ffaa39da8c4dac6ffbd", - "mlflow.step": "0", - "span.kind": "internal" - }, - "metrics": { - "mlflow.metrics.loss_0": 0.0 - }, - "duration": 2544708, - "start": 1773328098968142588 - }, - { - "name": "run.step", - "service": "ddtrace_subprocess_dir", - "resource": "run.step", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "component": "mlflow", - "mlflow.run_id": "612ab27afb1d4ffaa39da8c4dac6ffbd", - "mlflow.step": "1", - "span.kind": "internal" - }, - "metrics": { - "mlflow.metrics.loss_0": 1.0 - }, - "duration": 810556626, - "start": 1773328098970971546 - }, - { - "name": "run.step", - "service": "ddtrace_subprocess_dir", - "resource": "run.step", - "trace_id": 0, - "span_id": 4, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "component": "mlflow", - "mlflow.run_id": "612ab27afb1d4ffaa39da8c4dac6ffbd", - "mlflow.step": "2", - "span.kind": "internal" - }, - "metrics": { - "mlflow.metrics.loss_1": 1.0 - }, - "duration": 796101417, - "start": 1773328099781759297 - }, - { - "name": "run.step", - "service": "ddtrace_subprocess_dir", - "resource": "run.step", - "trace_id": 0, - "span_id": 5, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "component": "mlflow", - "mlflow.run_id": "612ab27afb1d4ffaa39da8c4dac6ffbd", - "mlflow.step": "3", - "span.kind": "internal" - }, - "metrics": { - "mlflow.metrics.loss_1": 2.0 - }, - "duration": 2414262335, - "start": 1773328100578084880 - }, - { - "name": "run.step", - "service": "ddtrace_subprocess_dir", - "resource": "tail", - "trace_id": 0, - "span_id": 6, - "parent_id": 1, - "type": "worker", - "error": 0, - "meta": { - "component": "mlflow", - "mlflow.run_id": "612ab27afb1d4ffaa39da8c4dac6ffbd", - "span.kind": "internal" - }, - "duration": 17664083, - "start": 1773328102992790840 - }]] diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_thread_local.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_thread_local.json index 032bdd306a1..1d33c6ff557 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_thread_local.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_thread_local.json @@ -9,22 +9,25 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", - "_dd.p.tid": "69b2d61200000000", + "_dd.p.tid": "69ea222100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpowatv229,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mlflow", "language": "python", - "mlflow.run_id": "aa305481fa9f4f99a28d5b2551284b94", - "runtime-id": "b57bdaf873714211badd15a53687df1f", + "mlflow.run_id": "c1540d6da18942e6bd3945f41f361555", + "runtime-id": "ebb49a78222a435f9a4bb5d6e0c29a1b", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 661.0 + "process_id": 2400.0 }, - "duration": 4272718961, - "start": 1773327890657524172 + "duration": 552055417, + "start": 1776951841353737133 }, { "name": "run.step", @@ -36,13 +39,15 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "aa305481fa9f4f99a28d5b2551284b94", + "mlflow.run_id": "c1540d6da18942e6bd3945f41f361555", "mlflow.step": "0", "span.kind": "internal" }, - "duration": 4115998836, - "start": 1773327890814133547 + "duration": 34121625, + "start": 1776951841871641550 }, { "name": "run", @@ -54,17 +59,19 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "a824594d58a8441db8143a9929bb7248", - "runtime-id": "b57bdaf873714211badd15a53687df1f", + "mlflow.run_id": "673c9b7b56304ee1986289326dd02e65", + "runtime-id": "ebb49a78222a435f9a4bb5d6e0c29a1b", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 661.0 + "process_id": 2400.0 }, - "duration": 4113831377, - "start": 1773327890817679881 + "duration": 33835333, + "start": 1776951841872019675 }, { "name": "run.step", @@ -76,16 +83,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "a824594d58a8441db8143a9929bb7248", + "mlflow.run_id": "673c9b7b56304ee1986289326dd02e65", "mlflow.step": "1", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_0": 1.0 }, - "duration": 809250792, - "start": 1773327890842642172 + "duration": 5014958, + "start": 1776951841879112342 }, { "name": "run.step", @@ -97,12 +106,14 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "a824594d58a8441db8143a9929bb7248", + "mlflow.run_id": "673c9b7b56304ee1986289326dd02e65", "span.kind": "internal" }, - "duration": 3278357585, - "start": 1773327891653092464 + "duration": 21684125, + "start": 1776951841884161383 }, { "name": "run", @@ -114,17 +125,19 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "f659420bf11a4477ad0c13c3fc05ca37", - "runtime-id": "b57bdaf873714211badd15a53687df1f", + "mlflow.run_id": "7f00951902fb4cd991580a256729fb4d", + "runtime-id": "ebb49a78222a435f9a4bb5d6e0c29a1b", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 661.0 + "process_id": 2400.0 }, - "duration": 2512430002, - "start": 1773327892419091006 + "duration": 21488542, + "start": 1776951841884369800 }, { "name": "run.step", @@ -136,16 +149,18 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "f659420bf11a4477ad0c13c3fc05ca37", + "mlflow.run_id": "7f00951902fb4cd991580a256729fb4d", "mlflow.step": "3", "span.kind": "internal" }, "metrics": { "mlflow.metrics.loss_1": 2.0 }, - "duration": 2409815667, - "start": 1773327892460310340 + "duration": 2889958, + "start": 1776951841894266217 }, { "name": "run.step", @@ -157,10 +172,12 @@ "type": "worker", "error": 0, "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", "component": "mlflow", - "mlflow.run_id": "f659420bf11a4477ad0c13c3fc05ca37", + "mlflow.run_id": "7f00951902fb4cd991580a256729fb4d", "span.kind": "internal" }, - "duration": 61208834, - "start": 1773327894870288299 + "duration": 8658250, + "start": 1776951841897192592 }]] From b39af0fcecc54b3eca15867363ddb48b8d53817c Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 23 Apr 2026 07:42:25 -0700 Subject: [PATCH 064/114] update selenium snapshots --- ...enium_chrome.test_selenium_chrome_pytest_rum_disabled.json | 4 ++++ ...lenium_chrome.test_selenium_chrome_pytest_rum_enabled.json | 4 ++++ ...m_chrome_pytest_unpatch_does_not_record_selenium_tags.json | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_disabled.json b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_disabled.json index ac5ff587137..74f9db0e703 100644 --- a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_disabled.json +++ b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_disabled.json @@ -13,6 +13,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a500000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -55,6 +56,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a500000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -98,6 +100,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a500000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -142,6 +145,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a500000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", diff --git a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_enabled.json b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_enabled.json index fe2f392d919..285d3351a4b 100644 --- a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_enabled.json +++ b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_enabled.json @@ -13,6 +13,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a200000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -55,6 +56,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a200000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -98,6 +100,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a200000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -142,6 +145,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a300000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", diff --git a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_unpatch_does_not_record_selenium_tags.json b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_unpatch_does_not_record_selenium_tags.json index 3ce27b6bed5..c52b36704b6 100644 --- a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_unpatch_does_not_record_selenium_tags.json +++ b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_unpatch_does_not_record_selenium_tags.json @@ -13,6 +13,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f2f1000000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -55,6 +56,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f2f1000000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -98,6 +100,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f2f1000000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -142,6 +145,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f2f1000000000", + "_dd.svc_src": "m", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", From 09d3e86e64ef34bf31c13f2683e07a35067bd551 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 23 Apr 2026 08:49:40 -0700 Subject: [PATCH 065/114] missing mlflow snapshot --- ..._without_explicit_run_id_global_stack.json | 142 ++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json new file mode 100644 index 00000000000..a0e1db9c42b --- /dev/null +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json @@ -0,0 +1,142 @@ +[[ + { + "name": "run", + "service": "ddtrace_subprocess_dir", + "resource": "run", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.hostname": "docker-desktop", + "_dd.p.dm": "-0", + "_dd.p.tid": "69ea3f7b00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2un48no1,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "component": "mlflow", + "language": "python", + "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", + "runtime-id": "a20a2c6936a242128a1e15ca6e386dae", + "span.kind": "internal" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 1652.0 + }, + "duration": 650986459, + "start": 1776959355849767836 + }, + { + "name": "run.step", + "service": "ddtrace_subprocess_dir", + "resource": "run.step", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", + "component": "mlflow", + "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", + "mlflow.step": "0", + "span.kind": "internal" + }, + "metrics": { + "mlflow.metrics.loss_0": 0.0 + }, + "duration": 268250, + "start": 1776959356477492753 + }, + { + "name": "run.step", + "service": "ddtrace_subprocess_dir", + "resource": "run.step", + "trace_id": 0, + "span_id": 3, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", + "component": "mlflow", + "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", + "mlflow.step": "1", + "span.kind": "internal" + }, + "metrics": { + "mlflow.metrics.loss_0": 1.0 + }, + "duration": 6203625, + "start": 1776959356477786753 + }, + { + "name": "run.step", + "service": "ddtrace_subprocess_dir", + "resource": "run.step", + "trace_id": 0, + "span_id": 4, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", + "component": "mlflow", + "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", + "mlflow.step": "2", + "span.kind": "internal" + }, + "metrics": { + "mlflow.metrics.loss_1": 1.0 + }, + "duration": 830542, + "start": 1776959356484030253 + }, + { + "name": "run.step", + "service": "ddtrace_subprocess_dir", + "resource": "run.step", + "trace_id": 0, + "span_id": 5, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", + "component": "mlflow", + "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", + "mlflow.step": "3", + "span.kind": "internal" + }, + "metrics": { + "mlflow.metrics.loss_1": 2.0 + }, + "duration": 7871041, + "start": 1776959356484892795 + }, + { + "name": "run.step", + "service": "ddtrace_subprocess_dir", + "resource": "tail", + "trace_id": 0, + "span_id": 6, + "parent_id": 1, + "type": "worker", + "error": 0, + "meta": { + "_dd.hostname": "docker-desktop", + "_dd.svc_src": "m", + "component": "mlflow", + "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", + "span.kind": "internal" + }, + "duration": 7933083, + "start": 1776959356492793420 + }]] From 1a18db6fa908bef7411d2eaca2744adf4ef521d2 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 23 Apr 2026 08:51:42 -0700 Subject: [PATCH 066/114] fix aiohttp_jinja2 snapshot --- ...ate_rendering_snapshot_patched_server.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot_patched_server.json b/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot_patched_server.json index 7b562c58238..e42806f7a8e 100644 --- a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot_patched_server.json +++ b/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot_patched_server.json @@ -11,17 +11,17 @@ "meta": { "_dd.base_service": "tests.contrib.aiohttp_jinja2", "_dd.p.dm": "-0", - "_dd.p.tid": "69de72c200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ea3ffa00000000", + "_dd.svc_src": "aiohttp", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp_jinja2", "component": "aiohttp", "http.method": "GET", "http.route": "/template/", "http.status_code": "200", - "http.url": "http://127.0.0.1:56919/template/", - "http.useragent": "Python/3.9 aiohttp/3.9.5", + "http.url": "http://127.0.0.1:55567/template/", + "http.useragent": "Python/3.10 aiohttp/3.9.5", "language": "python", - "runtime-id": "e8bba615ea5443eeb4366e2fc854da00", + "runtime-id": "701a60ca17c34ed0b028ecedfca56867", "span.kind": "server" }, "metrics": { @@ -29,10 +29,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 13982.0 + "process_id": 2994.0 }, - "duration": 3167875, - "start": 1776186050277076303 + "duration": 2856416, + "start": 1776959482478143756 }, { "name": "aiohttp.template", @@ -45,10 +45,10 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.aiohttp_jinja2", - "_dd.svc_src": "m", + "_dd.svc_src": "aiohttp", "aiohttp.template": "/template.jinja2", "component": "aiohttp_jinja2" }, - "duration": 2516083, - "start": 1776186050277346845 + "duration": 2276917, + "start": 1776959482478394547 }]] From cfb8a4dccc80beaecb786b867b1a9ad26b566dd7 Mon Sep 17 00:00:00 2001 From: Louis Tricot <75956635+dubloom@users.noreply.github.com> Date: Wed, 22 Apr 2026 17:08:32 +0200 Subject: [PATCH 067/114] chore(valkey): remove Pin from valkey (#17574) # Description Remove Pin from valkey. Note that I removed a traced method that was just used by Pin. # Risks Tests were not modified so the risks should be low. Co-authored-by: louis.tricot --- ddtrace/_trace/utils_valkey.py | 23 +++-- ddtrace/contrib/internal/valkey/__init__.py | 46 ++++++++++ .../contrib/internal/valkey/asyncio_patch.py | 19 +---- ddtrace/contrib/internal/valkey/patch.py | 83 +------------------ ddtrace/contrib/valkey.py | 50 ----------- docs/integrations.rst | 2 +- tests/contrib/suitespec.yml | 1 - tests/contrib/valkey/test_valkey_asyncio.py | 4 - tests/internal/test_module.py | 1 - 9 files changed, 63 insertions(+), 166 deletions(-) delete mode 100644 ddtrace/contrib/valkey.py diff --git a/ddtrace/_trace/utils_valkey.py b/ddtrace/_trace/utils_valkey.py index f74c4a863c3..95a2cc7be2b 100644 --- a/ddtrace/_trace/utils_valkey.py +++ b/ddtrace/_trace/utils_valkey.py @@ -24,7 +24,7 @@ def _set_span_tags( - span, pin, config_integration, args: Optional[list], instance, query: Optional[list], is_cluster: bool = False + span, config_integration, args: Optional[list], instance, query: Optional[list], is_cluster: bool = False ): span._set_attribute(SPAN_KIND, SpanKind.CLIENT) span._set_attribute(COMPONENT, config_integration.integration_name) @@ -33,8 +33,6 @@ def _set_span_tags( if query is not None: span_name = schematize_cache_operation(valkeyx.RAWCMD, cache_provider=valkeyx.APP) # type: ignore[operator] span._set_attribute(span_name, query) - if pin.tags: - span.set_tags(pin.tags) # some valkey clients do not have a connection_pool attribute (ex. aiovalkey v1.3) if not is_cluster and hasattr(instance, "connection_pool"): span.set_tags(_extract_conn_tags(instance.connection_pool.connection_kwargs)) @@ -47,25 +45,24 @@ def _set_span_tags( @contextmanager -def _instrument_valkey_cmd(pin, config_integration, instance, args): +def _instrument_valkey_cmd(config_integration, instance, args): query = stringify_cache_args(args, cmd_max_len=config_integration.cmd_max_length) with ( core.context_with_data( "valkey.command", span_name=schematize_cache_operation(valkeyx.CMD, cache_provider=valkeyx.APP), - pin=pin, - service=trace_utils.ext_service(pin, config_integration), + service=trace_utils.ext_service(None, config_integration), span_type=SpanTypes.VALKEY, resource=query.split(" ")[0] if config_integration.resource_only_command else query, ) as ctx, ctx.span as span, ): - _set_span_tags(span, pin, config_integration, args, instance, query) + _set_span_tags(span, config_integration, args, instance, query) yield ctx @contextmanager -def _instrument_valkey_execute_pipeline(pin, config_integration, cmds, instance, is_cluster=False): +def _instrument_valkey_execute_pipeline(config_integration, cmds, instance, is_cluster=False): cmd_string = resource = "\n".join(cmds) if config_integration.resource_only_command: resource = "\n".join([cmd.split(" ")[0] for cmd in cmds]) @@ -73,15 +70,15 @@ def _instrument_valkey_execute_pipeline(pin, config_integration, cmds, instance, with tracer.trace( schematize_cache_operation(valkeyx.CMD, cache_provider=valkeyx.APP), resource=resource, - service=trace_utils.ext_service(pin, config_integration), + service=trace_utils.ext_service(None, config_integration), span_type=SpanTypes.VALKEY, ) as span: - _set_span_tags(span, pin, config_integration, None, instance, cmd_string) + _set_span_tags(span, config_integration, None, instance, cmd_string) yield span @contextmanager -def _instrument_valkey_execute_async_cluster_pipeline(pin, config_integration, cmds, instance): +def _instrument_valkey_execute_async_cluster_pipeline(config_integration, cmds, instance): cmd_string = resource = "\n".join(cmds) if config_integration.resource_only_command: resource = "\n".join([cmd.split(" ")[0] for cmd in cmds]) @@ -89,8 +86,8 @@ def _instrument_valkey_execute_async_cluster_pipeline(pin, config_integration, c with tracer.trace( schematize_cache_operation(valkeyx.CMD, cache_provider=valkeyx.APP), resource=resource, - service=trace_utils.ext_service(pin, config_integration), + service=trace_utils.ext_service(None, config_integration), span_type=SpanTypes.VALKEY, ) as span: - _set_span_tags(span, pin, config_integration, None, instance, cmd_string) + _set_span_tags(span, config_integration, None, instance, cmd_string) yield span diff --git a/ddtrace/contrib/internal/valkey/__init__.py b/ddtrace/contrib/internal/valkey/__init__.py index e69de29bb2d..bdc4703e585 100644 --- a/ddtrace/contrib/internal/valkey/__init__.py +++ b/ddtrace/contrib/internal/valkey/__init__.py @@ -0,0 +1,46 @@ +""" +The valkey integration traces valkey requests. + +Enabling +~~~~~~~~ + +The valkey integration is enabled automatically when using +:ref:`ddtrace-run` or :ref:`import ddtrace.auto`. + +Or use :func:`patch()` to manually enable the integration:: + + from ddtrace import patch + patch(valkey=True) + +Configuration +~~~~~~~~~~~~~ + +.. py:data:: ddtrace.config.valkey["service"] + + The service name reported by default for valkey traces. + + This option can also be set with the ``DD_VALKEY_SERVICE`` environment + variable. + + Default: ``"valkey"`` + +.. py:data:: ddtrace.config.valkey["cmd_max_length"] + + Max allowable size for the valkey command span tag. + Anything beyond the max length will be replaced with ``"..."``. + + This option can also be set with the ``DD_VALKEY_CMD_MAX_LENGTH`` environment + variable. + + Default: ``1000`` + +.. py:data:: ddtrace.config.valkey["resource_only_command"] + + The span resource will only include the command executed. To include all + arguments in the span resource, set this value to ``False``. + + This option can also be set with the ``DD_VALKEY_RESOURCE_ONLY_COMMAND`` environment + variable. + + Default: ``True`` +""" diff --git a/ddtrace/contrib/internal/valkey/asyncio_patch.py b/ddtrace/contrib/internal/valkey/asyncio_patch.py index 03f98e083d9..bf3f7f4569b 100644 --- a/ddtrace/contrib/internal/valkey/asyncio_patch.py +++ b/ddtrace/contrib/internal/valkey/asyncio_patch.py @@ -1,5 +1,4 @@ from ddtrace import config -from ddtrace._trace.pin import Pin from ddtrace._trace.utils_valkey import _instrument_valkey_cmd from ddtrace._trace.utils_valkey import _instrument_valkey_execute_async_cluster_pipeline from ddtrace._trace.utils_valkey import _instrument_valkey_execute_pipeline @@ -8,29 +7,17 @@ async def instrumented_async_execute_command(func, instance, args, kwargs): - pin = Pin.get_from(instance) - if not pin or not pin.enabled(): - return await func(*args, **kwargs) - - with _instrument_valkey_cmd(pin, config.valkey, instance, args) as ctx: + with _instrument_valkey_cmd(config.valkey, instance, args) as ctx: return await _run_valkey_command_async(ctx=ctx, func=func, args=args, kwargs=kwargs) async def instrumented_async_execute_pipeline(func, instance, args, kwargs): - pin = Pin.get_from(instance) - if not pin or not pin.enabled(): - return await func(*args, **kwargs) - cmds = [stringify_cache_args(c, cmd_max_len=config.valkey.cmd_max_length) for c, _ in instance.command_stack] - with _instrument_valkey_execute_pipeline(pin, config.valkey, cmds, instance): + with _instrument_valkey_execute_pipeline(config.valkey, cmds, instance): return await func(*args, **kwargs) async def instrumented_async_execute_cluster_pipeline(func, instance, args, kwargs): - pin = Pin.get_from(instance) - if not pin or not pin.enabled(): - return await func(*args, **kwargs) - cmds = [stringify_cache_args(c.args, cmd_max_len=config.valkey.cmd_max_length) for c in instance._command_stack] - with _instrument_valkey_execute_async_cluster_pipeline(pin, config.valkey, cmds, instance): + with _instrument_valkey_execute_async_cluster_pipeline(config.valkey, cmds, instance): return await func(*args, **kwargs) diff --git a/ddtrace/contrib/internal/valkey/patch.py b/ddtrace/contrib/internal/valkey/patch.py index b5ae3627243..39df011c3dd 100644 --- a/ddtrace/contrib/internal/valkey/patch.py +++ b/ddtrace/contrib/internal/valkey/patch.py @@ -1,55 +1,7 @@ -""" -The valkey integration traces valkey requests. - -Enabling -~~~~~~~~ - -The valkey integration is enabled automatically when using -:ref:`ddtrace-run` or :ref:`import ddtrace.auto`. - -Or use :func:`patch()` to manually enable the integration:: - - from ddtrace import patch - patch(valkey=True) - -Configuration -~~~~~~~~~~~~~ - -.. py:data:: ddtrace.config.valkey["service"] - - The service name reported by default for valkey traces. - - This option can also be set with the ``DD_VALKEY_SERVICE`` environment - variable. - - Default: ``"valkey"`` - -.. py:data:: ddtrace.config.valkey["cmd_max_length"] - - Max allowable size for the valkey command span tag. - Anything beyond the max length will be replaced with ``"..."``. - - This option can also be set with the ``DD_VALKEY_CMD_MAX_LENGTH`` environment - variable. - - Default: ``1000`` - -.. py:data:: ddtrace.config.valkey["resource_only_command"] - - The span resource will only include the command executed. To include all - arguments in the span resource, set this value to ``False``. - - This option can also be set with the ``DD_VALKEY_RESOURCE_ONLY_COMMAND`` environment - variable. - - Default: ``True`` -""" - import valkey import wrapt from ddtrace import config -from ddtrace._trace.pin import Pin from ddtrace._trace.utils_valkey import _instrument_valkey_cmd from ddtrace._trace.utils_valkey import _instrument_valkey_execute_pipeline from ddtrace.contrib.internal.valkey_utils import ROW_RETURNING_COMMANDS @@ -99,26 +51,17 @@ def patch(): from .asyncio_patch import instrumented_async_execute_pipeline _w("valkey", "Valkey.execute_command", instrumented_execute_command(config.valkey)) - _w("valkey", "Valkey.pipeline", instrumented_pipeline) _w("valkey.client", "Pipeline.execute", instrumented_execute_pipeline(config.valkey, False)) _w("valkey.client", "Pipeline.immediate_execute_command", instrumented_execute_command(config.valkey)) _w("valkey.cluster", "ValkeyCluster.execute_command", instrumented_execute_command(config.valkey)) - _w("valkey.cluster", "ValkeyCluster.pipeline", instrumented_pipeline) _w("valkey.cluster", "ClusterPipeline.execute", instrumented_execute_pipeline(config.valkey, True)) - Pin(service=None).onto(valkey.cluster.ValkeyCluster) _w("valkey.asyncio.client", "Valkey.execute_command", instrumented_async_execute_command) - _w("valkey.asyncio.client", "Valkey.pipeline", instrumented_pipeline) _w("valkey.asyncio.client", "Pipeline.execute", instrumented_async_execute_pipeline) _w("valkey.asyncio.client", "Pipeline.immediate_execute_command", instrumented_async_execute_command) - Pin(service=None).onto(valkey.asyncio.Valkey) _w("valkey.asyncio.cluster", "ValkeyCluster.execute_command", instrumented_async_execute_command) - _w("valkey.asyncio.cluster", "ValkeyCluster.pipeline", instrumented_pipeline) _w("valkey.asyncio.cluster", "ClusterPipeline.execute", instrumented_async_execute_cluster_pipeline) - Pin(service=None).onto(valkey.asyncio.ValkeyCluster) - - Pin(service=None).onto(valkey.StrictValkey) def unpatch(): @@ -126,18 +69,14 @@ def unpatch(): valkey._datadog_patch = False unwrap(valkey.Valkey, "execute_command") - unwrap(valkey.Valkey, "pipeline") unwrap(valkey.client.Pipeline, "execute") unwrap(valkey.client.Pipeline, "immediate_execute_command") unwrap(valkey.cluster.ValkeyCluster, "execute_command") - unwrap(valkey.cluster.ValkeyCluster, "pipeline") unwrap(valkey.cluster.ClusterPipeline, "execute") unwrap(valkey.asyncio.client.Valkey, "execute_command") - unwrap(valkey.asyncio.client.Valkey, "pipeline") unwrap(valkey.asyncio.client.Pipeline, "execute") unwrap(valkey.asyncio.client.Pipeline, "immediate_execute_command") unwrap(valkey.asyncio.cluster.ValkeyCluster, "execute_command") - unwrap(valkey.asyncio.cluster.ValkeyCluster, "pipeline") unwrap(valkey.asyncio.cluster.ClusterPipeline, "execute") @@ -157,7 +96,7 @@ def _run_valkey_command(ctx: core.ExecutionContext, func, args, kwargs): rowcount = determine_row_count(valkey_command=valkey_command, result=result) if valkey_command not in ROW_RETURNING_COMMANDS: rowcount = None - core.dispatch("valkey.command.post", [ctx, rowcount]) + core.dispatch("valkey.command.post", (ctx, rowcount)) # @@ -165,30 +104,14 @@ def _run_valkey_command(ctx: core.ExecutionContext, func, args, kwargs): # def instrumented_execute_command(integration_config): def _instrumented_execute_command(func, instance, args, kwargs): - pin = Pin.get_from(instance) - if not pin or not pin.enabled(): - return func(*args, **kwargs) - - with _instrument_valkey_cmd(pin, integration_config, instance, args) as ctx: + with _instrument_valkey_cmd(integration_config, instance, args) as ctx: return _run_valkey_command(ctx=ctx, func=func, args=args, kwargs=kwargs) return _instrumented_execute_command -def instrumented_pipeline(func, instance, args, kwargs): - pipeline = func(*args, **kwargs) - pin = Pin.get_from(instance) - if pin: - pin.onto(pipeline) - return pipeline - - def instrumented_execute_pipeline(integration_config, is_cluster=False): def _instrumented_execute_pipeline(func, instance, args, kwargs): - pin = Pin.get_from(instance) - if not pin or not pin.enabled(): - return func(*args, **kwargs) - if is_cluster: cmds = [ stringify_cache_args(c.args, cmd_max_len=integration_config.cmd_max_length) @@ -199,7 +122,7 @@ def _instrumented_execute_pipeline(func, instance, args, kwargs): stringify_cache_args(c, cmd_max_len=integration_config.cmd_max_length) for c, _ in instance.command_stack ] - with _instrument_valkey_execute_pipeline(pin, integration_config, cmds, instance, is_cluster): + with _instrument_valkey_execute_pipeline(integration_config, cmds, instance, is_cluster): return func(*args, **kwargs) return _instrumented_execute_pipeline diff --git a/ddtrace/contrib/valkey.py b/ddtrace/contrib/valkey.py deleted file mode 100644 index 67ac88494ce..00000000000 --- a/ddtrace/contrib/valkey.py +++ /dev/null @@ -1,50 +0,0 @@ -""" -The valkey integration traces valkey requests. - - -Enabling -~~~~~~~~ - -The valkey integration is enabled automatically when using -:ref:`ddtrace-run` or :ref:`import ddtrace.auto`. - -Or use :func:`patch()` to manually enable the integration:: - - from ddtrace import patch - patch(valkey=True) - - -Configuration -~~~~~~~~~~~~~ - -.. py:data:: ddtrace.config.valkey["service"] - - The service name reported by default for valkey traces. - - This option can also be set with the ``DD_VALKEY_SERVICE`` environment - variable. - - Default: ``"valkey"`` - - -.. py:data:: ddtrace.config.valkey["cmd_max_length"] - - Max allowable size for the valkey command span tag. - Anything beyond the max length will be replaced with ``"..."``. - - This option can also be set with the ``DD_VALKEY_CMD_MAX_LENGTH`` environment - variable. - - Default: ``1000`` - - -.. py:data:: ddtrace.config.valkey["resource_only_command"] - - The span resource will only include the command executed. To include all - arguments in the span resource, set this value to ``False``. - - This option can also be set with the ``DD_VALKEY_RESOURCE_ONLY_COMMAND`` environment - variable. - - Default: ``True`` -""" diff --git a/docs/integrations.rst b/docs/integrations.rst index 239e6a5b880..93c1f730b4f 100644 --- a/docs/integrations.rst +++ b/docs/integrations.rst @@ -634,7 +634,7 @@ urllib3 valkey ^^^^^^ -.. automodule:: ddtrace.contrib.valkey +.. automodule:: ddtrace.contrib.internal.valkey .. _vertexai: diff --git a/tests/contrib/suitespec.yml b/tests/contrib/suitespec.yml index f40fce4df2e..4beee3b659b 100644 --- a/tests/contrib/suitespec.yml +++ b/tests/contrib/suitespec.yml @@ -206,7 +206,6 @@ components: valkey: - ddtrace/contrib/internal/valkey/* - ddtrace/contrib/internal/valkey_utils.py - - ddtrace/contrib/valkey.py - ddtrace/_trace/utils_valkey.py - ddtrace/ext/valkey.py vertica: diff --git a/tests/contrib/valkey/test_valkey_asyncio.py b/tests/contrib/valkey/test_valkey_asyncio.py index 504469fea75..f2793eedd70 100644 --- a/tests/contrib/valkey/test_valkey_asyncio.py +++ b/tests/contrib/valkey/test_valkey_asyncio.py @@ -53,12 +53,8 @@ def test_patching(): We unwrap the correct methods """ assert is_wrapted(valkey.asyncio.client.Valkey.execute_command) - assert is_wrapted(valkey.asyncio.client.Valkey.pipeline) - assert is_wrapted(valkey.asyncio.client.Pipeline.pipeline) unpatch() assert not is_wrapted(valkey.asyncio.client.Valkey.execute_command) - assert not is_wrapted(valkey.asyncio.client.Valkey.pipeline) - assert not is_wrapted(valkey.asyncio.client.Pipeline.pipeline) @pytest.mark.snapshot(wait_for_num_traces=1) diff --git a/tests/internal/test_module.py b/tests/internal/test_module.py index 0fafa94800d..203dbb24bc3 100644 --- a/tests/internal/test_module.py +++ b/tests/internal/test_module.py @@ -572,7 +572,6 @@ def test_public_modules_in_ddtrace_contrib(): "ddtrace.contrib.__init__", "ddtrace.contrib.trace_utils", "ddtrace.contrib.celery", - "ddtrace.contrib.valkey", "ddtrace.contrib.asgi", "ddtrace.contrib.bottle", "ddtrace.contrib.flask_cache", From cb306c2455d2d6f5f11709cef9bca9cf4ad313c4 Mon Sep 17 00:00:00 2001 From: Thomas Kowalski Date: Wed, 22 Apr 2026 17:58:40 +0200 Subject: [PATCH 068/114] fix(profiling): ensure running loop is not `None` before linking tasks (#17675) ## Description This fixes a surprising race condition happening under AnyIO asynchronous testing where we could sometimes end up constructing a `GatheringFuture` without an active event loop. The assumption was that `gather` would always be called with an event loop existing, but that can apparently be not the case at exit with certain additional `asyncio`-related packages. Co-authored-by: thomas.kowalski --- ddtrace/profiling/_asyncio.py | 14 ++++++++------ ...safer-use-of-task-linking-bfca996e62c5d5b3.yaml | 4 ++++ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 releasenotes/notes/profiling-safer-use-of-task-linking-bfca996e62c5d5b3.yaml diff --git a/ddtrace/profiling/_asyncio.py b/ddtrace/profiling/_asyncio.py index f539a9f7132..4f83c542e5a 100644 --- a/ddtrace/profiling/_asyncio.py +++ b/ddtrace/profiling/_asyncio.py @@ -121,9 +121,10 @@ def _(f: typing.Callable[..., None], args: tuple[typing.Any, ...], kwargs: dict[ children = get_argument_value(args, kwargs, 1, "children") assert children is not None # nosec: assert is used for typing - parent = globals()["current_task"]() - for child in children: - stack.link_tasks(parent, child) + if globals()["get_running_loop"]() is not None: + parent = globals()["current_task"]() + for child in children: + stack.link_tasks(parent, child) @partial(wrap, sys.modules["asyncio"].tasks._wait) def _( @@ -136,9 +137,10 @@ def _( finally: futures = typing.cast(set["aio.Future[typing.Any]"], get_argument_value(args, kwargs, 0, "fs")) - parent = typing.cast("aio.Task[typing.Any]", globals()["current_task"]()) - for future in futures: - stack.link_tasks(parent, future) + if globals()["get_running_loop"]() is not None: + parent = typing.cast("aio.Task[typing.Any]", globals()["current_task"]()) + for future in futures: + stack.link_tasks(parent, future) @partial(wrap, sys.modules["asyncio"].tasks.as_completed) def _( diff --git a/releasenotes/notes/profiling-safer-use-of-task-linking-bfca996e62c5d5b3.yaml b/releasenotes/notes/profiling-safer-use-of-task-linking-bfca996e62c5d5b3.yaml new file mode 100644 index 00000000000..2caff3da998 --- /dev/null +++ b/releasenotes/notes/profiling-safer-use-of-task-linking-bfca996e62c5d5b3.yaml @@ -0,0 +1,4 @@ +fixes: + - | + profiling: A race condition which could make asyncio code raise exceptions at exit + has been fixed. From 534baac60be7d37cfdaa5fcc3247b95d274cb2d6 Mon Sep 17 00:00:00 2001 From: Yun Kim <35776586+Yun-Kim@users.noreply.github.com> Date: Wed, 22 Apr 2026 12:22:57 -0400 Subject: [PATCH 069/114] fix(llmobs): resolve circular import of ConfigType in _writer (#17659) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Fixes #17557. This PR moves `ConfigType` import from `ddtrace.llmobs._experiment.py` in the `_writer.py` to `ExperimentConfigType`, and hides it behind a `TYPE_CHECK` flag to avoid any potential circular imports at app runtime. ## Risks Minimal. The change only affects the form of two type annotations (object → forward-reference string). `TypedDict` accepts string annotations, and `ConfigType` is not referenced at runtime in `_writer.py`. ## Additional Notes Claude session: `a3853e6b-9ff8-4941-8644-e0728502235d` Resume: `claude --resume a3853e6b-9ff8-4941-8644-e0728502235d` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: yun.kim --- ddtrace/llmobs/_writer.py | 17 +++++++++++------ ...igtype-circular-import-bbe5ac187303d8d8.yaml | 4 ++++ 2 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 releasenotes/notes/fix-llmobs-writer-configtype-circular-import-bbe5ac187303d8d8.yaml diff --git a/ddtrace/llmobs/_writer.py b/ddtrace/llmobs/_writer.py index f6fc8f685f7..e9a840c2c1b 100644 --- a/ddtrace/llmobs/_writer.py +++ b/ddtrace/llmobs/_writer.py @@ -3,6 +3,7 @@ import json import os import tempfile +from typing import TYPE_CHECKING from typing import Any from typing import Optional from typing import TypedDict @@ -35,7 +36,6 @@ from ddtrace.llmobs._constants import EXP_SUBDOMAIN_NAME from ddtrace.llmobs._constants import SPAN_ENDPOINT from ddtrace.llmobs._constants import SPAN_SUBDOMAIN_NAME -from ddtrace.llmobs._experiment import ConfigType from ddtrace.llmobs._experiment import Dataset from ddtrace.llmobs._experiment import DatasetRecord from ddtrace.llmobs._experiment import DatasetRecordUpdateWithId @@ -46,11 +46,16 @@ from ddtrace.llmobs._experiment import _TagOperations from ddtrace.llmobs._http import get_connection from ddtrace.llmobs._utils import safe_json +from ddtrace.llmobs.types import ExperimentConfigType from ddtrace.llmobs.types import _Meta -from ddtrace.llmobs.types import _SpanLink from ddtrace.version import __version__ +if TYPE_CHECKING: + from ddtrace.llmobs.types import ExperimentConfigType + from ddtrace.llmobs.types import _SpanLink + + logger = get_logger(__name__) @@ -64,8 +69,8 @@ class LLMObsSpanData(TypedDict, total=False): session_id: str tags: dict[str, str] metrics: dict[str, Any] - span_links: list[_SpanLink] - config: ConfigType + span_links: list["_SpanLink"] + config: "ExperimentConfigType" is_evaluation_span: bool meta: _Meta @@ -75,8 +80,8 @@ class _LLMObsSpanEventOptional(TypedDict, total=False): service: str status_message: str collection_errors: list[str] - span_links: list[_SpanLink] - config: ConfigType + span_links: list["_SpanLink"] + config: "ExperimentConfigType" class LLMObsSpanEvent(_LLMObsSpanEventOptional): diff --git a/releasenotes/notes/fix-llmobs-writer-configtype-circular-import-bbe5ac187303d8d8.yaml b/releasenotes/notes/fix-llmobs-writer-configtype-circular-import-bbe5ac187303d8d8.yaml new file mode 100644 index 00000000000..acea086def1 --- /dev/null +++ b/releasenotes/notes/fix-llmobs-writer-configtype-circular-import-bbe5ac187303d8d8.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + LLM Observability: Fixes a circular import in ``ddtrace.llmobs._writer`` when ``anthropic``, ``openai``, and ``botocore`` is installed. From 4cdf646df42d0095ff9326a1a4fec1b32c9971b1 Mon Sep 17 00:00:00 2001 From: "Gabriele N. Tornetta" Date: Wed, 22 Apr 2026 17:25:15 +0100 Subject: [PATCH 070/114] chore(symdb): add injectible_lines and has_injectible_lines to Scope (#17338) ## Description Adds `injectible_lines` (list of contiguous line ranges extractable from a code object) and `has_injectible_lines` (boolean convenience flag) to the `Scope` dataclass. Includes correctness tests for the range-building helper. Refs: [DEBUG-5381](https://datadoghq.atlassian.net/browse/DEBUG-5381) [DEBUG-5381]: https://datadoghq.atlassian.net/browse/DEBUG-5381?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ Co-authored-by: gabriele.tornetta --- ddtrace/internal/symbol_db/symbols.py | 21 ++++++++++++++++ tests/internal/symbol_db/test_symbols.py | 31 +++++++++++++++++++++++- 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/ddtrace/internal/symbol_db/symbols.py b/ddtrace/internal/symbol_db/symbols.py index 3ab66752177..786fb880d3c 100644 --- a/ddtrace/internal/symbol_db/symbols.py +++ b/ddtrace/internal/symbol_db/symbols.py @@ -53,6 +53,23 @@ MAX_FILE_SIZE = 1 << 20 # 1MB +def _line_ranges(lines: set[int]) -> list[dict]: + """Convert a set of line numbers into a list of contiguous ranges.""" + if not lines: + return [] + it = iter(sorted(lines)) + start = prev = next(it) + ranges = [] + for ln in it: + if ln == prev + 1: + prev = ln + else: + ranges.append({"start": start, "end": prev}) + start = prev = ln + ranges.append({"start": start, "end": prev}) + return ranges + + @cached() def is_from_user_code(obj: t.Any) -> t.Optional[bool]: try: @@ -162,6 +179,8 @@ class Scope: end_line: int symbols: list[Symbol] scopes: list["Scope"] + injectible_lines: list[dict] = field(default_factory=list) + has_injectible_lines: bool = False language_specifics: dict = field(default_factory=dict) @@ -353,6 +372,8 @@ def _(cls, code: CodeType, data: ScopeData) -> t.Optional["Scope"]: scopes=[ _ for _ in (cls._get_from(_, data) for _ in code.co_consts if isinstance(_, CodeType)) if _ is not None ], + injectible_lines=_line_ranges(ls), + has_injectible_lines=True, ) @_get_from.register(FunctionType) diff --git a/tests/internal/symbol_db/test_symbols.py b/tests/internal/symbol_db/test_symbols.py index fc51a1267a8..4925800f125 100644 --- a/tests/internal/symbol_db/test_symbols.py +++ b/tests/internal/symbol_db/test_symbols.py @@ -13,6 +13,7 @@ from ddtrace.internal.symbol_db.symbols import ScopeType from ddtrace.internal.symbol_db.symbols import Symbol from ddtrace.internal.symbol_db.symbols import SymbolType +from ddtrace.internal.symbol_db.symbols import _line_ranges @pytest.fixture(autouse=True, scope="function") @@ -58,7 +59,7 @@ def bar(cls): def baz(): pass - def gen(n: int = 10, _untyped=None) -> t.Generator[int, None, None]: + def gen(n: int = 10, _untyped=None) -> t.Generator[int, None, None]: # type: ignore[misc] yield from range(n) async def coro(b): @@ -202,6 +203,8 @@ def test_symbols_to_json(): } ], "scopes": [], + "injectible_lines": [], + "has_injectible_lines": False, "language_specifics": {}, } @@ -258,6 +261,32 @@ def benchmark_wrapper(): assert result.language_specifics["file_hash"] != "" +@pytest.mark.parametrize( + "lines,expected", + [ + # Empty input + (set(), []), + # Single line + ({5}, [{"start": 5, "end": 5}]), + # Single contiguous range + ({1, 2, 3, 4, 5}, [{"start": 1, "end": 5}]), + # Two disjoint ranges + ({1, 2, 3, 7, 8, 9}, [{"start": 1, "end": 3}, {"start": 7, "end": 9}]), + # Multiple single-line ranges (no contiguous pairs) + ( + {1, 3, 5, 7}, + [{"start": 1, "end": 1}, {"start": 3, "end": 3}, {"start": 5, "end": 5}, {"start": 7, "end": 7}], + ), + # Mixed: single lines and a run + ({10, 20, 21, 22, 30}, [{"start": 10, "end": 10}, {"start": 20, "end": 22}, {"start": 30, "end": 30}]), + # Range starting at line 1 + ({1, 2, 4, 5, 6}, [{"start": 1, "end": 2}, {"start": 4, "end": 6}]), + ], +) +def test_symbols_injectible_line_ranges(lines, expected): + assert _line_ranges(lines) == expected + + @pytest.mark.subprocess(ddtrace_run=True, env=dict(DD_SYMBOL_DATABASE_UPLOAD_ENABLED="1")) def test_symbols_upload_enabled(): from ddtrace.internal.remoteconfig.worker import remoteconfig_poller From c9468b4b2297a278fc6c2be42cdaad189efdb03b Mon Sep 17 00:00:00 2001 From: Federico Mon Date: Wed, 22 Apr 2026 18:35:36 +0200 Subject: [PATCH 071/114] chore(ci_visibility): add telemetry for git commit SHA and repository URL discrepancies (#17668) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Adds telemetry metrics to track when git commit SHA or repository URL values differ across providers (user-supplied `DD_GIT_*` env vars, CI provider, local git client). This helps understand how common these discrepancies are in customer setups. Two new count metrics: - `git.commit_sha_match` — emitted every time git info is built, with tag `matched: "true"|"false"` - `git.commit_sha_discrepancy` — emitted for each mismatched pair, with tags `expected_provider`, `discrepant_provider`, and `type` (`commit_discrepancy` or `repository_discrepancy`) All 6 provider-pair × field combinations are checked explicitly, matching the cross-language reference implementation (Ruby: DataDog/datadog-ci-rb#360). ## Testing Unit tests covering: - All 6 check combinations (3 provider pairs × 2 fields) - Edge cases: empty strings, missing values, no telemetry instance - Telemetry method serialization (`test_telemetry.py`) ## Risks Low — telemetry-only change, no impact on tag values or test execution behavior. Co-authored-by: federico.mon --- ddtrace/testing/internal/env_tags.py | 57 ++++++++-- ddtrace/testing/internal/telemetry.py | 19 ++++ tests/testing/internal/test_env_tags.py | 131 +++++++++++++++++++++++ tests/testing/internal/test_telemetry.py | 34 ++++++ 4 files changed, 234 insertions(+), 7 deletions(-) diff --git a/ddtrace/testing/internal/env_tags.py b/ddtrace/testing/internal/env_tags.py index 52f7addaddd..b739329fd73 100644 --- a/ddtrace/testing/internal/env_tags.py +++ b/ddtrace/testing/internal/env_tags.py @@ -13,6 +13,7 @@ from ddtrace.testing.internal.git import get_workspace_path from ddtrace.testing.internal.offline_mode import get_offline_mode from ddtrace.testing.internal.offline_mode import resolve_rlocation +from ddtrace.testing.internal.telemetry import TelemetryAPI from ddtrace.testing.internal.utils import _filter_sensitive_info @@ -21,6 +22,11 @@ _TagDict = dict[str, t.Optional[str]] +# Provider name constants used in commit SHA consistency telemetry +_PROVIDER_USER_SUPPLIED = "user_supplied" +_PROVIDER_CI = "ci_provider" +_PROVIDER_GIT_CLIENT = "git_client" + def merge_tags(target: _TagDict, *tag_dicts: _TagDict) -> None: """ @@ -57,6 +63,43 @@ def _read_env_data_file() -> dict[str, str]: return {} +def _check_commit_sha_consistency( + user_supplied_tags: _TagDict, + ci_provider_tags: _TagDict, + git_client_tags: _TagDict, +) -> None: + """Compare git.commit.sha and git.repository_url across all provider pairs and emit telemetry. + + Emits git.commit_sha_discrepancy for each pair where both sides have a value and they differ. + Always emits exactly one git.commit_sha_match metric. + """ + if TelemetryAPI._instance is None: + return + + telemetry = TelemetryAPI.get() + + provider_pairs = [ + (_PROVIDER_CI, ci_provider_tags, _PROVIDER_GIT_CLIENT, git_client_tags), + (_PROVIDER_USER_SUPPLIED, user_supplied_tags, _PROVIDER_GIT_CLIENT, git_client_tags), + (_PROVIDER_USER_SUPPLIED, user_supplied_tags, _PROVIDER_CI, ci_provider_tags), + ] + fields = [ + (GitTag.COMMIT_SHA, "commit_discrepancy"), + (GitTag.REPOSITORY_URL, "repository_discrepancy"), + ] + + has_mismatch = False + for expected_name, expected_tags, discrepant_name, discrepant_tags in provider_pairs: + for tag_key, discrepancy_type in fields: + left = expected_tags.get(tag_key) + right = discrepant_tags.get(tag_key) + if left and right and left != right: + has_mismatch = True + telemetry.record_commit_sha_discrepancy(expected_name, discrepant_name, discrepancy_type) + + telemetry.record_commit_sha_match(not has_mismatch) + + def get_env_tags() -> dict[str, str]: # NOTE: In payload-files mode (Bazel sandbox output), CI/Git/OS/runtime tags # must NOT be populated from the local environment or git CLI. Instead, the @@ -73,13 +116,13 @@ def get_env_tags() -> dict[str, str]: tags: _TagDict = {} - merge_tags( - tags, - git.get_git_tags_from_git_command(), - ci.get_ci_tags(os.environ), - git.get_git_tags_from_dd_variables(os.environ), - get_custom_dd_tags(os.environ), - ) + local_git_tags = git.get_git_tags_from_git_command() + ci_provider_tags = ci.get_ci_tags(os.environ) + user_supplied_tags = git.get_git_tags_from_dd_variables(os.environ) + + merge_tags(tags, local_git_tags, ci_provider_tags, user_supplied_tags, get_custom_dd_tags(os.environ)) + + _check_commit_sha_consistency(user_supplied_tags, ci_provider_tags, local_git_tags) if head_sha := tags.get(GitTag.COMMIT_HEAD_SHA): merge_tags(tags, git.get_git_head_tags_from_git_command(head_sha)) diff --git a/ddtrace/testing/internal/telemetry.py b/ddtrace/testing/internal/telemetry.py index fe5c3f5e13c..5bdd357c3c3 100644 --- a/ddtrace/testing/internal/telemetry.py +++ b/ddtrace/testing/internal/telemetry.py @@ -301,6 +301,25 @@ def record_git_pack_data(self, uploaded_files: int, uploaded_bytes: int) -> None self.add_distribution_metric("git_requests.objects_pack_files", uploaded_files) self.add_distribution_metric("git_requests.objects_pack_bytes", uploaded_bytes) + def record_commit_sha_match(self, matched: bool) -> None: + self.add_count_metric("git.commit_sha_match", 1, {"matched": "true" if matched else "false"}) + + def record_commit_sha_discrepancy( + self, + expected_provider: str, + discrepant_provider: str, + discrepancy_type: str, + ) -> None: + self.add_count_metric( + "git.commit_sha_discrepancy", + 1, + { + "expected_provider": expected_provider, + "discrepant_provider": discrepant_provider, + "type": discrepancy_type, + }, + ) + class _PayloadFileTelemetryClient: """Drop-in replacement for ``_TelemetryClient`` that writes payloads to files. diff --git a/tests/testing/internal/test_env_tags.py b/tests/testing/internal/test_env_tags.py index 19422dedd26..db3e663ffaa 100644 --- a/tests/testing/internal/test_env_tags.py +++ b/tests/testing/internal/test_env_tags.py @@ -8,10 +8,15 @@ import pytest from ddtrace.testing.internal.ci import CITag +from ddtrace.testing.internal.env_tags import _PROVIDER_CI +from ddtrace.testing.internal.env_tags import _PROVIDER_GIT_CLIENT +from ddtrace.testing.internal.env_tags import _PROVIDER_USER_SUPPLIED +from ddtrace.testing.internal.env_tags import _check_commit_sha_consistency from ddtrace.testing.internal.env_tags import get_env_tags from ddtrace.testing.internal.git import Git from ddtrace.testing.internal.git import GitTag from ddtrace.testing.internal.git import get_git_tags_from_git_command +from ddtrace.testing.internal.telemetry import TelemetryAPI from ddtrace.testing.internal.utils import _filter_sensitive_info @@ -446,3 +451,129 @@ def test_github_actions_base_branch_sha_not_overwritten_when_already_set( mock_merge_base.assert_not_called() assert tags[GitTag.PULL_REQUEST_BASE_BRANCH_SHA] == existing_base_sha + + +class TestCheckCommitShaConsistency: + """Tests for _check_commit_sha_consistency telemetry helper.""" + + SHA1 = "aaaa1111" + SHA2 = "bbbb2222" + SHA3 = "cccc3333" + REPO1 = "https://github.com/org/repo-a.git" + REPO2 = "https://github.com/org/repo-b.git" + REPO3 = "https://github.com/org/repo-c.git" + + def _call(self, user=None, ci=None, git=None, user_repo=None, ci_repo=None, git_repo=None): + return _check_commit_sha_consistency( + {GitTag.COMMIT_SHA: user, GitTag.REPOSITORY_URL: user_repo}, + {GitTag.COMMIT_SHA: ci, GitTag.REPOSITORY_URL: ci_repo}, + {GitTag.COMMIT_SHA: git, GitTag.REPOSITORY_URL: git_repo}, + ) + + def test_all_match_emits_matched_true(self, mock_telemetry: mock.Mock) -> None: + self._call(user=self.SHA1, ci=self.SHA1, git=self.SHA1) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(True) + mock_telemetry.record_commit_sha_discrepancy.assert_not_called() + + def test_no_providers_have_sha_emits_matched_true(self, mock_telemetry: mock.Mock) -> None: + self._call() + + mock_telemetry.record_commit_sha_match.assert_called_once_with(True) + mock_telemetry.record_commit_sha_discrepancy.assert_not_called() + + def test_only_one_provider_has_sha_emits_matched_true(self, mock_telemetry: mock.Mock) -> None: + self._call(ci=self.SHA1) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(True) + mock_telemetry.record_commit_sha_discrepancy.assert_not_called() + + def test_ci_vs_git_client_sha_mismatch(self, mock_telemetry: mock.Mock) -> None: + self._call(ci=self.SHA1, git=self.SHA2) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(False) + mock_telemetry.record_commit_sha_discrepancy.assert_called_once_with( + _PROVIDER_CI, _PROVIDER_GIT_CLIENT, "commit_discrepancy" + ) + + def test_user_supplied_vs_git_client_sha_mismatch(self, mock_telemetry: mock.Mock) -> None: + self._call(user=self.SHA1, git=self.SHA2) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(False) + mock_telemetry.record_commit_sha_discrepancy.assert_called_once_with( + _PROVIDER_USER_SUPPLIED, _PROVIDER_GIT_CLIENT, "commit_discrepancy" + ) + + def test_user_supplied_vs_ci_sha_mismatch(self, mock_telemetry: mock.Mock) -> None: + self._call(user=self.SHA1, ci=self.SHA2) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(False) + mock_telemetry.record_commit_sha_discrepancy.assert_called_once_with( + _PROVIDER_USER_SUPPLIED, _PROVIDER_CI, "commit_discrepancy" + ) + + def test_all_three_sha_different_emits_three_discrepancies(self, mock_telemetry: mock.Mock) -> None: + self._call(user=self.SHA1, ci=self.SHA2, git=self.SHA3) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(False) + calls = mock_telemetry.record_commit_sha_discrepancy.call_args_list + assert len(calls) == 3 + assert mock.call(_PROVIDER_CI, _PROVIDER_GIT_CLIENT, "commit_discrepancy") in calls + assert mock.call(_PROVIDER_USER_SUPPLIED, _PROVIDER_GIT_CLIENT, "commit_discrepancy") in calls + assert mock.call(_PROVIDER_USER_SUPPLIED, _PROVIDER_CI, "commit_discrepancy") in calls + + def test_ci_vs_git_client_url_mismatch(self, mock_telemetry: mock.Mock) -> None: + self._call(ci_repo=self.REPO1, git_repo=self.REPO2) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(False) + mock_telemetry.record_commit_sha_discrepancy.assert_called_once_with( + _PROVIDER_CI, _PROVIDER_GIT_CLIENT, "repository_discrepancy" + ) + + def test_user_supplied_vs_git_client_url_mismatch(self, mock_telemetry: mock.Mock) -> None: + self._call(user_repo=self.REPO1, git_repo=self.REPO2) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(False) + mock_telemetry.record_commit_sha_discrepancy.assert_called_once_with( + _PROVIDER_USER_SUPPLIED, _PROVIDER_GIT_CLIENT, "repository_discrepancy" + ) + + def test_user_supplied_vs_ci_url_mismatch(self, mock_telemetry: mock.Mock) -> None: + self._call(user_repo=self.REPO1, ci_repo=self.REPO2) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(False) + mock_telemetry.record_commit_sha_discrepancy.assert_called_once_with( + _PROVIDER_USER_SUPPLIED, _PROVIDER_CI, "repository_discrepancy" + ) + + def test_sha_and_url_mismatch_emits_both_types(self, mock_telemetry: mock.Mock) -> None: + self._call(ci=self.SHA1, git=self.SHA2, ci_repo=self.REPO1, git_repo=self.REPO2) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(False) + calls = mock_telemetry.record_commit_sha_discrepancy.call_args_list + assert mock.call(_PROVIDER_CI, _PROVIDER_GIT_CLIENT, "commit_discrepancy") in calls + assert mock.call(_PROVIDER_CI, _PROVIDER_GIT_CLIENT, "repository_discrepancy") in calls + + def test_all_six_discrepancies_when_all_differ(self, mock_telemetry: mock.Mock) -> None: + self._call( + user=self.SHA1, + ci=self.SHA2, + git=self.SHA3, + user_repo=self.REPO1, + ci_repo=self.REPO2, + git_repo=self.REPO3, + ) + + assert mock_telemetry.record_commit_sha_discrepancy.call_count == 6 + mock_telemetry.record_commit_sha_match.assert_called_once_with(False) + + def test_empty_string_treated_as_absent(self, mock_telemetry: mock.Mock) -> None: + self._call(ci="", git=self.SHA1) + + mock_telemetry.record_commit_sha_match.assert_called_once_with(True) + mock_telemetry.record_commit_sha_discrepancy.assert_not_called() + + def test_no_telemetry_when_instance_is_none(self, monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setattr(TelemetryAPI, "_instance", None) + # Should not raise + self._call(ci=self.SHA1, git=self.SHA2) diff --git a/tests/testing/internal/test_telemetry.py b/tests/testing/internal/test_telemetry.py index 85ebb2cd3d5..5af568a7b60 100644 --- a/tests/testing/internal/test_telemetry.py +++ b/tests/testing/internal/test_telemetry.py @@ -594,3 +594,37 @@ def test_record_git_pack_data(self, telemetry_api: TelemetryAPI, mock_writer: Mo call(CIVISIBILITY, "git_requests.objects_pack_files", 5, ()), call(CIVISIBILITY, "git_requests.objects_pack_bytes", 200, ()), ] + + def test_record_commit_sha_match_true(self, telemetry_api: TelemetryAPI, mock_writer: Mock) -> None: + telemetry_api.record_commit_sha_match(matched=True) + + assert mock_writer.add_count_metric.call_args_list == [ + call(CIVISIBILITY, "git.commit_sha_match", 1, (("matched", "true"),)) + ] + + def test_record_commit_sha_match_false(self, telemetry_api: TelemetryAPI, mock_writer: Mock) -> None: + telemetry_api.record_commit_sha_match(matched=False) + + assert mock_writer.add_count_metric.call_args_list == [ + call(CIVISIBILITY, "git.commit_sha_match", 1, (("matched", "false"),)) + ] + + def test_record_commit_sha_discrepancy(self, telemetry_api: TelemetryAPI, mock_writer: Mock) -> None: + telemetry_api.record_commit_sha_discrepancy( + expected_provider="ci_provider", + discrepant_provider="local_git", + discrepancy_type="commit_discrepancy", + ) + + assert mock_writer.add_count_metric.call_args_list == [ + call( + CIVISIBILITY, + "git.commit_sha_discrepancy", + 1, + ( + ("expected_provider", "ci_provider"), + ("discrepant_provider", "local_git"), + ("type", "commit_discrepancy"), + ), + ) + ] From e93aa2974848c1e99a74edeeb3d1dd6a8f5de55d Mon Sep 17 00:00:00 2001 From: Alberto Vara Date: Wed, 22 Apr 2026 21:49:17 +0200 Subject: [PATCH 072/114] refactor(telemetry): dependency tracker performance (#17667) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Targeted refactor of `ddtrace/internal/telemetry/dependency_tracker.py` and the writer's heartbeat path, focused on concurrency safety and removing redundant work in `collect_report`. No behavior change on the wire. **Concurrency fix (heartbeat):** `writer._report_heartbeat` previously called `tracker.get_all_dependencies()` and then serialized each `DependencyEntry` outside the tracker lock. The returned list was a snapshot, but entries themselves remained live — concurrent SCA hooks (`attach_metadata` / `register_cve`) mutate `DependencyEntry.metadata` and `ReachabilityMetadata.value["reached"]`. In particular, `json.dumps(self.value)` iterates the `reached` list, and a concurrent `append` is not safe. Now the heartbeat calls a new `DependencyTracker.snapshot_for_heartbeat()` that builds telemetry dicts while holding `self._lock`. **collect_report cleanup:** - Removed the thin `_update_imported` wrapper (single caller, pure pass-through). - Normalized new-dep names exactly once; the resulting set is reused both for sent-marking and for skipping just-reported deps in the re-report scan. The previous code normalized each new dep twice and also called `_normalize_dep_name(entry.name)` for every tracked entry on every flush. - Split `collect_report` into `_mark_sent(keys)` and `_collect_rereports(skip_keys)` helpers for clarity (SRP). Public API unchanged. - Dropped unused `get_all_dependencies()`. **Split out:** the `data.get_host_info` `@cached()` migration is tracked separately in #17669 to keep this PR focused on the tracker. **Context:** Findings from a pragmatic code review (L5) of the telemetry dependency tracker on an earlier branch. These are internal-only changes; nothing externally observable shifts. The three standalone helpers (`update_imported_dependencies`, `attach_reachability_metadata`, `register_cve_metadata`) are preserved untouched — they are called from benchmarks, tests, and monkey-patched by `tests/appsec/architectures/mini.py`. The deferred `tracer_config` imports are also preserved: `settings/_config.py` imports telemetry at module top, so a top-level import in the tracker would create a circular import. ## Performance Isolated A/B microbenchmark of `collect_report()`'s body — byte-for-byte reproduction of `main` vs. this branch, same mocked distribution lookups on both sides, 33 interleaved samples per case. Times are the best of the run; medians track the same direction. | Scenario (SCA enabled unless noted) | Before (main) | After (this PR) | Δ | |---|---:|---:|---:| | 2 000 tracked deps, 50 new imports | 2 695 µs | 1 981 µs | **+26.5 % faster** | | 5 000 tracked deps, 50 new imports | 6 567 µs | 4 752 µs | **+27.6 % faster** | | 10 000 tracked deps, 50 new imports | 13 075 µs | 9 539 µs | **+27.0 % faster** | | **Idle tick**, 5 000 deps, 0 new | 1 880 µs | 148 µs | **+92.1 % faster** | | **Idle tick**, 10 000 deps, 0 new | 3 790 µs | 298 µs | **+92.1 % faster** | | SCA **disabled**, 2 000 deps, 50 new | 1 767 µs | 1 783 µs | ~flat (−0.9 %) | **Where the speedup comes from:** the previous re-report scan called `_normalize_dep_name(entry.name)` (a regex substitution) on every tracked entry, every tick. The refactor iterates `imported.items()` and uses the already-normalized dict key directly, eliminating N regex calls per heartbeat. The idle-path win is large because with no new modules the only work done is that re-report scan. The SCA-disabled fast path was not touched and is statistically flat, as expected. ## Testing - `hatch run lint:fmt -- ...` — clean - `pytest tests/telemetry/test_dependency.py` — **69 passed**, including a new `TestSnapshotForHeartbeat` class: - Empty-tracker case returns `[]` - All entries serialized correctly; `metadata=None` entries omit the `"metadata"` key - Already-sent metadata is still included in the heartbeat payload - **Concurrency test**: a writer thread repeatedly calls `attach_metadata` while the main thread builds 200 snapshots. Without the lock, the writer races `json.dumps` iteration over `reached`; with the lock, the test is clean. - `pytest tests/telemetry/test_data.py` — 15 passed, 2 failures that are pre-existing and unrelated (subprocess-marked tests that assume docker paths in `conftest.py`; verified identical failure on clean `origin/main`). - `pytest tests/telemetry/test_writer.py` — same pre-existing subprocess-path failures on both clean `main` and this branch; no new regressions. ## Risks Low — internal refactor with no wire-format or public-API changes. - `snapshot_for_heartbeat()` holds the tracker lock during a list comprehension that calls `to_telemetry_dict(include_all_metadata=True)` per entry, which includes a `json.dumps` per `ReachabilityMetadata`. On an app with 10k+ tracked deps this is marginally longer than the previous lock-then-serialize-outside pattern, but in exchange we get correctness. Heartbeats run at most once per extended-interval (default 24h), so this is not hot. - `collect_report` helper split is a pure refactor; `_mark_sent` and `_collect_rereports` remain private and require the caller to hold `self._lock`. ## Additional Notes - Added `changelog/no-changelog` — the SCA-related telemetry (reachability metadata on `DependencyEntry`) is unreleased, and the rest of this PR is internal refactor. Co-authored-by: alberto.vara --- .../internal/telemetry/dependency_tracker.py | 85 ++++++++++-------- ddtrace/internal/telemetry/writer.py | 8 +- tests/telemetry/test_dependency.py | 86 +++++++++++++++++++ 3 files changed, 138 insertions(+), 41 deletions(-) diff --git a/ddtrace/internal/telemetry/dependency_tracker.py b/ddtrace/internal/telemetry/dependency_tracker.py index 20d2ed4ca40..9368ad70739 100644 --- a/ddtrace/internal/telemetry/dependency_tracker.py +++ b/ddtrace/internal/telemetry/dependency_tracker.py @@ -61,16 +61,6 @@ def __init__(self) -> None: self._modules_already_imported: set[str] = set() self._lock = Lock() - def _update_imported(self, new_modules: Iterable[str]) -> list[dict]: - """Discover new dependencies from recently imported modules. - - Adds a DependencyEntry for each newly discovered package. - Returns serialized dependency dicts ready for the telemetry payload. - - Caller must hold self._lock (called internally from collect_report). - """ - return update_imported_dependencies(self._imported_dependencies, new_modules) - def collect_report(self) -> Optional[list[dict[str, Any]]]: """Discover new modules, collect re-reports, mark sent. Return payload or None. @@ -82,14 +72,11 @@ def collect_report(self) -> Optional[list[dict[str, Any]]]: with self._lock: newly_imported_deps = modules.get_newly_imported_modules(self._modules_already_imported) - new_deps = self._update_imported(newly_imported_deps) + new_deps = update_imported_dependencies(self._imported_dependencies, newly_imported_deps) - # Mark new deps as initially sent - for dep_dict in new_deps: - entry = self._imported_dependencies.get(_normalize_dep_name(dep_dict["name"])) - if entry: - entry.mark_initial_sent() - entry.mark_all_metadata_sent() + # Normalize once; reuse the set for sent-marking and re-report dedup. + new_keys = {_normalize_dep_name(d["name"]) for d in new_deps} + self._mark_sent(new_keys) # Skip the re-report scan when SCA is disabled. # Without SCA, no entry will ever have unsent metadata, so the @@ -101,24 +88,53 @@ def collect_report(self) -> Optional[list[dict[str, Any]]]: if not tracer_config._sca_enabled: return new_deps if new_deps else None - # Collect normalized names of deps just reported above to avoid double-reporting. - just_reported = {_normalize_dep_name(d["name"]) for d in new_deps} - - # Re-report deps that need it: auto-created by SCA hook (never - # reported yet) or already reported but with new unsent metadata. - # Include ALL metadata (sent + unsent) per RFC. - re_report_deps: list[dict] = [] - for entry in self._imported_dependencies.values(): - if _normalize_dep_name(entry.name) in just_reported: - continue - if entry.needs_report(): - re_report_deps.append(entry.to_telemetry_dict(include_all_metadata=True)) - entry.mark_initial_sent() - entry.mark_all_metadata_sent() - + re_report_deps = self._collect_rereports(new_keys) all_deps = new_deps + re_report_deps return all_deps if all_deps else None + def _mark_sent(self, keys: Iterable[str]) -> None: + """Mark entries at ``keys`` as initially sent with all metadata sent. + + Caller must hold self._lock. + """ + for key in keys: + entry = self._imported_dependencies.get(key) + if entry is not None: + entry.mark_initial_sent() + entry.mark_all_metadata_sent() + + def _collect_rereports(self, skip_keys: set[str]) -> list[dict[str, Any]]: + """Return serialized dicts for entries needing a re-report. + + Re-report deps that need it: auto-created by SCA hook (never reported + yet) or already reported but with new unsent metadata. Include ALL + metadata (sent + unsent) per RFC. + + Caller must hold self._lock. + """ + re_report: list[dict[str, Any]] = [] + for key, entry in self._imported_dependencies.items(): + if key in skip_keys: + continue + if entry.needs_report(): + re_report.append(entry.to_telemetry_dict(include_all_metadata=True)) + entry.mark_initial_sent() + entry.mark_all_metadata_sent() + return re_report + + def snapshot_for_heartbeat(self) -> list[dict[str, Any]]: + """Return serialized dependency dicts for the extended heartbeat payload. + + Serialization happens under the lock so that concurrent SCA mutations + (``attach_metadata`` / ``register_cve``) cannot race the iteration of + ``entry.metadata`` or the ``reached`` list inside ``json.dumps``. The + payload is a list of fresh dicts safe to hand off to the transport. + """ + with self._lock: + return [ + entry.to_telemetry_dict(include_all_metadata=True) for entry in self._imported_dependencies.values() + ] + def _ensure_entry(self, package_name: str) -> None: """Auto-create a DependencyEntry if SCA is active and package not yet tracked. @@ -189,11 +205,6 @@ def enable_sca_metadata(self) -> None: if entry.metadata is None: entry.metadata = [] - def get_all_dependencies(self) -> list[DependencyEntry]: - """Return a snapshot of all dependency entries, safe for unsynchronized iteration.""" - with self._lock: - return list(self._imported_dependencies.values()) - def reset(self) -> None: """Reset all state (used on fork / queue reset).""" with self._lock: diff --git a/ddtrace/internal/telemetry/writer.py b/ddtrace/internal/telemetry/writer.py index 8a8e59baceb..caf46532aa2 100644 --- a/ddtrace/internal/telemetry/writer.py +++ b/ddtrace/internal/telemetry/writer.py @@ -313,10 +313,10 @@ def _report_heartbeat(self) -> dict[str, Any]: if time.monotonic() - self._extended_time > self._extended_heartbeat_interval: payload["configuration"] = self._sent_configs if config.DEPENDENCY_COLLECTION: - payload["dependencies"] = [ - entry.to_telemetry_dict(include_all_metadata=True) - for entry in self._dependency_tracker.get_all_dependencies() - ] + # Serialize under the tracker lock — concurrent SCA mutations on + # DependencyEntry.metadata or ReachabilityMetadata.value["reached"] + # would otherwise race list iteration inside json.dumps. + payload["dependencies"] = self._dependency_tracker.snapshot_for_heartbeat() self._extended_time += self._extended_heartbeat_interval return payload diff --git a/tests/telemetry/test_dependency.py b/tests/telemetry/test_dependency.py index 51c7e28d306..6d0761d2539 100644 --- a/tests/telemetry/test_dependency.py +++ b/tests/telemetry/test_dependency.py @@ -795,3 +795,89 @@ def test_collect_report_marks_sent_with_normalized_lookup(self): key = _normalize_dep_name("PyYAML") assert key in tracker._imported_dependencies assert tracker._imported_dependencies[key]._initial_report_sent is True + + +class TestSnapshotForHeartbeat: + """Tests for DependencyTracker.snapshot_for_heartbeat — lock-protected extended-heartbeat payload.""" + + def test_empty_tracker_returns_empty_list(self): + from ddtrace.internal.telemetry.dependency_tracker import DependencyTracker + + tracker = DependencyTracker() + assert tracker.snapshot_for_heartbeat() == [] + + def test_returns_all_entries_serialized(self): + from ddtrace.internal.telemetry.dependency_tracker import DependencyTracker + + tracker = DependencyTracker() + tracker._imported_dependencies = { + "requests": DependencyEntry(name="requests", version="2.28.0", metadata=[]), + "flask": DependencyEntry(name="flask", version="3.0.0"), + } + tracker._imported_dependencies["requests"].add_metadata("CVE-1", "mod", "func", 10) + + snapshot = tracker.snapshot_for_heartbeat() + + assert len(snapshot) == 2 + by_name = {d["name"]: d for d in snapshot} + assert by_name["requests"]["version"] == "2.28.0" + assert "metadata" in by_name["requests"] + assert len(by_name["requests"]["metadata"]) == 1 + # flask has metadata=None -> no "metadata" key + assert "metadata" not in by_name["flask"] + + def test_includes_already_sent_metadata(self): + """Extended heartbeat must re-send sent metadata (include_all_metadata=True).""" + from ddtrace.internal.telemetry.dependency_tracker import DependencyTracker + + entry = DependencyEntry(name="requests", version="2.28.0", metadata=[]) + entry.add_metadata("CVE-1", "mod", "func", 10) + entry.mark_all_metadata_sent() + + tracker = DependencyTracker() + tracker._imported_dependencies = {"requests": entry} + + snapshot = tracker.snapshot_for_heartbeat() + assert len(snapshot[0]["metadata"]) == 1 + + def test_serialization_holds_lock_against_concurrent_mutation(self): + """Concurrent attach_metadata must not race iteration inside json.dumps. + + Spawns a writer thread repeatedly adding CVEs to a tracked entry while the + heartbeat serializer builds snapshots. Without the lock, the writer thread + could append to ReachabilityMetadata.value["reached"] mid-serialization — + json.dumps on a list being mutated in another thread is not safe. + """ + import threading + + from ddtrace.internal.settings._config import config as tracer_config + from ddtrace.internal.telemetry.dependency_tracker import DependencyTracker + + tracer_config._sca_enabled = True + tracker = DependencyTracker() + tracker._imported_dependencies["requests"] = DependencyEntry(name="requests", version="2.28.0", metadata=[]) + + stop = threading.Event() + errors: list[BaseException] = [] + + def writer(): + i = 0 + while not stop.is_set(): + try: + tracker.attach_metadata("requests", f"CVE-{i}", "mod", "func", i) + i += 1 + except BaseException as exc: # pragma: no cover — asserted below + errors.append(exc) + return + + t = threading.Thread(target=writer, daemon=True) + t.start() + try: + for _ in range(200): + snapshot = tracker.snapshot_for_heartbeat() + assert snapshot and snapshot[0]["name"] == "requests" + finally: + stop.set() + t.join(timeout=2) + + assert not errors, errors From 80a31518a1e2b9828e2156a592bea3cb0befe6b5 Mon Sep 17 00:00:00 2001 From: kyle Date: Wed, 22 Apr 2026 17:49:18 -0400 Subject: [PATCH 073/114] fix(llmobs): do not disable LLMObs on RC payloads without llmobs directives (#17677) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary The APM_TRACING remote-config handler in `ddtrace/llmobs/_product.py` previously wrote `llmobs.enabled = None` into `_rc_value` on every poll that did not carry an `llmobs` section, then branched on `enabled_config.value()`. When LLMObs had been enabled programmatically via `LLMObs.enable()`, `_llmobs_enabled` had no `_env_value` or `_code_value` set, so `value()` fell through to the default (`False`), which fired the `elif not enabled_config.value() and LLMObs.enabled:` branch and silently called `LLMObs.disable()` on every RC poll. Services that enabled LLMObs via `DD_LLMOBS_ENABLED=true` were not affected — `_env_value` shielded `value()` from the `_rc_value = None` fallback. This is why the regression was hard to reproduce in simple tests and why the original test `test_rc_missing_llmobs_does_not_disable_enabled_llmobs` passes against the broken handler. ### Root cause `LLMObs.enable()` flipped `cls.enabled = True` but never wrote `ddtrace.config._llmobs_enabled`, so `_ConfigItem.value()` contradicted the effective state. The RC handler trusted `value()` and disabled LLMObs whenever the config appeared to say "off" — which it always did for programmatic enables. ### Fix Align `ddtrace.config._llmobs_enabled` with the effective state of LLMObs at every call site. `LLMObs.enable()` / `LLMObs.disable()` now mirror `cls.enabled` into `config._llmobs_enabled` via `Config.__setattr__` (→ `set_value(bool, "code")`), gated on the existing `_auto` parameter: - **User-initiated calls** (`_auto=False`): write `_code_value` so `value()` reflects the user's explicit choice. - **Auto-start / RC-initiated calls** (`_auto=True`): skip the write. The caller (the RC handler, or the env-var auto-start path) has already set the appropriate higher-precedence source (`remote_config` or `env_var`); stamping `"code"` on top would mask it when `_rc_value` later clears. `disable()` gains the same `_auto` parameter and the RC handler passes `_auto=True` when it disables. With the invariant correct at every call site, the RC handler reverts to the simple `value()`-based form — the pre-regression shape, plus `lib_config.get("llmobs") or {}` as a defense against `{"llmobs": null}` payloads, plus `_auto=True` on the `LLMObs.disable()` call. `set_value` is called unconditionally, so stale `_rc_value` clears naturally when a directive disappears from the merged `lib_config`. ## Test plan - [x] `test_enable_disable_keeps_global_config_llmobs_enabled_in_sync` (in `test_llmobs_service.py`) pins the invariant: `ddtrace.config._llmobs_enabled` reflects effective state after `LLMObs.enable()` and after `LLMObs.disable()`. - [x] `test_rc_missing_llmobs_does_not_disable_programmatically_enabled_llmobs` — the scenario that reproduces the 4.8.0rc bug. Simulates the post-`enable()` invariant (both `cls.enabled=True` and `config._llmobs_enabled=True`) and verifies that `{}`, `{"llmobs": {}}`, and `{"llmobs": {"ml_app_name": "x"}}` payloads do not call `LLMObs.disable()`. - [x] `test_rc_directive_removal_clears_rc_override` — a first payload sets `_rc_value` on both `_llmobs_enabled` and `_llmobs_ml_app`; a subsequent payload without an `llmobs` section clears both back to `None`. - [x] `test_rc_missing_llmobs_is_noop` now also covers `{"llmobs": null}` (pre-fix would have crashed on `None.get()`). - [x] Existing `test_rc_missing_llmobs_does_not_disable_enabled_llmobs` / `test_rc_enables_llmobs_and_sets_ml_app` / `test_rc_disables_llmobs` still exercise the env-var and happy paths. - [ ] CI green on the full llmobs test suite. ## Manual verification Reproduced and verified against a real staging Datadog Agent + staging RC service. ### Reproduction conditions 1. LLMObs enabled programmatically via `LLMObs.enable(ml_app=...)` (NOT via `DD_LLMOBS_ENABLED` env var). 2. `DD_ENV=staging` + `DD_SERVICE=` so the staging RC rule targets the process. 3. That RC rule ships a `lib_config` with no `llmobs.*` key (in staging it carries only `exception_replay_enabled: True`). 4. Tracer started via `ddtrace-run` so remote config is active and hits the local agent. ### Observed on unpatched `ddtrace==4.8.0rc4` ``` Disabling LLMObs via Remote Config: {} ``` …flipping LLMObs off for the remainder of the process (1/12 iterations shipped spans). ### Observed with this PR's fix applied - `Disabling LLMObs via Remote Config` — **0 occurrences** - `LLMObs.enabled=True` across **12/12** iterations - `Dispatching 1 payloads to product APM_TRACING` still fires; the handler correctly no-ops on the empty `llmobs` section - LLMObs spans flushed successfully to the staging intake throughout the run Co-authored-by: ZStriker19 <32471391+ZStriker19@users.noreply.github.com> Co-authored-by: zach.groves --- ddtrace/llmobs/_llmobs.py | 12 ++- ddtrace/llmobs/_product.py | 4 +- ...s-rc-default-disable-f3a7c9b1e2d04a5c.yaml | 10 +++ tests/llmobs/test_llmobs_rc.py | 76 ++++++++++++++++++- tests/llmobs/test_llmobs_service.py | 13 ++++ 5 files changed, 111 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/fix-llmobs-rc-default-disable-f3a7c9b1e2d04a5c.yaml diff --git a/ddtrace/llmobs/_llmobs.py b/ddtrace/llmobs/_llmobs.py index 30cc9123b7c..191d99353ba 100644 --- a/ddtrace/llmobs/_llmobs.py +++ b/ddtrace/llmobs/_llmobs.py @@ -825,6 +825,11 @@ def enable( cls._instance.tracer._span_aggregator.dd_processors.append(apm_filter) cls.enabled = True + # Align config._llmobs_enabled with effective state for user-initiated calls. + # When _auto=True, the caller (RC handler, env-var auto-start) has already + # written the appropriate source; stamping "code" would mask it on precedence. + if not _auto: + config._llmobs_enabled = True cls._instance.start() # Register hooks for span events @@ -1537,7 +1542,7 @@ def _integration_is_enabled(cls, integration: str) -> bool: return module_name in ddtrace._monkey._get_patched_modules() @classmethod - def disable(cls) -> None: + def disable(cls, _auto: bool = False) -> None: if not cls.enabled: log.debug("%s not enabled", cls.__name__) return @@ -1546,6 +1551,11 @@ def disable(cls) -> None: cls._instance.stop() cls.enabled = False + # Align config._llmobs_enabled with effective state for user-initiated calls. + # When _auto=True, the caller (RC handler) has already written _rc_value; + # stamping "code" here would mask env/code state when _rc_value later clears. + if not _auto: + config._llmobs_enabled = False cls._prompt_manager = None telemetry_writer.product_activated(TELEMETRY_APM_PRODUCT.LLMOBS, False) diff --git a/ddtrace/llmobs/_product.py b/ddtrace/llmobs/_product.py index 49d610a04e0..84e4b23c125 100644 --- a/ddtrace/llmobs/_product.py +++ b/ddtrace/llmobs/_product.py @@ -69,7 +69,7 @@ def apm_tracing_rc(lib_config: dict, dd_config: t.Any) -> None: """ from ddtrace.llmobs import LLMObs - llmobs_config = lib_config.get("llmobs", {}) + llmobs_config = lib_config.get("llmobs") or {} enabled_config = dd_config._config["_llmobs_enabled"] enabled_config.set_value(llmobs_config.get("enabled"), "remote_config") @@ -82,4 +82,4 @@ def apm_tracing_rc(lib_config: dict, dd_config: t.Any) -> None: LLMObs.enable(ml_app=ml_app_config.value(), _auto=True) elif not enabled_config.value() and LLMObs.enabled: log.debug("Disabling LLMObs via Remote Config: %r", llmobs_config) - LLMObs.disable() + LLMObs.disable(_auto=True) diff --git a/releasenotes/notes/fix-llmobs-rc-default-disable-f3a7c9b1e2d04a5c.yaml b/releasenotes/notes/fix-llmobs-rc-default-disable-f3a7c9b1e2d04a5c.yaml new file mode 100644 index 00000000000..f7ccb5dac66 --- /dev/null +++ b/releasenotes/notes/fix-llmobs-rc-default-disable-f3a7c9b1e2d04a5c.yaml @@ -0,0 +1,10 @@ +--- +fixes: + - | + LLM Observability: Fixes an issue where an APM_TRACING remote configuration + payload that did not include an ``llmobs`` section would disable LLM + Observability on services where it had been enabled programmatically via + ``LLMObs.enable()``. Services that enabled LLM Observability via the + ``DD_LLMOBS_ENABLED`` environment variable were unaffected. The handler now + only changes LLM Observability state when the remote configuration payload + explicitly carries an ``llmobs.enabled`` directive. diff --git a/tests/llmobs/test_llmobs_rc.py b/tests/llmobs/test_llmobs_rc.py index e6499ecb805..2133a7e0a96 100644 --- a/tests/llmobs/test_llmobs_rc.py +++ b/tests/llmobs/test_llmobs_rc.py @@ -50,10 +50,84 @@ def test_rc_missing_llmobs_is_noop(): from ddtrace.llmobs import LLMObs from ddtrace.llmobs._product import apm_tracing_rc - for payload in ({}, {"llmobs": {}}, {"llmobs": {"enabled": None}}): + for payload in ({}, {"llmobs": None}, {"llmobs": {}}, {"llmobs": {"enabled": None}}): with mock.patch.object(LLMObs, "enable") as mock_enable: apm_tracing_rc(payload, ddtrace.config) mock_enable.assert_not_called() assert ddtrace.config._llmobs_enabled is False assert not LLMObs.enabled + + +@pytest.mark.subprocess(ddtrace_run=True, env={"DD_REMOTE_CONFIGURATION_ENABLED": "false", "DD_LLMOBS_ENABLED": "true"}) +def test_rc_missing_llmobs_does_not_disable_enabled_llmobs(): + """A payload without an llmobs.enabled directive must not disable already-enabled LLMObs.""" + import mock + + import ddtrace + from ddtrace.llmobs import LLMObs + from ddtrace.llmobs._product import apm_tracing_rc + + assert LLMObs.enabled + for payload in ({}, {"llmobs": {}}, {"llmobs": {"ml_app_name": "some-app"}}): + with mock.patch.object(LLMObs, "disable") as mock_disable: + apm_tracing_rc(payload, ddtrace.config) + + mock_disable.assert_not_called() + assert LLMObs.enabled + + +@pytest.mark.subprocess(env={"DD_REMOTE_CONFIGURATION_ENABLED": "false"}) +def test_rc_directive_removal_clears_rc_override(): + """When an llmobs directive is present on one poll and absent on the next + (e.g. the upstream RC config was removed), the handler must clear the stale + _rc_value so _ConfigItem.value() falls back through env/code/default. + """ + import mock + + import ddtrace + from ddtrace.llmobs import LLMObs + from ddtrace.llmobs._product import apm_tracing_rc + + enabled_config = ddtrace.config._config["_llmobs_enabled"] + ml_app_config = ddtrace.config._config["_llmobs_ml_app"] + + with mock.patch.object(LLMObs, "enable"), mock.patch.object(LLMObs, "disable"): + apm_tracing_rc({"llmobs": {"enabled": True, "ml_app_name": "rc-app"}}, ddtrace.config) + assert enabled_config._rc_value is True + assert ml_app_config._rc_value == "rc-app" + + apm_tracing_rc({}, ddtrace.config) + assert enabled_config._rc_value is None + assert ml_app_config._rc_value is None + + +@pytest.mark.subprocess(env={"DD_REMOTE_CONFIGURATION_ENABLED": "false"}) +def test_rc_missing_llmobs_does_not_disable_programmatically_enabled_llmobs(): + """Regression: payloads without an llmobs directive must not disable LLMObs + when it was enabled programmatically via LLMObs.enable() (no DD_LLMOBS_ENABLED + env var). The pre-fix handler branched on _ConfigItem.value(), which fell + through to the default False and fired LLMObs.disable() on every RC poll. + The fix relies on LLMObs.enable() writing _code_value=True so value() reflects + the effective state. + """ + import mock + + import ddtrace + from ddtrace.llmobs import LLMObs + from ddtrace.llmobs._product import apm_tracing_rc + + # Simulate the post-LLMObs.enable() state: class attribute flipped True AND + # ddtrace.config._llmobs_enabled written to "code" source (what enable() does + # via Config.__setattr__). + LLMObs.enabled = True + ddtrace.config._llmobs_enabled = True + enabled_item = ddtrace.config._config["_llmobs_enabled"] + assert enabled_item.value() is True, "precondition: post-enable invariant holds" + + for payload in ({}, {"llmobs": {}}, {"llmobs": {"ml_app_name": "some-app"}}): + with mock.patch.object(LLMObs, "disable") as mock_disable: + apm_tracing_rc(payload, ddtrace.config) + + mock_disable.assert_not_called() + assert LLMObs.enabled diff --git a/tests/llmobs/test_llmobs_service.py b/tests/llmobs/test_llmobs_service.py index d48974b2373..d24f18743b9 100644 --- a/tests/llmobs/test_llmobs_service.py +++ b/tests/llmobs/test_llmobs_service.py @@ -134,6 +134,19 @@ def test_service_disable(tracer): assert llmobs_service._instance._evaluator_runner.status.value == "stopped" +def test_enable_disable_keeps_global_config_llmobs_enabled_in_sync(tracer): + """LLMObs.enable()/disable() must mirror their effect into ddtrace.config._llmobs_enabled + so the _ConfigItem reflects effective state. Consumers like the APM_TRACING RC handler + read this value to reconcile LLMObs state against RC payloads. + """ + with override_global_config(dict(_dd_api_key="", _llmobs_ml_app="")): + assert ddtrace.config._llmobs_enabled is False + llmobs_service.enable(_tracer=tracer) + assert ddtrace.config._llmobs_enabled is True + llmobs_service.disable() + assert ddtrace.config._llmobs_enabled is False + + def test_service_enable_no_api_key(tracer): with override_global_config(dict(_dd_api_key="", _llmobs_ml_app="")): with pytest.raises(ValueError): From 7efc37461c2136c5a8d85a737d2c99ae771dd38c Mon Sep 17 00:00:00 2001 From: Zachary Groves <32471391+ZStriker19@users.noreply.github.com> Date: Thu, 23 Apr 2026 00:31:35 -0400 Subject: [PATCH 074/114] chore: increment version to 4.8.0rc5 (#17688) Co-authored-by: zach.groves --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f66b5adfe53..93f53a8e75d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" [project] name = "ddtrace" -version = "4.8.0rc4" +version = "4.8.0rc5" description = "Datadog APM client library" readme = "README.md" license = { text = "LICENSE.BSD3" } From 694ff95978970c994cd76772d596bd0e30834721 Mon Sep 17 00:00:00 2001 From: Federico Mon Date: Thu, 23 Apr 2026 08:52:14 +0200 Subject: [PATCH 075/114] chore(selenium): patch selenium in v3 pytest plugin for browser test tags (#16531) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description The v3 pytest plugin (`ddtrace.testing.internal.pytest`) does not call `_patch_all()` by default, so the Selenium integration was never applied — browser tests were missing `test.is_browser`, `test.browser.*` tags. This PR explicitly patches Selenium in `pytest_sessionstart` when the ddtrace trace filter is active (which is the default for the v3 plugin), ensuring browser test visibility tags are set even without `--ddtrace-patch-all`. ## Changes - **`ddtrace/testing/internal/pytest/plugin.py`**: Patch Selenium in `pytest_sessionstart` when `enable_ddtrace_trace_filter` is true but `enable_all_ddtrace_integrations` is false. - **`ddtrace/contrib/internal/selenium/patch.py`**: Added docstring explaining how the integration works with both v2 and v3 plugins. - **`tests/contrib/selenium/test_selenium_chrome.py`**: Added `test_selenium_v3_plugin_tags` to verify browser tags are set with the v3 plugin. Existing snapshot tests are pinned to the old plugin (`DD_PYTEST_USE_NEW_PLUGIN=false`) since they rely on agent traces. ## Testing - New test `test_selenium_v3_plugin_tags` uses `pytester` with a mocked `WebDriver` to verify `test.is_browser`, `test.browser.name`, and `test.browser.version` tags are correctly set. ## Risks None — the Selenium patch is wrapped in a try/except and only applies in the v3 plugin path. Co-authored-by: federico.mon --- ddtrace/testing/internal/pytest/plugin.py | 9 +++ .../contrib/selenium/test_selenium_chrome.py | 66 +++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/ddtrace/testing/internal/pytest/plugin.py b/ddtrace/testing/internal/pytest/plugin.py index c34c771748a..ce1742cf931 100644 --- a/ddtrace/testing/internal/pytest/plugin.py +++ b/ddtrace/testing/internal/pytest/plugin.py @@ -320,6 +320,15 @@ def pytest_sessionstart(self, session: pytest.Session) -> None: if self.enable_all_ddtrace_integrations: enable_all_ddtrace_integrations() + elif self.enable_ddtrace_trace_filter: + # Patch Selenium so browser tests get test visibility tags (test.is_browser, test.browser.*). + # We create a root span with type=test in trace_context(); Selenium integration checks for that span. + try: + from ddtrace.contrib.internal.selenium.patch import patch as patch_selenium + + patch_selenium() + except Exception: + log.debug("Could not patch Selenium for test visibility", exc_info=True) def pytest_sessionfinish(self, session: pytest.Session) -> None: # With xdist, the main process does not execute tests, so we cannot rely on the normal `session.get_status()` diff --git a/tests/contrib/selenium/test_selenium_chrome.py b/tests/contrib/selenium/test_selenium_chrome.py index c9a439afa54..2816b3497b3 100644 --- a/tests/contrib/selenium/test_selenium_chrome.py +++ b/tests/contrib/selenium/test_selenium_chrome.py @@ -6,6 +6,7 @@ """ import http.server +import json import multiprocessing import os from pathlib import Path @@ -118,6 +119,7 @@ def test_selenium_local_pass(): CI_PROJECT_DIR=str(testdir.tmpdir), DD_CIVISIBILITY_AGENTLESS_ENABLED="false", _DD_CIVISIBILITY_DISABLE_EVP_PROXY="true", + # Snapshot test expects traces from the agent; v3 plugin uses TestOptWriter and does not send them. DD_PYTEST_USE_NEW_PLUGIN="false", ) ), @@ -170,6 +172,7 @@ def test_selenium_local_pass(): CI_PROJECT_DIR=str(testdir.tmpdir), DD_CIVISIBILITY_AGENTLESS_ENABLED="false", _DD_CIVISIBILITY_DISABLE_EVP_PROXY="true", + # Snapshot test expects traces from the agent; v3 plugin uses TestOptWriter and does not send them. DD_PYTEST_USE_NEW_PLUGIN="false", ) ), @@ -225,7 +228,70 @@ def test_selenium_local_unpatch(): CI_PROJECT_DIR=str(testdir.tmpdir), DD_CIVISIBILITY_AGENTLESS_ENABLED="false", _DD_CIVISIBILITY_DISABLE_EVP_PROXY="true", + # Snapshot test expects traces from the agent; v3 plugin uses TestOptWriter and does not send them. DD_PYTEST_USE_NEW_PLUGIN="false", ) ), ) + + +def test_selenium_v3_plugin_tags(tmp_path, pytester, git_repo): + events_file = tmp_path / "events.json" + + # conftest.py that captures events emitted by the v3 plugin to a JSON file + pytester.makeconftest( + f""" +import json, atexit +from ddtrace.testing.internal.writer import TestOptWriter + +_events = [] +_orig_put = TestOptWriter.put_event +def _capture(self, event): + _events.append(event) + return _orig_put(self, event) +TestOptWriter.put_event = _capture + +@atexit.register +def _dump(): + with open(r"{events_file}", "w") as f: + json.dump(_events, f, default=str) +""" + ) + + pytester.makepyfile( + test_selenium=""" +from selenium.webdriver.remote.webdriver import WebDriver + +def test_selenium_browser_tags(): + driver = WebDriver.__new__(WebDriver) + driver.caps = {"browserName": "chrome", "browserVersion": "120.0"} + driver.add_cookie = lambda cookie: None + driver.execute = lambda *a, **kw: None + + driver.get("http://example.com") +""" + ) + + subprocess.run( + ["pytest", "--ddtrace", "-v", "-s"], + cwd=str(pytester.path), + env=_get_default_ci_env_vars( + dict( + DD_API_KEY="foobar.baz", + DD_CIVISIBILITY_ITR_ENABLED="false", + DD_PATCH_MODULES="sqlite3:false", + CI_PROJECT_DIR=str(pytester.path), + DD_CIVISIBILITY_AGENTLESS_ENABLED="false", + _DD_CIVISIBILITY_DISABLE_EVP_PROXY="true", + DD_PYTEST_USE_NEW_PLUGIN="true", + ) + ), + ) + + events = json.loads(events_file.read_text()) + test_events = [e for e in events if e["type"] == "test"] + meta = test_events[0]["content"]["meta"] + assert meta["test.is_browser"] == "true" + assert meta["test.browser.driver"] == "selenium" + assert meta["test.browser.name"] == "chrome" + assert meta["test.browser.version"] == "120.0" From 9569fb0a671f7664aadedc9698e4f83e6054aeec Mon Sep 17 00:00:00 2001 From: Alberto Vara Date: Thu, 23 Apr 2026 12:44:29 +0200 Subject: [PATCH 076/114] refactor(telemetry): memoize get_host_info via @callonce (#17669) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Split out of #17667. Replace the `_host_info` module-level global + `None`-check in `ddtrace/internal/telemetry/data.py` with `@callonce`, the idiomatic no-arg memoization decorator in this codebase (already used by `ddtrace/internal/packages.py` and `ddtrace/internal/debug.py`). - Removes the unsynchronized `None`-check race. `@callonce` also has no explicit lock, but `get_host_info` is deterministic and idempotent, so a benign double-compute on first-call contention produces identical results with no torn state. - `get_host_info()` is still the public entry point and still returns the same dict shape. - Originally this PR used `@cached()` (i.e. `functools.lru_cache`), but `@cached()` requires at least one hashable argument and forced a dummy `_: tuple = ()` parameter plus a wrapper function. `@callonce` is purpose-built for zero-arg functions and can be applied directly to `get_host_info`, eliminating the indirection. ## Performance Microbenchmark on the warm path (A/B reproduction of the two implementations, 10 000 calls per sample, 11 samples): | Per-call (warm) | Before (global None-check) | After (`@callonce`) | Δ | |---|---:|---:|---:| | Best | ~20 ns | ~30-60 ns | negligible | `get_host_info()` is called at most once per telemetry heartbeat (~60 s), so any small constant-factor difference is not observable in practice. The motivation is code clarity and consistency with the rest of the codebase, not speed. ## Test plan - [x] `tests/telemetry/test_data.py::test_get_host_info` passes on Python 3.14 via `scripts/run-tests`. - [x] Existing `tests/telemetry/` suite passes (no behavior change at the function boundary — same dict contents, same call signature). - [x] No release note needed — internal refactor, `changelog/no-changelog` applied. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: alberto.vara --- ddtrace/internal/telemetry/data.py | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/ddtrace/internal/telemetry/data.py b/ddtrace/internal/telemetry/data.py index 09a4efd2e83..3d8e3cd525a 100644 --- a/ddtrace/internal/telemetry/data.py +++ b/ddtrace/internal/telemetry/data.py @@ -6,6 +6,7 @@ from ddtrace.internal.constants import DEFAULT_SERVICE_NAME from ddtrace.internal.runtime.container import get_container_info from ddtrace.internal.utils.cache import cached +from ddtrace.internal.utils.cache import callonce from ddtrace.version import __version__ from ..hostname import get_hostname @@ -77,23 +78,18 @@ def get_application(service: str, version: str, env: str) -> dict: return _get_application((service, version, env)) -_host_info = None - - +@callonce def get_host_info() -> dict: - """Creates a dictionary to store host data using the platform module""" - global _host_info - if _host_info is None: - _host_info = { - "os": platform.system(), - "hostname": get_hostname(), - "os_version": _get_os_version(), - "kernel_name": platform.system(), - "kernel_release": platform.release(), - "kernel_version": platform.version(), - "container_id": _get_container_id(), - } - return _host_info + """Creates a dictionary to store host data using the platform module.""" + return { + "os": platform.system(), + "hostname": get_hostname(), + "os_version": _get_os_version(), + "kernel_name": platform.system(), + "kernel_release": platform.release(), + "kernel_version": platform.version(), + "container_id": _get_container_id(), + } def _get_sysconfig_var(key: str) -> str: From 0f217ca3c209800f352e2af4b865bc66453930fe Mon Sep 17 00:00:00 2001 From: Alberto Vara Date: Thu, 23 Apr 2026 16:38:03 +0200 Subject: [PATCH 077/114] chore: ignore .omc/ directory (#17692) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Adds `.omc/` to `.gitignore` so oh-my-claudecode local state (e.g. `project-memory.json`) is not tracked. ## Test plan - [x] `git check-ignore` confirms `.omc/` and its contents are ignored. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: alberto.vara --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 8ed6e03aa9e..6bff5c823a7 100644 --- a/.gitignore +++ b/.gitignore @@ -159,6 +159,9 @@ CLAUDE.local.md .claude/settings.local.json .claude/worktrees/ +# oh-my-claudecode +.omc/ + # Riot .riot/venv* .riot/envs/ From 813cf356eb95a128bd3b428fdf233a7fc6ebe3f6 Mon Sep 17 00:00:00 2001 From: Yun Kim <35776586+Yun-Kim@users.noreply.github.com> Date: Thu, 23 Apr 2026 11:42:11 -0400 Subject: [PATCH 078/114] fix(llmobs): default model_name/model_provider to "unknown" (#17683) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [MLOB-6633] ## Description Extracted from #17235 to narrow review scope. This PR changes the default `model_name` and `model_provider` for LLM and embedding spans from `""` / `"custom"` to the shared `UNKNOWN_MODEL_NAME` / `UNKNOWN_MODEL_PROVIDER` constants (both `"unknown"`) consistently across every entry point: - Auto-instrumentation fallback in `_build_span_meta` (`ddtrace/llmobs/_llmobs.py`) - Manual instrumentation APIs `LLMObs.llm()` and `LLMObs.embedding()` - Decorator helper `_get_llmobs_span_options` used by `@llm` and `@embedding` Previously these sites independently defaulted to `""` or `"custom"`; unifying them prevents the inconsistency where the same "no provider specified" signal would surface as `"custom"` through the manual APIs but `"unknown"` through the auto-instrumentation path. ## Testing - `tests/llmobs/test_llmobs_service.py`: renamed `test_default_model_provider_set_to_custom` → `..._unknown` (same for embedding), updated `test_llm_span_no_model_sets_default` / `test_embedding_span_no_model_sets_default` / `test_ml_app_override` to assert the new default via the `UNKNOWN_MODEL_NAME` / `UNKNOWN_MODEL_PROVIDER` constants. - `tests/llmobs/test_llmobs.py`: renamed `test_model_provider_defaults_to_custom` → `..._unknown`, updated to use the constant. - `tests/llmobs/test_llmobs_decorators.py`: updated 8 assertion sites to use the constants. - `tests/llmobs/_utils.py`: helper uses the constants. - `tests/contrib/claude_agent_sdk/test_claude_agent_sdk_llmobs.py`: assertion fix for auto-instrumented default. ## Risks **Customer-visible behavior change.** Any monitor or dashboard filtering `model_provider:custom` against spans that relied on the default — whether from auto-instrumentation, manual `LLMObs.llm()` / `LLMObs.embedding()` calls, or the `@llm` / `@embedding` decorators — will stop matching once those spans start emitting `"unknown"`. The release note calls this out; users filtering explicitly by a non-default provider value are unaffected. Public API docstrings on `LLMObs.llm()` and `LLMObs.embedding()` are updated to document the new default, but the function signatures are unchanged (no caller code needs to change). ## Additional Notes Part of a 3-PR split of #17235. Order: 1. **This PR** — default model=unknown (S) 2. #17684 — trace/parent IDs as strings (M) 3. #17685 — initialize tags and span name at span start (L, stacked on #17684) Claude session: `da6fb254-912e-4d04-aec2-ed09cd1980ac` Resume: `claude --resume da6fb254-912e-4d04-aec2-ed09cd1980ac` [MLOB-6633]: https://datadoghq.atlassian.net/browse/MLOB-6633 Co-authored-by: yun.kim --- ddtrace/llmobs/_llmobs.py | 24 +++++++------ ddtrace/llmobs/decorators.py | 3 +- ...llmobs-model-default-cebbde303bbae020.yaml | 4 +++ .../test_claude_agent_sdk_llmobs.py | 2 +- tests/llmobs/_utils.py | 8 +++-- tests/llmobs/test_llmobs.py | 7 ++-- tests/llmobs/test_llmobs_decorators.py | 35 +++++++++++-------- tests/llmobs/test_llmobs_service.py | 22 ++++++------ 8 files changed, 63 insertions(+), 42 deletions(-) create mode 100644 releasenotes/notes/fix-llmobs-model-default-cebbde303bbae020.yaml diff --git a/ddtrace/llmobs/_llmobs.py b/ddtrace/llmobs/_llmobs.py index 191d99353ba..0540a882724 100644 --- a/ddtrace/llmobs/_llmobs.py +++ b/ddtrace/llmobs/_llmobs.py @@ -75,6 +75,8 @@ from ddtrace.llmobs._constants import SESSION_ID from ddtrace.llmobs._constants import SPAN_START_WHILE_DISABLED_WARNING from ddtrace.llmobs._constants import SUPPORTED_LLMOBS_INTEGRATIONS +from ddtrace.llmobs._constants import UNKNOWN_MODEL_NAME +from ddtrace.llmobs._constants import UNKNOWN_MODEL_PROVIDER from ddtrace.llmobs._context import LLMObsContextProvider from ddtrace.llmobs._evaluators.runner import EvaluatorRunner from ddtrace.llmobs._experiment import AsyncEvaluatorType @@ -368,8 +370,10 @@ def _build_span_meta( metadata=llmobs_meta.get(LLMOBS_STRUCT.METADATA) or {}, ) if span_kind in ("llm", "embedding"): - meta[LLMOBS_STRUCT.MODEL_NAME] = llmobs_meta.get(LLMOBS_STRUCT.MODEL_NAME) or "" - meta[LLMOBS_STRUCT.MODEL_PROVIDER] = (llmobs_meta.get(LLMOBS_STRUCT.MODEL_PROVIDER) or "custom").lower() + meta[LLMOBS_STRUCT.MODEL_NAME] = llmobs_meta.get(LLMOBS_STRUCT.MODEL_NAME) or UNKNOWN_MODEL_NAME + meta[LLMOBS_STRUCT.MODEL_PROVIDER] = ( + llmobs_meta.get(LLMOBS_STRUCT.MODEL_PROVIDER) or UNKNOWN_MODEL_PROVIDER + ).lower() tool_definitions = llmobs_meta.get(LLMOBS_STRUCT.TOOL_DEFINITIONS) if tool_definitions: meta[LLMOBS_STRUCT.TOOL_DEFINITIONS] = tool_definitions @@ -1956,10 +1960,10 @@ def llm( """ Trace an invocation call to an LLM where inputs and outputs are represented as text. - :param str model_name: The name of the invoked LLM. If not provided, a default value of "custom" will be set. + :param str model_name: The name of the invoked LLM. If not provided, a default value of "unknown" will be set. :param str name: The name of the traced operation. If not provided, a default value of "llm" will be set. :param str model_provider: The name of the invoked LLM provider (ex: openai, bedrock). - If not provided, a default value of "custom" will be set. + If not provided, a default value of "unknown" will be set. :param str session_id: The ID of the underlying user session. Required for tracking sessions. :param str ml_app: The name of the ML application that the agent is orchestrating. If not provided, the default value will be set to the value of `DD_LLMOBS_ML_APP`. @@ -1969,9 +1973,9 @@ def llm( if cls.enabled is False: log.warning(SPAN_START_WHILE_DISABLED_WARNING) if model_name is None: - model_name = "custom" + model_name = UNKNOWN_MODEL_NAME if model_provider is None: - model_provider = "custom" + model_provider = UNKNOWN_MODEL_PROVIDER return cls._instance._start_span( "llm", name, @@ -2108,10 +2112,10 @@ def embedding( Trace a call to an embedding model or function to create an embedding. :param str model_name: The name of the invoked embedding model. - If not provided, a default value of "custom" will be set. + If not provided, a default value of "unknown" will be set. :param str name: The name of the traced operation. If not provided, a default value of "embedding" will be set. :param str model_provider: The name of the invoked LLM provider (ex: openai, bedrock). - If not provided, a default value of "custom" will be set. + If not provided, a default value of "unknown" will be set. :param str session_id: The ID of the underlying user session. Required for tracking sessions. :param str ml_app: The name of the ML application that the agent is orchestrating. If not provided, the default value will be set to the value of `DD_LLMOBS_ML_APP`. @@ -2121,9 +2125,9 @@ def embedding( if cls.enabled is False: log.warning(SPAN_START_WHILE_DISABLED_WARNING) if model_name is None: - model_name = "custom" + model_name = UNKNOWN_MODEL_NAME if model_provider is None: - model_provider = "custom" + model_provider = UNKNOWN_MODEL_PROVIDER return cls._instance._start_span( "embedding", name, diff --git a/ddtrace/llmobs/decorators.py b/ddtrace/llmobs/decorators.py index 99834dbcc93..7e70861cdcf 100644 --- a/ddtrace/llmobs/decorators.py +++ b/ddtrace/llmobs/decorators.py @@ -11,6 +11,7 @@ from ddtrace.internal.logger import get_logger from ddtrace.llmobs import LLMObs from ddtrace.llmobs._constants import SPAN_START_WHILE_DISABLED_WARNING +from ddtrace.llmobs._constants import UNKNOWN_MODEL_NAME from ddtrace.llmobs._llmobs import LLMObsAnnotateSpanError from ddtrace.llmobs._utils import get_llmobs_output_messages from ddtrace.llmobs._utils import get_llmobs_output_value @@ -22,7 +23,7 @@ def _get_llmobs_span_options(name, model_name, func): traced_model_name = model_name if traced_model_name is None: - traced_model_name = "custom" + traced_model_name = UNKNOWN_MODEL_NAME span_name = name if span_name is None: diff --git a/releasenotes/notes/fix-llmobs-model-default-cebbde303bbae020.yaml b/releasenotes/notes/fix-llmobs-model-default-cebbde303bbae020.yaml new file mode 100644 index 00000000000..234cd3ca33d --- /dev/null +++ b/releasenotes/notes/fix-llmobs-model-default-cebbde303bbae020.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + LLM Observability: Changes the default ``model_name`` and ``model_provider`` of LLM and embedding spans from ``custom`` to ``unknown`` if not provided or empty. This applies to both auto-instrumented spans and manual instrumentation via ``LLMObs.llm()`` / ``LLMObs.embedding()`` and the ``@llm`` / ``@embedding`` decorators. diff --git a/tests/contrib/claude_agent_sdk/test_claude_agent_sdk_llmobs.py b/tests/contrib/claude_agent_sdk/test_claude_agent_sdk_llmobs.py index a5581bc80b9..2eba927b51e 100644 --- a/tests/contrib/claude_agent_sdk/test_claude_agent_sdk_llmobs.py +++ b/tests/contrib/claude_agent_sdk/test_claude_agent_sdk_llmobs.py @@ -183,7 +183,7 @@ async def test_llmobs_query_error_no_output( expected_llm_event = _expected_llmobs_llm_span_event( llm_span, span_kind="llm", - model_name="", + model_name="unknown", model_provider="anthropic", input_messages=[{"content": prompt, "role": "user"}], output_messages=[{"content": "", "role": ""}], diff --git a/tests/llmobs/_utils.py b/tests/llmobs/_utils.py index 17761a2fa60..cc54177510d 100644 --- a/tests/llmobs/_utils.py +++ b/tests/llmobs/_utils.py @@ -15,6 +15,8 @@ import ddtrace from ddtrace.internal.utils.formats import format_trace_id from ddtrace.llmobs._constants import ROOT_PARENT_ID +from ddtrace.llmobs._constants import UNKNOWN_MODEL_NAME +from ddtrace.llmobs._constants import UNKNOWN_MODEL_PROVIDER from ddtrace.llmobs._utils import _get_nearest_llmobs_ancestor from ddtrace.llmobs._utils import _get_span_name from ddtrace.llmobs._writer import LLMObsEvaluationMetricEvent @@ -221,11 +223,11 @@ def _expected_llmobs_llm_span_event( if not meta_dict["output"]: meta_dict.pop("output") if span_kind in ("llm", "embedding"): - meta_dict["model_name"] = model_name if model_name is not None else "" - meta_dict["model_provider"] = (model_provider or "custom").lower() + meta_dict["model_name"] = model_name if model_name is not None else UNKNOWN_MODEL_NAME + meta_dict["model_provider"] = (model_provider or UNKNOWN_MODEL_PROVIDER).lower() elif model_name is not None: meta_dict["model_name"] = model_name - meta_dict["model_provider"] = (model_provider or "custom").lower() + meta_dict["model_provider"] = (model_provider or UNKNOWN_MODEL_PROVIDER).lower() if tool_definitions is not None: meta_dict["tool_definitions"] = tool_definitions meta_dict.update({"metadata": metadata or {}}) diff --git a/tests/llmobs/test_llmobs.py b/tests/llmobs/test_llmobs.py index 0430ed057ac..209d78feab1 100644 --- a/tests/llmobs/test_llmobs.py +++ b/tests/llmobs/test_llmobs.py @@ -10,6 +10,7 @@ from ddtrace.llmobs import LLMObsSpan from ddtrace.llmobs import _constants as const from ddtrace.llmobs._constants import LLMOBS_SUBMITTED_TAG_KEY +from ddtrace.llmobs._constants import UNKNOWN_MODEL_PROVIDER from ddtrace.llmobs._utils import _annotate_llmobs_span_data from ddtrace.llmobs._utils import get_llmobs_parent_id from ddtrace.llmobs._utils import get_llmobs_trace_id @@ -356,13 +357,13 @@ def test_error_is_set(tracer, llmobs_events): assert 'raise ValueError("error")' in span_event["meta"]["error"]["stack"] -def test_model_provider_defaults_to_custom(tracer, llmobs_events): - """Test that model provider defaults to "custom" if not provided.""" +def test_model_provider_defaults_to_unknown(tracer, llmobs_events): + """Test that model provider defaults to "unknown" if not provided.""" with tracer.trace("root_llm_span", span_type=SpanTypes.LLM) as llm_span: _annotate_llmobs_span_data(llm_span, kind="llm", model_name="model_name") span_event = llmobs_events[0] assert span_event["meta"]["model_name"] == "model_name" - assert span_event["meta"]["model_provider"] == "custom" + assert span_event["meta"]["model_provider"] == UNKNOWN_MODEL_PROVIDER def test_model_not_set_if_not_llm_kind_span(tracer, llmobs_events): diff --git a/tests/llmobs/test_llmobs_decorators.py b/tests/llmobs/test_llmobs_decorators.py index 39a744a1098..087748e5ca8 100644 --- a/tests/llmobs/test_llmobs_decorators.py +++ b/tests/llmobs/test_llmobs_decorators.py @@ -4,6 +4,8 @@ import pytest from ddtrace.llmobs._constants import SPAN_START_WHILE_DISABLED_WARNING +from ddtrace.llmobs._constants import UNKNOWN_MODEL_NAME +from ddtrace.llmobs._constants import UNKNOWN_MODEL_PROVIDER from ddtrace.llmobs.decorators import agent from ddtrace.llmobs.decorators import embedding from ddtrace.llmobs.decorators import llm @@ -82,7 +84,7 @@ def f(): assert llmobs_events[0] == _expected_llmobs_llm_span_event( span, "llm", - model_name="custom", + model_name=UNKNOWN_MODEL_NAME, model_provider="test_provider", session_id="test_session_id", is_decorator=True, @@ -97,7 +99,7 @@ def f(): f() span = test_spans.pop()[0] assert llmobs_events[0] == _expected_llmobs_llm_span_event( - span, "llm", model_name="custom", model_provider="custom", is_decorator=True + span, "llm", model_name=UNKNOWN_MODEL_NAME, model_provider=UNKNOWN_MODEL_PROVIDER, is_decorator=True ) @@ -130,7 +132,7 @@ def f(): assert llmobs_events[0] == _expected_llmobs_llm_span_event( span, "embedding", - model_name="custom", + model_name=UNKNOWN_MODEL_NAME, model_provider="test_provider", session_id="test_session_id", is_decorator=True, @@ -145,7 +147,7 @@ def f(): f() span = test_spans.pop()[0] assert llmobs_events[0] == _expected_llmobs_llm_span_event( - span, "embedding", model_name="custom", model_provider="custom", is_decorator=True + span, "embedding", model_name=UNKNOWN_MODEL_NAME, model_provider=UNKNOWN_MODEL_PROVIDER, is_decorator=True ) @@ -504,7 +506,12 @@ def g(): g() span = test_spans.pop()[0] assert llmobs_events[-1] == _expected_llmobs_llm_span_event( - span, "llm", model_name="test_model", model_provider="custom", tags={"ml_app": "test_ml_app"}, is_decorator=True + span, + "llm", + model_name="test_model", + model_provider=UNKNOWN_MODEL_PROVIDER, + tags={"ml_app": "test_ml_app"}, + is_decorator=True, ) @embedding(model_name="test_model", ml_app="test_ml_app") @@ -517,7 +524,7 @@ def h(): span, "embedding", model_name="test_model", - model_provider="custom", + model_provider=UNKNOWN_MODEL_PROVIDER, tags={"ml_app": "test_ml_app"}, is_decorator=True, ) @@ -674,8 +681,8 @@ def f(): decorator_name, input_messages=[{"content": "hello"}], output_messages=[{"content": "world"}], - model_name="custom", - model_provider="custom", + model_name=UNKNOWN_MODEL_NAME, + model_provider=UNKNOWN_MODEL_PROVIDER, is_decorator=True, ) elif decorator_name == "embedding": @@ -684,8 +691,8 @@ def f(): decorator_name, input_documents=[{"text": "hello"}], output_value="world", - model_name="custom", - model_provider="custom", + model_name=UNKNOWN_MODEL_NAME, + model_provider=UNKNOWN_MODEL_PROVIDER, is_decorator=True, ) elif decorator_name == "retrieval": @@ -737,8 +744,8 @@ async def f(): decorator_name, input_messages=[{"content": "hello"}], output_messages=[{"content": "world"}], - model_name="custom", - model_provider="custom", + model_name=UNKNOWN_MODEL_NAME, + model_provider=UNKNOWN_MODEL_PROVIDER, is_decorator=True, ) elif decorator_name == "embedding": @@ -747,8 +754,8 @@ async def f(): decorator_name, input_documents=[{"text": "hello"}], output_value="world", - model_name="custom", - model_provider="custom", + model_name=UNKNOWN_MODEL_NAME, + model_provider=UNKNOWN_MODEL_PROVIDER, is_decorator=True, ) elif decorator_name == "retrieval": diff --git a/tests/llmobs/test_llmobs_service.py b/tests/llmobs/test_llmobs_service.py index d24f18743b9..fffe64a7a67 100644 --- a/tests/llmobs/test_llmobs_service.py +++ b/tests/llmobs/test_llmobs_service.py @@ -19,6 +19,8 @@ from ddtrace.llmobs._constants import SESSION_ID from ddtrace.llmobs._constants import SPAN_START_WHILE_DISABLED_WARNING from ddtrace.llmobs._constants import SUPPORTED_LLMOBS_INTEGRATIONS +from ddtrace.llmobs._constants import UNKNOWN_MODEL_NAME +from ddtrace.llmobs._constants import UNKNOWN_MODEL_PROVIDER from ddtrace.llmobs._utils import _annotate_llmobs_span_data from ddtrace.llmobs._utils import get_llmobs_input_documents from ddtrace.llmobs._utils import get_llmobs_input_messages @@ -363,21 +365,21 @@ def test_llm_span(llmobs, llmobs_events): def test_llm_span_no_model_sets_default(llmobs, llmobs_events): with llmobs.llm(name="test_llm_call", model_provider="test_provider") as span: - assert get_llmobs_model_name(span) == "custom" + assert get_llmobs_model_name(span) == UNKNOWN_MODEL_NAME assert len(llmobs_events) == 1 assert llmobs_events[0] == _expected_llmobs_llm_span_event( - span, "llm", model_name="custom", model_provider="test_provider" + span, "llm", model_name=UNKNOWN_MODEL_NAME, model_provider="test_provider" ) -def test_default_model_provider_set_to_custom(llmobs): +def test_default_model_provider_set_to_unknown(llmobs): with llmobs.llm(model_name="test_model", name="test_llm_call") as span: assert span.name == "test_llm_call" assert span.resource == "llm" assert span.span_type == "llm" assert get_llmobs_span_kind(span) == "llm" assert get_llmobs_model_name(span) == "test_model" - assert get_llmobs_model_provider(span) == "custom" + assert get_llmobs_model_provider(span) == UNKNOWN_MODEL_PROVIDER def test_tool_span(llmobs, llmobs_events): @@ -422,21 +424,21 @@ def test_agent_span(llmobs, llmobs_events): def test_embedding_span_no_model_sets_default(llmobs, llmobs_events): with llmobs.embedding(name="test_embedding", model_provider="test_provider") as span: - assert get_llmobs_model_name(span) == "custom" + assert get_llmobs_model_name(span) == UNKNOWN_MODEL_NAME assert len(llmobs_events) == 1 assert llmobs_events[0] == _expected_llmobs_llm_span_event( - span, "embedding", model_name="custom", model_provider="test_provider" + span, "embedding", model_name=UNKNOWN_MODEL_NAME, model_provider="test_provider" ) -def test_embedding_default_model_provider_set_to_custom(llmobs): +def test_embedding_default_model_provider_set_to_unknown(llmobs): with llmobs.embedding(model_name="test_model", name="test_embedding") as span: assert span.name == "test_embedding" assert span.resource == "embedding" assert span.span_type == "llm" assert get_llmobs_span_kind(span) == "embedding" assert get_llmobs_model_name(span) == "test_model" - assert get_llmobs_model_provider(span) == "custom" + assert get_llmobs_model_provider(span) == UNKNOWN_MODEL_PROVIDER def test_embedding_span(llmobs, llmobs_events): @@ -957,13 +959,13 @@ def test_ml_app_override(llmobs, llmobs_events): pass assert len(llmobs_events) == 3 assert llmobs_events[2] == _expected_llmobs_llm_span_event( - span, "llm", model_name="model_name", model_provider="custom", tags={"ml_app": "test_app"} + span, "llm", model_name="model_name", model_provider=UNKNOWN_MODEL_PROVIDER, tags={"ml_app": "test_app"} ) with llmobs.embedding(model_name="model_name", name="test_embedding", ml_app="test_app") as span: pass assert len(llmobs_events) == 4 assert llmobs_events[3] == _expected_llmobs_llm_span_event( - span, "embedding", model_name="model_name", model_provider="custom", tags={"ml_app": "test_app"} + span, "embedding", model_name="model_name", model_provider=UNKNOWN_MODEL_PROVIDER, tags={"ml_app": "test_app"} ) with llmobs.workflow(name="test_workflow", ml_app="test_app") as span: pass From 9579cfe17fddaba7f670ccd069feab31b356af48 Mon Sep 17 00:00:00 2001 From: Thomas Kowalski Date: Thu, 23 Apr 2026 17:56:27 +0200 Subject: [PATCH 079/114] fix(profiling): guard memalloc hook against partially-written saved allocator (#17664) ## Description This PR fixes a segmentation fault in the memory allocation profiler that occurs when a hook call races with `memalloc` start/stop operations. The issue arises from concurrent access to the saved allocator struct, which could be partially written while being read, resulting in`NULL` function pointers being dereferenced. The key indicator in that case is that `#1 0x0000000000000000` frame -- we are trying to execute a null function pointer. ```` Error UnixSignal: Process terminated with SEGV_MAPERR (SIGSEGV) #0 0x00007ff3c303a8d4 #1 0x0000000000000000 memalloc_alloc (/go/src/github.com/DataDog/apm-reliability/dd-trace-py/ddtrace/profiling/collector/_memalloc.cpp:68) #2 0x00007ff39dcb3b20 memalloc_alloc (/go/src/github.com/DataDog/apm-reliability/dd-trace-py/ddtrace/profiling/collector/_memalloc.cpp:68) #3 0x00007ff39dcb3b20 memalloc_malloc(void*, unsigned long) (/go/src/github.com/DataDog/apm-reliability/dd-trace-py/ddtrace/profiling/collector/_memalloc.cpp:80) #4 0x00007ff3c3087e1b PyUnicode_New #5 0x00007ff3c30889f4 #6 0x00007ff3c3170c84 #7 0x00007ff3c316b931 #8 0x00007ff3c31aaac8 #9 0x00007ff3c31033ac #10 0x00007ff3c310e2a6 PyObject_CallMethodObjArgs #11 0x00007ff3c310e46d #12 0x00007ff3c31a96c2 #13 0x00007ff3c3102fd7 PyObject_Vectorcall #14 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #15 0x00007ff3c323c094 #16 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #17 0x00007ff3c323c094 #18 0x00007ff3c30e997d PyObject_CallOneArg #19 0x00007ff3c306a480 _PyObject_GenericGetAttrWithDict #20 0x00007ff3c30c620d PyObject_GetAttr #21 0x00007ff3c32309e7 _PyEval_EvalFrameDefault #22 0x00007ff3c323c094 #23 0x00007ff3c312880e #24 0x00007ff3c30e917c _PyObject_MakeTpCall #25 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #26 0x00007ff3c323c094 #27 0x00007ff3c312880e #28 0x00007ff3c30e917c _PyObject_MakeTpCall #29 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #30 0x00007ff3c323c094 #31 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #32 0x00007ff3c323c094 #33 0x00007ff3c317d0fd #34 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #35 0x00007ff3c323c094 #36 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #37 0x00007ff3c323c094 #38 0x00007ff3c317d1b5 #39 0x00007ff3c3102fd7 PyObject_Vectorcall #40 0x00007ff3c3232f4a _PyEval_EvalFrameDefault #41 0x00007ff3c3240da5 #42 0x00007ff3c324112d #43 0x00007ff3c3233be1 _PyEval_EvalFrameDefault #44 0x00007ff3c323c094 #45 0x00007ff3c317d1b5 #46 0x00007ff3c3102fd7 PyObject_Vectorcall #47 0x00007ff3c3232f4a _PyEval_EvalFrameDefault #48 0x00007ff3c323c094 #49 0x00007ff3c31033ac #50 0x00007ff3c310358d PyObject_CallFunctionObjArgs #51 0x00007ff3bf7eb91d WraptBoundFunctionWrapper_call (/project/src/wrapt/_wrappers.c:3750) #52 0x00007ff3c3104055 _PyObject_Call #53 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #54 0x00007ff3c323c094 #55 0x00007ff3c317d23c #56 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #57 0x00007ff3c323c094 #58 0x00007ff3c310416f _PyObject_Call #59 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #60 0x00007ff3c3240da5 #61 0x00007ff3c324112d #62 0x00007ff3c3233be1 _PyEval_EvalFrameDefault #63 0x00007ff3c323c094 #64 0x00007ff3c317d1b5 #65 0x00007ff3c3102fd7 PyObject_Vectorcall #66 0x00007ff3c3232f4a _PyEval_EvalFrameDefault #67 0x00007ff3c323c094 #68 0x00007ff3c317d1b5 #69 0x00007ff3c310416f _PyObject_Call #70 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #71 0x00007ff3c323c094 #72 0x00007ff3c317d1b5 #73 0x00007ff3c310416f _PyObject_Call #74 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #75 0x00007ff3c323c094 #76 0x00007ff3c31033ac #77 0x00007ff3c310358d PyObject_CallFunctionObjArgs #78 0x00007ff3bf7eb91d WraptBoundFunctionWrapper_call (/project/src/wrapt/_wrappers.c:3750) #79 0x00007ff3c30e917c _PyObject_MakeTpCall #80 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #81 0x00007ff3c323c094 #82 0x00007ff3c317d518 #83 0x00007ff3c3155963 #84 0x00007ff3c315393d #85 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #86 0x00007ff3c323c094 #87 0x00007ff3c317d0fd #88 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #89 0x00007ff3c323c094 #90 0x00007ff3c317d0fd #91 0x00007ff3c317d518 #92 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #93 0x00007ff3c323c094 #94 0x00007ff3c30e9371 _PyObject_FastCallDictTstate #95 0x00007ff3c30e958d _PyObject_Call_Prepend #96 0x00007ff3c3109150 #97 0x00007ff3c3104055 _PyObject_Call #98 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #99 0x00007ff3c323c094 #100 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #101 0x00007ff3c30e958d _PyObject_Call_Prepend #102 0x00007ff3c3109150 #103 0x00007ff3c30e917c _PyObject_MakeTpCall #104 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #105 0x00007ff3c323c094 #106 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #107 0x00007ff3c30e958d _PyObject_Call_Prepend #108 0x00007ff3c3109150 #109 0x00007ff3c30e917c _PyObject_MakeTpCall #110 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #111 0x00007ff3c323c094 #112 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #113 0x00007ff3c30e958d _PyObject_Call_Prepend #114 0x00007ff3c3109150 #115 0x00007ff3c30e917c _PyObject_MakeTpCall #116 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #117 0x00007ff3c323c094 #118 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #119 0x00007ff3c30e958d _PyObject_Call_Prepend #120 0x00007ff3c3109150 #121 0x00007ff3c30e917c _PyObject_MakeTpCall #122 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #123 0x00007ff3c323c094 #124 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #125 0x00007ff3c30e958d _PyObject_Call_Prepend #126 0x00007ff3c3109150 #127 0x00007ff3c30e917c _PyObject_MakeTpCall #128 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #129 0x00007ff3c323c094 #130 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #131 0x00007ff3c30e958d _PyObject_Call_Prepend #132 0x00007ff3c3109150 #133 0x00007ff3c30e917c _PyObject_MakeTpCall #134 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #135 0x00007ff3c323c094 #136 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #137 0x00007ff3c30e958d _PyObject_Call_Prepend #138 0x00007ff3c3109150 #139 0x00007ff3c30e917c _PyObject_MakeTpCall #140 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #141 0x00007ff3c323c094 #142 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #143 0x00007ff3c30e958d _PyObject_Call_Prepend #144 0x00007ff3c3109150 #145 0x00007ff3c30e917c _PyObject_MakeTpCall #146 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #147 0x00007ff3c323c094 #148 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #149 0x00007ff3c30e958d _PyObject_Call_Prepend #150 0x00007ff3c3109150 #151 0x00007ff3c30e917c _PyObject_MakeTpCall #152 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #153 0x00007ff3c323c094 #154 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #155 0x00007ff3c30e958d _PyObject_Call_Prepend #156 0x00007ff3c3109150 #157 0x00007ff3c30e917c _PyObject_MakeTpCall #158 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #159 0x00007ff3c323c094 #160 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #161 0x00007ff3c30e958d _PyObject_Call_Prepend #162 0x00007ff3c3109150 #163 0x00007ff3c30e917c _PyObject_MakeTpCall #164 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #165 0x00007ff3c323c094 #166 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #167 0x00007ff3c30e958d _PyObject_Call_Prepend #168 0x00007ff3c3109150 #169 0x00007ff3c30e917c _PyObject_MakeTpCall #170 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #171 0x00007ff3c323c094 #172 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #173 0x00007ff3c30e958d _PyObject_Call_Prepend #174 0x00007ff3c3109150 #175 0x00007ff3c30e917c _PyObject_MakeTpCall #176 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #177 0x00007ff3c323c094 #178 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #179 0x00007ff3c30e958d _PyObject_Call_Prepend #180 0x00007ff3c3109150 #181 0x00007ff3c30e917c _PyObject_MakeTpCall #182 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #183 0x00007ff3c323c094 #184 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #185 0x00007ff3c30e958d _PyObject_Call_Prepend #186 0x00007ff3c3109150 #187 0x00007ff3c30e917c _PyObject_MakeTpCall #188 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #189 0x00007ff3c323c094 #190 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #191 0x00007ff3c323c094 #192 0x00007ff3c30e92f1 _PyObject_FastCallDictTstate #193 0x00007ff3c30e958d _PyObject_Call_Prepend #194 0x00007ff3c3109150 #195 0x00007ff3c30e917c _PyObject_MakeTpCall #196 0x00007ff3c32335a2 _PyEval_EvalFrameDefault #197 0x00007ff3c323c094 #198 0x00007ff3c317d0fd #199 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #200 0x00007ff3c323c094 #201 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #202 0x00007ff3c323c094 #203 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #204 0x00007ff3c323c094 #205 0x00007ff3c3233dd3 _PyEval_EvalFrameDefault #206 0x00007ff3c323c094 #207 0x00007ff3c317d23c #208 0x00007ff3c31a7ec5 #209 0x00007ff3c301ac77 #210 0x00007ff3c357c573 ```` The fix implements two key changes. 1. **Hook functions (`memalloc_alloc`, `memalloc_realloc`)**: Snapshot the allocator struct locally before use and guard indirect function calls with `NULL` checks. This prevents crashes if a partially-written struct is observed during a start/stop race. 2. **Start/stop operations (`memalloc_start`, `memalloc_stop`)**: Use local variables and single assignments when publishing the allocator struct to `global_memalloc_ctx.pymem_allocator_obj`. This ensures concurrent hook calls observe either the old or new struct, never a partially-written intermediate state. The real root cause is that `PyMem_GetAllocator` is not documented as atomic, and the struct could be read field-by-field while being written to concurrently. By using local copies and single assignments, we ensure atomicity at the C level and prevent observation of inconsistent state. Co-authored-by: thomas.kowalski --- ddtrace/profiling/collector/_memalloc.cpp | 80 ++++++++++++++++--- ...alloc-null-alloc-ptr-9a0f27f69acb56fc.yaml | 4 + 2 files changed, 71 insertions(+), 13 deletions(-) create mode 100644 releasenotes/notes/fix-profiling-memalloc-null-alloc-ptr-9a0f27f69acb56fc.yaml diff --git a/ddtrace/profiling/collector/_memalloc.cpp b/ddtrace/profiling/collector/_memalloc.cpp index 1ce8b49eea7..72de6c3defd 100644 --- a/ddtrace/profiling/collector/_memalloc.cpp +++ b/ddtrace/profiling/collector/_memalloc.cpp @@ -1,3 +1,4 @@ +#include #include #include #include @@ -17,7 +18,6 @@ typedef struct { - PyMemAllocatorEx pymem_allocator_obj; /* The domain we are tracking */ PyMemAllocatorDomain domain; /* The maximum number of frames collected in stack traces */ @@ -34,11 +34,21 @@ static memalloc_context_t global_memalloc_ctx; static bool memalloc_enabled = false; static std::once_flag memalloc_fork_handler_once_flag; +/* Two-slot buffer for atomically publishing the saved (original) allocator. + * + * Each start() cycle writes into the slot at index g_saved_alloc_slot (then + * flips the index) and then atomically publishes the pointer via + * g_saved_alloc_pub. Hooks load the pointer atomically, so a hook from + * cycle N always refers to g_saved_alloc_buf[N%2] while start() for cycle + * N+1 writes to g_saved_alloc_buf[(N+1)%2]. These are disjoint memory + * locations, so no data race exists on the struct fields themselves. */ +static PyMemAllocatorEx g_saved_alloc_buf[2]; +static int g_saved_alloc_slot = 0; +static std::atomic g_saved_alloc_pub{ nullptr }; + static void -memalloc_free(void* ctx, void* ptr) +memalloc_free(void* Py_UNUSED(ctx), void* ptr) { - PyMemAllocatorEx* alloc = (PyMemAllocatorEx*)ctx; - if (ptr == NULL) return; @@ -52,8 +62,17 @@ memalloc_free(void* ctx, void* ptr) } #endif // MEMALLOC_ASSERT_ON_REENTRY + /* Load atomically so we see a consistent slot written by start() even if + * a concurrent restart is in progress. A NULL guard matches alloc and + * realloc: leaking is safer than crashing through a torn pointer. */ + const PyMemAllocatorEx* const saved = g_saved_alloc_pub.load(std::memory_order_acquire); + if (!saved) + return; + PyMemAllocatorEx alloc = *saved; + if (!alloc.free) + return; memalloc_heap_untrack_no_cpython(ptr); - alloc->free(alloc->ctx, ptr); + alloc.free(alloc.ctx, ptr); } static void* @@ -62,10 +81,24 @@ memalloc_alloc(int use_calloc, void* ctx, size_t nelem, size_t elsize) void* ptr; memalloc_context_t* memalloc_ctx = (memalloc_context_t*)ctx; - if (use_calloc) - ptr = memalloc_ctx->pymem_allocator_obj.calloc(memalloc_ctx->pymem_allocator_obj.ctx, nelem, elsize); - else - ptr = memalloc_ctx->pymem_allocator_obj.malloc(memalloc_ctx->pymem_allocator_obj.ctx, nelem * elsize); + /* Load the saved allocator atomically. g_saved_alloc_pub points into a + * two-slot buffer; start() always writes to the slot that no in-flight + * hook from the previous cycle is reading, so the struct copy below is + * data-race-free. A NULL guard matches realloc and free. */ + const PyMemAllocatorEx* const saved = g_saved_alloc_pub.load(std::memory_order_acquire); + if (!saved) + return nullptr; + PyMemAllocatorEx alloc = *saved; + + if (use_calloc) { + if (!alloc.calloc) + return nullptr; + ptr = alloc.calloc(alloc.ctx, nelem, elsize); + } else { + if (!alloc.malloc) + return nullptr; + ptr = alloc.malloc(alloc.ctx, nelem * elsize); + } if (ptr) { memalloc_heap_track_invokes_cpython(memalloc_ctx->max_nframe, ptr, nelem * elsize, memalloc_ctx->domain); @@ -90,7 +123,14 @@ static void* memalloc_realloc(void* ctx, void* ptr, size_t new_size) { memalloc_context_t* memalloc_ctx = (memalloc_context_t*)ctx; - void* ptr2 = memalloc_ctx->pymem_allocator_obj.realloc(memalloc_ctx->pymem_allocator_obj.ctx, ptr, new_size); + /* Load atomically — same two-slot scheme as memalloc_alloc. */ + const PyMemAllocatorEx* const saved = g_saved_alloc_pub.load(std::memory_order_acquire); + if (!saved) + return nullptr; + PyMemAllocatorEx alloc = *saved; + if (!alloc.realloc) + return nullptr; + void* ptr2 = alloc.realloc(alloc.ctx, ptr, new_size); // The GIL is held here since we're using PYMEM_DOMAIN_OBJ. // TODO(dsn): With Python free-threading, allocators must be thread-safe even for non-RAW domains. // We may need to add synchronization here in the future to avoid races between realloc and untrack. @@ -190,7 +230,15 @@ memalloc_start(PyObject* Py_UNUSED(module), PyObject* args) global_memalloc_ctx.domain = PYMEM_DOMAIN_OBJ; - PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &global_memalloc_ctx.pymem_allocator_obj); + /* Write the saved (original) allocator into whichever slot is NOT + * currently being read by hooks from the previous cycle, then publish the + * pointer atomically. Because start() and the previous stop() hold the + * GIL sequentially, all in-flight hooks from the prior cycle are already + * using the *old* slot; writing to the new slot is therefore data-race-free. */ + const int slot = g_saved_alloc_slot; + g_saved_alloc_slot = 1 - slot; + PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &g_saved_alloc_buf[slot]); + g_saved_alloc_pub.store(&g_saved_alloc_buf[slot], std::memory_order_release); PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &alloc); memalloc_enabled = true; @@ -216,8 +264,14 @@ memalloc_stop(PyObject* Py_UNUSED(module), PyObject* Py_UNUSED(args)) /* First, uninstall our wrappers. There may still be calls to our wrapper in progress, * if they happened to release the GIL. * NB: We're assuming here that this is not called concurrently with iter_events - * or memalloc_heap. The higher-level collector deals with this. */ - PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &global_memalloc_ctx.pymem_allocator_obj); + * or memalloc_heap. The higher-level collector deals with this. + * + * Load atomically so we see the fully-written slot published by start(). */ + const PyMemAllocatorEx* saved = g_saved_alloc_pub.load(std::memory_order_acquire); + if (saved) { + PyMemAllocatorEx restore = *saved; + PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &restore); + } memalloc_heap_tracker_deinit_no_cpython(); diff --git a/releasenotes/notes/fix-profiling-memalloc-null-alloc-ptr-9a0f27f69acb56fc.yaml b/releasenotes/notes/fix-profiling-memalloc-null-alloc-ptr-9a0f27f69acb56fc.yaml new file mode 100644 index 00000000000..6d535b848eb --- /dev/null +++ b/releasenotes/notes/fix-profiling-memalloc-null-alloc-ptr-9a0f27f69acb56fc.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + profiling: A rare crash caused by the memory allocation profiler has been fixed. From 14f21885867e9ca9489bc2d580f77e20b2f14a07 Mon Sep 17 00:00:00 2001 From: Munir Abdinur Date: Thu, 23 Apr 2026 09:09:20 -0700 Subject: [PATCH 080/114] fix(rc): improve apm_tracing disablement flow (#17314) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description When the RC agent deletes a config entry it sends a payload with `content=None`. Previously, `APMTracingCallback` tracked active configs incrementally across poll cycles, but deletion payloads were silently skipped — the config was never removed from the internal map and stale settings persisted indefinitely. **Fix:** rebuild `_config_map` from scratch on every invocation. Because deletion payloads (`content=None`) are skipped during the rebuild, deleted configs are simply absent from the new map. The next `dispatch` reflects the updated (or empty) configuration automatically, with no extra bookkeeping. ## Testing Three new regression tests in `tests/internal/remoteconfig/test_remoteconfig.py`, all `@pytest.mark.subprocess`, passing locally on Python 3.14: - `test_apm_tracing_same_config_id_delete_is_not_skipped` — verifies via the live `dispatch → tracer_rc` chain that a deletion payload in the same batch as a content payload wins; asserts `ddtrace.config._tracing_enabled` is not overwritten by stale content. - `test_apm_tracing_rc_handlers_dispatched_from_products` — verifies the full `on() → APMTracingCallback → dispatch()` round-trip reaches downstream product handlers. - `test_apm_tracing_start_collects_product_apm_capabilities` — verifies `start()` aggregates `APMCapabilities` from all registered products into the RC registration. ## Risks Low. The behavioral change is limited to deletion payloads, which previously caused a silent no-op. The rebuild approach assumes the agent sends a full config set on every poll (the same assumption made by the previous cleanup loop). ## Additional Notes None. Co-authored-by: munir.abdinur --- .../remoteconfig/products/apm_tracing.py | 79 ++++------ .../fix-rc-reset-flow-82c6bc51d1e6724a.yaml | 4 + .../remoteconfig/test_remoteconfig.py | 138 +++++++++++++++--- 3 files changed, 150 insertions(+), 71 deletions(-) create mode 100644 releasenotes/notes/fix-rc-reset-flow-82c6bc51d1e6724a.yaml diff --git a/ddtrace/internal/remoteconfig/products/apm_tracing.py b/ddtrace/internal/remoteconfig/products/apm_tracing.py index 9f71c6d87ab..1a0d9a99944 100644 --- a/ddtrace/internal/remoteconfig/products/apm_tracing.py +++ b/ddtrace/internal/remoteconfig/products/apm_tracing.py @@ -40,40 +40,24 @@ def config_key(payload: Payload) -> int: class APMTracingCallback(RCCallback): """Remote config callback for APM tracing configuration.""" - def __init__(self) -> None: - """Initialize the APM tracing callback with empty configuration state.""" - self._config_map: dict[str, Payload] = {} - - def _get_chained_lib_config(self) -> t.ChainMap: + @staticmethod + def _get_chained_lib_config(config_map: t.Mapping[str, Payload]) -> t.ChainMap: """Get merged library configuration from all configs, ordered by precedence.""" - # Get items in insertion order, then sort by precedence while preserving order for ties - items_with_order = [(i, p) for i, p in enumerate(self._config_map.values())] - - return ChainMap( - *( - t.cast(dict, content["lib_config"]) - for content in ( - p.content - for _, p in sorted( - items_with_order, - key=lambda x: ( - config_key(x[1]), - x[0], - ), # Higher precedence first, then newer (higher index) first - reverse=True, - ) - if p.content is not None and "lib_config" in p.content - ) - ) + # Higher config_key first; on ties, higher insertion index (newer) first. + ordered = sorted( + enumerate(config_map.values()), + key=lambda ip: (config_key(ip[1]), ip[0]), + reverse=True, ) - - def __call__(self, payloads: t.Sequence[Payload]) -> None: - """Process APM tracing configuration payloads. - - Args: - payloads: Sequence of configuration payloads to process - """ - seen_config_ids = set() + lib_configs = [ + t.cast(dict, p.content["lib_config"]) + for _, p in ordered + if p.content is not None and "lib_config" in p.content + ] + return ChainMap(*lib_configs) + + def _process_payloads(self, payloads: t.Sequence[Payload]) -> t.ChainMap: + config_map: dict[str, Payload] = {} for payload in payloads: if payload.metadata is None: log.debug("ignoring invalid APM Tracing remote config payload, path: %s", payload.path) @@ -81,19 +65,13 @@ def __call__(self, payloads: t.Sequence[Payload]) -> None: log.debug("Received APM tracing config payload: %s", payload) - config_id = payload.metadata.id - seen_config_ids.add(config_id) - - if (content := payload.content) is None: - log.debug( - "ignoring invalid APM Tracing remote config payload with no content, product: %s, path: %s", - payload.metadata.product_name, - payload.path, - ) + if payload.content is None: + if payload.metadata.id in config_map: + log.debug("Deleting config %s", payload.metadata.id) + config_map.pop(payload.metadata.id) continue - service_target = t.cast(t.Optional[dict], content.get("service_target")) - + service_target = t.cast(t.Optional[dict], payload.content.get("service_target")) service = t.cast(str, service_target.get("service")) if service_target is not None else None env = t.cast(str, service_target.get("env")) if service_target is not None else None @@ -105,14 +83,17 @@ def __call__(self, payloads: t.Sequence[Payload]) -> None: log.debug("ignoring APM Tracing remote config payload for env: %r != %r", env, config.env) continue - self._config_map[config_id] = payload + config_map[payload.metadata.id] = payload + return self._get_chained_lib_config(config_map) - # Remove configurations that are no longer present - for config_id in set(self._config_map.keys()) - seen_config_ids: - log.debug("Removing APM tracing config %s", config_id) - self._config_map.pop(config_id, None) + def __call__(self, payloads: t.Sequence[Payload]) -> None: + """Process APM tracing configuration payloads. - dispatch("apm-tracing.rc", (dict(self._get_chained_lib_config()), config)) + Args: + payloads: Sequence of configuration payloads to process + """ + chain = self._process_payloads(payloads) + dispatch("apm-tracing.rc", (dict(chain), config)) def post_preload(): diff --git a/releasenotes/notes/fix-rc-reset-flow-82c6bc51d1e6724a.yaml b/releasenotes/notes/fix-rc-reset-flow-82c6bc51d1e6724a.yaml new file mode 100644 index 00000000000..15cc8563dde --- /dev/null +++ b/releasenotes/notes/fix-rc-reset-flow-82c6bc51d1e6724a.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + RemoteConfig: Fixed an issue where deleted remote configurations were not applied, causing stale settings to persist. diff --git a/tests/internal/remoteconfig/test_remoteconfig.py b/tests/internal/remoteconfig/test_remoteconfig.py index 544ad61aec8..2f7604acb16 100644 --- a/tests/internal/remoteconfig/test_remoteconfig.py +++ b/tests/internal/remoteconfig/test_remoteconfig.py @@ -501,30 +501,22 @@ def test_apm_tracing_precedence_ordering(remote_config_worker): # Send all payloads to the callback all_payloads = [service_payload, env_payload, cluster_payload, wildcard_payload] - callback(all_payloads) - # Get the chained configuration - chained_config = callback._get_chained_lib_config() + chained_config = callback._process_payloads(all_payloads) # The first (highest precedence) config should be from the service-specific payload assert chained_config["tracing_enabled"] == "service_config" # Test that removing the service-specific config promotes the env config - callback._config_map.clear() - callback([env_payload, cluster_payload, wildcard_payload]) - chained_config = callback._get_chained_lib_config() + chained_config = callback._process_payloads([env_payload, cluster_payload, wildcard_payload]) assert chained_config["tracing_enabled"] == "env_config" # Test that removing the env config promotes the cluster config - callback._config_map.clear() - callback([cluster_payload, wildcard_payload]) - chained_config = callback._get_chained_lib_config() + chained_config = callback._process_payloads([cluster_payload, wildcard_payload]) assert chained_config["tracing_enabled"] == "cluster_config" # Test that only wildcard config remains at the end - callback._config_map.clear() - callback([wildcard_payload]) - chained_config = callback._get_chained_lib_config() + chained_config = callback._process_payloads([wildcard_payload]) assert chained_config["tracing_enabled"] == "wildcard_config" finally: @@ -579,11 +571,7 @@ def test_apm_tracing_sampling_rules_none_override(remote_config_worker): "sampling_rules_config", ) - # Apply the sampling rules configuration - callback([sampling_rules_payload]) - - # Get the chained configuration and verify sampling rules are set - chained_config = callback._get_chained_lib_config() + chained_config = callback._process_payloads([sampling_rules_payload]) assert "tracing_sampling_rules" in chained_config sampling_rules = chained_config["tracing_sampling_rules"] assert len(sampling_rules) == 2 @@ -604,11 +592,9 @@ def test_apm_tracing_sampling_rules_none_override(remote_config_worker): "none_sampling_rules_config", ) - # Apply the None sampling rules configuration - callback([none_sampling_rules_payload, sampling_rules_payload]) - - # Get the chained configuration and verify sampling rules are now None - chained_config = callback._get_chained_lib_config() + # Same service_target → tie-break by payload index: higher index sorts first in ChainMap + # (see APMTracingCallback._get_chained_lib_config), so put the None override last. + chained_config = callback._process_payloads([sampling_rules_payload, none_sampling_rules_payload]) assert "tracing_sampling_rules" in chained_config assert chained_config["tracing_sampling_rules"] is None @@ -850,6 +836,114 @@ def test_apm_sampling_rules_override(): assert isinstance(lib_config, dict) +@pytest.mark.subprocess(env={"DD_REMOTE_CONFIGURATION_ENABLED": "false"}) +def test_apm_tracing_rc_handlers_dispatched_from_products(): + """APMTracingCallback.dispatch routes lib_config to handlers registered via on().""" + from ddtrace.internal.core.event_hub import on + from ddtrace.internal.remoteconfig import ConfigMetadata + from ddtrace.internal.remoteconfig import Payload + from ddtrace.internal.remoteconfig.products.apm_tracing import APMTracingCallback + + received: list = [] + + def fake_handler(lib_config, dd_config): + received.append(dict(lib_config)) + + on("apm-tracing.rc", fake_handler, "test-product") + callback = APMTracingCallback() + payload = Payload( + metadata=ConfigMetadata( + id="cfg1", + product_name="APM_TRACING", + sha256_hash="abc123", + length=10, + tuf_version=1, + ), + path="datadog/2/APM_TRACING/cfg1/hash", + content={ + "service_target": {"service": "*", "env": "*"}, + "lib_config": {"llmobs": {"enabled": True, "ml_app_name": "my-app"}}, + }, + ) + callback([payload]) + + assert len(received) == 1 + assert received[0]["llmobs"] == {"enabled": True, "ml_app_name": "my-app"} + + +@pytest.mark.subprocess(env={"DD_REMOTE_CONFIGURATION_ENABLED": "false"}) +def test_apm_tracing_same_config_id_delete_is_not_skipped(): + """A content=None payload with the same config_id as a prior content payload deletes it. + + Verifies via the dispatch→handler chain: the deletion payload must not be skipped, + so the lib_config reaching downstream handlers is empty (not the content from the + first payload). + """ + import ddtrace + from ddtrace._trace.product import apm_tracing_rc as tracer_rc + from ddtrace.internal.core.event_hub import on + from ddtrace.internal.remoteconfig import ConfigMetadata + from ddtrace.internal.remoteconfig import Payload + from ddtrace.internal.remoteconfig.products.apm_tracing import APMTracingCallback + + # Register the real tracer handler so config changes are applied to ddtrace.config + on("apm-tracing.rc", tracer_rc, "tracer") + + shared_metadata = dict( + product_name="APM_TRACING", + sha256_hash="abc123", + length=10, + tuf_version=1, + ) + + payload_with_content = Payload( + metadata=ConfigMetadata(id="cfg1", **shared_metadata), + path="datadog/2/APM_TRACING/cfg1/hash", + content={ + "service_target": {"service": "*", "env": "*"}, + "lib_config": {"tracing_enabled": False}, + }, + ) + payload_deleted = Payload( + metadata=ConfigMetadata(id="cfg1", **shared_metadata), + path="datadog/2/APM_TRACING/cfg1/hash", + content=None, + ) + + APMTracingCallback()([payload_with_content, payload_deleted]) + + # deletion was processed — tracer handler received empty lib_config, + # so tracing_enabled=False from the first payload must not have been applied + assert ddtrace.config._tracing_enabled is True, ( + "content=None payload was skipped — tracing_enabled=False from the first payload leaked through" + ) + + +@pytest.mark.subprocess(env={"DD_REMOTE_CONFIGURATION_ENABLED": "false"}) +def test_apm_tracing_start_collects_product_apm_capabilities(): + """start() aggregates APMCapabilities from all registered products into RC registration.""" + import enum + import types + + import mock + + from ddtrace.internal.remoteconfig.products import apm_tracing + + class FakeCapabilities(enum.IntFlag): + MY_CAP = 1 << 10 + + fake_product = types.SimpleNamespace(APMCapabilities=FakeCapabilities, apm_tracing_rc=None) + + with mock.patch("ddtrace.internal.products.manager") as mock_manager: + mock_manager.__products__ = {"fake": fake_product} + with mock.patch("ddtrace.internal.remoteconfig.worker.remoteconfig_poller") as mock_poller: + apm_tracing.start() + + mock_poller.register_callback.assert_called_once() + _, kwargs = mock_poller.register_callback.call_args + assert FakeCapabilities.MY_CAP in kwargs["capabilities"] + + def test_send_request_retries_once_on_oserror(): """First attempt raises OSError; the retry decorator should produce a successful second call.""" client = RemoteConfigClient() From d9017655c251277c037ba347a91b8a0d5c38cf34 Mon Sep 17 00:00:00 2001 From: Brett Langdon Date: Thu, 23 Apr 2026 14:52:48 -0400 Subject: [PATCH 081/114] ci: add s3 artifact metadata to index.html and new metadata.txt files (#17703) ## Description It can be nice to know some extra information about the artifacts that were built. Especially on generic S3 paths like `/main/` which are not tied directly to a commit sha or pipeline id. This PR introduces two changes: 1. Adds metadata about pipeline id, commit sha, timestamp, pacakge version, etc to `index.html` files generated. Both as text and html metadata. 2. Adds a `metadata.txt` file which contains the same information as `key=value` pairs ## Testing ## Risks ## Additional Notes Co-authored-by: brett.langdon --- .gitlab/scripts/generate-index-html.sh | 63 ++++++++++++++++++++++-- .gitlab/scripts/generate-metadata-txt.sh | 24 +++++++++ .gitlab/scripts/upload-wheels-to-s3.sh | 6 ++- 3 files changed, 87 insertions(+), 6 deletions(-) create mode 100755 .gitlab/scripts/generate-metadata-txt.sh diff --git a/.gitlab/scripts/generate-index-html.sh b/.gitlab/scripts/generate-index-html.sh index 9b9c82140a5..0efaf296ce1 100755 --- a/.gitlab/scripts/generate-index-html.sh +++ b/.gitlab/scripts/generate-index-html.sh @@ -2,7 +2,10 @@ set -euo pipefail # Usage: generate-index-html.sh -# Outputs PEP 503-style index HTML to stdout +# Outputs PEP 503-style index HTML to stdout. +# Reads GitLab CI environment variables for build metadata (all optional): +# CI_COMMIT_SHA, CI_COMMIT_SHORT_SHA, CI_COMMIT_REF_NAME, +# CI_PIPELINE_ID, PACKAGE_VERSION # Find all wheels WHEELS=(pywheels/*.whl) @@ -11,12 +14,62 @@ if [ ${#WHEELS[@]} -eq 0 ]; then exit 1 fi -# Generate index.html to stdout -echo '' +# HTML-escape a string so it is safe to embed in tag content or attribute values. +# Uses sed because bash pattern replacement treats & as a backreference on some versions. +html_escape() { + printf '%s' "$1" | sed \ + -e 's/&/\&/g' \ + -e 's//\>/g' \ + -e 's/"/\"/g' \ + -e "s/'/\'/g" +} + +# Collect build metadata (fall back gracefully when run outside CI) +COMMIT_SHA="$(html_escape "${CI_COMMIT_SHA:-unknown}")" +COMMIT_SHORT="$(html_escape "${CI_COMMIT_SHORT_SHA:-${CI_COMMIT_SHA:0:8}}")" +REF_NAME="$(html_escape "${CI_COMMIT_REF_NAME:-unknown}")" +PIPELINE_ID="$(html_escape "${CI_PIPELINE_ID:-unknown}")" +PKG_VERSION="$(html_escape "${PACKAGE_VERSION:-unknown}")" +CREATED_AT="$(date -u +%Y-%m-%dT%H:%M:%SZ)" + +cat << HTML + + + + + ddtrace ${PKG_VERSION} — ${REF_NAME} + + + + + + + + +

ddtrace build artifacts

+ + + + + + +
Version ${PKG_VERSION}
Branch / ref${REF_NAME}
Commit ${COMMIT_SHA}
Pipeline ${PIPELINE_ID}
Created ${CREATED_AT}
+
+HTML + for w in "${WHEELS[@]}"; do fname="$(basename "$w")" - # URL-encode special characters (especially +) enc_fname="${fname//+/%2B}" - echo "${fname}
" + esc_fname="$(html_escape "$fname")" + echo " ${esc_fname}" done + echo "" diff --git a/.gitlab/scripts/generate-metadata-txt.sh b/.gitlab/scripts/generate-metadata-txt.sh new file mode 100755 index 00000000000..c6549b7c7d8 --- /dev/null +++ b/.gitlab/scripts/generate-metadata-txt.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Usage: generate-metadata-txt.sh +# Outputs key=value build metadata to stdout. +# Reads GitLab CI environment variables (all optional): +# CI_COMMIT_SHA, CI_COMMIT_SHORT_SHA, CI_COMMIT_REF_NAME, +# CI_PIPELINE_ID, PACKAGE_VERSION + +COMMIT_SHA="${CI_COMMIT_SHA:-unknown}" +COMMIT_SHORT="${CI_COMMIT_SHORT_SHA:-${COMMIT_SHA:0:8}}" +REF_NAME="${CI_COMMIT_REF_NAME:-unknown}" +PIPELINE_ID="${CI_PIPELINE_ID:-unknown}" +PKG_VERSION="${PACKAGE_VERSION:-unknown}" +CREATED_AT="$(date -u +%Y-%m-%dT%H:%M:%SZ)" + +cat << EOF +commit_sha=${COMMIT_SHA} +commit_short_sha=${COMMIT_SHORT} +ref_name=${REF_NAME} +pipeline_id=${PIPELINE_ID} +package_version=${PKG_VERSION} +created_at=${CREATED_AT} +EOF diff --git a/.gitlab/scripts/upload-wheels-to-s3.sh b/.gitlab/scripts/upload-wheels-to-s3.sh index 9bcd4b7d78b..27efbe2c92a 100755 --- a/.gitlab/scripts/upload-wheels-to-s3.sh +++ b/.gitlab/scripts/upload-wheels-to-s3.sh @@ -30,10 +30,12 @@ if [ -n "$SUFFIX" ]; then INDEX_FILE="index-${SUFFIX}.html" DOWNLOAD_FILE="download-${SUFFIX}.sh" INSTALL_FILE="install-${SUFFIX}.sh" + METADATA_FILE="metadata-${SUFFIX}.txt" else INDEX_FILE="index.html" DOWNLOAD_FILE="download.sh" INSTALL_FILE="install.sh" + METADATA_FILE="metadata.txt" fi echo "Uploading ${#WHEELS[@]} package(s) to s3://${BUCKET}/${S3_PATH}/" @@ -43,16 +45,18 @@ for wheel in "${WHEELS[@]}"; do aws s3 cp "$wheel" "s3://${BUCKET}/${S3_PATH}/$(basename "$wheel")" done -# Generate and upload index + helper scripts +# Generate and upload index + helper scripts + metadata S3_BASE_URL="https://${BUCKET}.s3.amazonaws.com/${S3_PATH}" .gitlab/scripts/generate-index-html.sh | aws s3 cp - "s3://${BUCKET}/${S3_PATH}/${INDEX_FILE}" --content-type text/html .gitlab/scripts/generate-download-script.sh "${S3_BASE_URL}" "${INDEX_FILE}" | aws s3 cp - "s3://${BUCKET}/${S3_PATH}/${DOWNLOAD_FILE}" --content-type text/x-shellscript .gitlab/scripts/generate-install-script.sh "${S3_BASE_URL}" "${INDEX_FILE}" | aws s3 cp - "s3://${BUCKET}/${S3_PATH}/${INSTALL_FILE}" --content-type text/x-shellscript +.gitlab/scripts/generate-metadata-txt.sh | aws s3 cp - "s3://${BUCKET}/${S3_PATH}/${METADATA_FILE}" --content-type text/plain echo "Uploaded to ${S3_PATH}/:" echo " Index: ${S3_BASE_URL}/${INDEX_FILE}" echo " Download: ${S3_BASE_URL}/${DOWNLOAD_FILE}" echo " Install: ${S3_BASE_URL}/${INSTALL_FILE}" +echo " Metadata: ${S3_BASE_URL}/${METADATA_FILE}" # Upload debug symbol packages if present DEBUG_SYMBOLS=(debugwheelhouse/*.zip) From f72d32ce2f9aa29d130e8288271334641e1c563e Mon Sep 17 00:00:00 2001 From: Thomas Kowalski Date: Thu, 23 Apr 2026 20:56:38 +0200 Subject: [PATCH 082/114] refactor: remove crash in `MetricNamespace` (#17706) ## Description This PR fixes the following crash. ``` Error UnixSignal: Process terminated with SEGV_MAPERR (SIGSEGV) #0 0x00005a87adf31055 dictkeys_get_index (/usr/src/python/Objects/dictobject.c:344:13) #1 0x00005a87adf31055 unicodekeys_lookup_generic (/usr/src/python/Objects/dictobject.c:876:14) #2 0x00005a87adf31055 _Py_dict_lookup (/usr/src/python/Objects/dictobject.c:1056:18) #3 0x00005a87adf31055 PyDict_GetItemWithError (/usr/src/python/Objects/dictobject.c:1789:10) #4 0x00007b2e6fc1a8e0 __pyx_pw_7ddtrace_8internal_9telemetry_18metrics_namespaces_15MetricNamespace_5add_metric #5 0x00005a87ae00c955 _PyObject_VectorcallTstate (/usr/src/python/./Include/internal/pycore_call.h:92:11) #6 0x00005a87ae00c955 PyObject_Vectorcall (/usr/src/python/Objects/call.c:299:12) #7 0x00005a87ae05ee1d _PyEval_EvalFrameDefault (/usr/src/python/Python/ceval.c:4760:23) #8 0x00005a87ae05e060 _PyEval_EvalFrame (/usr/src/python/./Include/internal/pycore_ceval.h:73:16) #9 0x00005a87ae05e060 _PyEval_Vector (/usr/src/python/Python/ceval.c:6425:24) #10 0x00005a87ae00d587 PyObject_Call #11 0x00005a87ae061fd8 do_call_core (/usr/src/python/Python/ceval.c:7343:12) #12 0x00005a87ae061fd8 _PyEval_EvalFrameDefault (/usr/src/python/Python/ceval.c:5367:22) #13 0x00005a87ae05e060 _PyEval_EvalFrame (/usr/src/python/./Include/internal/pycore_ceval.h:73:16) #14 0x00005a87ae05e060 _PyEval_Vector (/usr/src/python/Python/ceval.c:6425:24) #15 0x00005a87ae00e0ba _PyObject_VectorcallTstate (/usr/src/python/./Include/internal/pycore_call.h:92:11) #16 0x00005a87ae00e0ba method_vectorcall (/usr/src/python/Objects/classobject.c:59:18) #17 0x00005a87ae00c955 _PyObject_VectorcallTstate (/usr/src/python/./Include/internal/pycore_call.h:92:11) #18 0x00005a87ae00c955 PyObject_Vectorcall (/usr/src/python/Objects/call.c:299:12) #19 0x00005a87ae05ee1d _PyEval_EvalFrameDefault (/usr/src/python/Python/ceval.c:4760:23) #20 0x00005a87ae05e060 _PyEval_EvalFrame (/usr/src/python/./Include/internal/pycore_ceval.h:73:16) #21 0x00005a87ae05e060 _PyEval_Vector (/usr/src/python/Python/ceval.c:6425:24) #22 0x00005a87ae00d02f _PyFunction_Vectorcall (/usr/src/python/Objects/call.c:393:16) #23 0x00005a87ae00d02f _PyObject_FastCallDictTstate (/usr/src/python/Objects/call.c:141:15) #24 0x00005a87ae00d02f _PyObject_Call_Prepend (/usr/src/python/Objects/call.c:482:24) #25 0x00005a87ae0bafd9 slot_tp_call (/usr/src/python/Objects/typeobject.c:7623:15) #26 0x00005a87ae00c4d9 _PyObject_MakeTpCall (/usr/src/python/Objects/call.c:214:18) #27 0x00005a87ae05ee1d _PyEval_EvalFrameDefault (/usr/src/python/Python/ceval.c:4760:23) #28 0x00005a87ae05e060 _PyEval_EvalFrame (/usr/src/python/./Include/internal/pycore_ceval.h:73:16) #29 0x00005a87ae05e060 _PyEval_Vector (/usr/src/python/Python/ceval.c:6425:24) #30 0x00005a87ae00d02f _PyFunction_Vectorcall (/usr/src/python/Objects/call.c:393:16) #31 0x00005a87ae00d02f _PyObject_FastCallDictTstate (/usr/src/python/Objects/call.c:141:15) #32 0x00005a87ae00d02f _PyObject_Call_Prepend (/usr/src/python/Objects/call.c:482:24) #33 0x00005a87ae041f7b slot_tp_init (/usr/src/python/Objects/typeobject.c:7854:15) #34 0x00005a87ae040731 type_call (/usr/src/python/Objects/typeobject.c:1103:19) #35 0x00005a87ae00c4d9 _PyObject_MakeTpCall (/usr/src/python/Objects/call.c:214:18) #36 0x00005a87ae05ee1d _PyEval_EvalFrameDefault (/usr/src/python/Python/ceval.c:4760:23) #37 0x00005a87ae05e060 _PyEval_EvalFrame (/usr/src/python/./Include/internal/pycore_ceval.h:73:16) #38 0x00005a87ae05e060 _PyEval_Vector (/usr/src/python/Python/ceval.c:6425:24) #39 0x00005a87ae00e134 _PyObject_VectorcallTstate (/usr/src/python/./Include/internal/pycore_call.h:92:11) #40 0x00005a87ae00e134 method_vectorcall (/usr/src/python/Objects/classobject.c:89:18) #41 0x00005a87ae00d587 PyObject_Call #42 0x00005a87ae061fd8 do_call_core (/usr/src/python/Python/ceval.c:7343:12) #43 0x00005a87ae061fd8 _PyEval_EvalFrameDefault (/usr/src/python/Python/ceval.c:5367:22) #44 0x00005a87ae05e060 _PyEval_EvalFrame (/usr/src/python/./Include/internal/pycore_ceval.h:73:16) #45 0x00005a87ae05e060 _PyEval_Vector (/usr/src/python/Python/ceval.c:6425:24) #46 0x00005a87ae00d587 PyObject_Call #47 0x00005a87ae061fd8 do_call_core (/usr/src/python/Python/ceval.c:7343:12) #48 0x00005a87ae061fd8 _PyEval_EvalFrameDefault (/usr/src/python/Python/ceval.c:5367:22) #49 0x00005a87ae05e060 _PyEval_EvalFrame (/usr/src/python/./Include/internal/pycore_ceval.h:73:16) #50 0x00005a87ae05e060 _PyEval_Vector (/usr/src/python/Python/ceval.c:6425:24) #51 0x00005a87ae00e04b _PyObject_VectorcallTstate (/usr/src/python/./Include/internal/pycore_call.h:92:11) #52 0x00005a87ae00e04b method_vectorcall (/usr/src/python/Objects/classobject.c:67:20) #53 0x00005a87ae00d587 PyObject_Call #54 0x00005a87ae10e9b3 thread_run (/usr/src/python/./Modules/_threadmodule.c:1124:21) #55 0x00005a87ae0f1098 pythread_wrapper (/usr/src/python/Python/thread_pthread.h:241:5) #56 0x00007b2e71c49609 start_thread #57 0x00007b2e71a14353 clone ``` Co-authored-by: brettlangdon --- .../bp-runner.microbenchmarks.fail-on-breach.template.yml | 4 ++-- benchmarks/suitespec.yml | 2 ++ ddtrace/internal/telemetry/metrics_namespaces.pyx | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab/benchmarks/bp-runner.microbenchmarks.fail-on-breach.template.yml b/.gitlab/benchmarks/bp-runner.microbenchmarks.fail-on-breach.template.yml index 3dbba81267a..73dd7baf46f 100644 --- a/.gitlab/benchmarks/bp-runner.microbenchmarks.fail-on-breach.template.yml +++ b/.gitlab/benchmarks/bp-runner.microbenchmarks.fail-on-breach.template.yml @@ -1010,7 +1010,7 @@ experiments: - max_rss_usage < 38.00 MB - name: telemetryaddmetric-1-gauge-metrics-100-times thresholds: - - execution_time < 0.15 ms + - execution_time < 0.19 ms - max_rss_usage < 38.00 MB - name: telemetryaddmetric-1-rate-metric-1-times thresholds: @@ -1030,7 +1030,7 @@ experiments: - max_rss_usage < 38.00 MB - name: telemetryaddmetric-100-gauge-metrics-100-times thresholds: - - execution_time < 1.55 ms + - execution_time < 1.85 ms - max_rss_usage < 38.00 MB - name: telemetryaddmetric-100-rate-metrics-100-times thresholds: diff --git a/benchmarks/suitespec.yml b/benchmarks/suitespec.yml index 42937256b12..4c3d3e36712 100644 --- a/benchmarks/suitespec.yml +++ b/benchmarks/suitespec.yml @@ -146,6 +146,8 @@ suites: - '@core' - '@tracing' - '@vendor' + - ddtrace/internal/telemetry/constants.py + - ddtrace/internal/telemetry/metrics_namespaces.py* - benchmarks/telemetry_add_metric/* - benchmarks/suitespec.yml cpus_per_run: 1 diff --git a/ddtrace/internal/telemetry/metrics_namespaces.pyx b/ddtrace/internal/telemetry/metrics_namespaces.pyx index 1bc055508dc..dc048853780 100644 --- a/ddtrace/internal/telemetry/metrics_namespaces.pyx +++ b/ddtrace/internal/telemetry/metrics_namespaces.pyx @@ -106,7 +106,8 @@ cdef class MetricNamespace: else: self._metrics_data[metric_id] = value elif metric_type is MetricType.GAUGE: - self._metrics_data[metric_id] = value + with self._metrics_data_lock: + self._metrics_data[metric_id] = value else: # MetricType.DISTRIBUTION with self._metrics_data_lock: existing = self._metrics_data.get(metric_id) From 343db4a78f59b307e13c185ea7c1a55f096f2deb Mon Sep 17 00:00:00 2001 From: Gyuheon Oh <102937919+gyuheon0h@users.noreply.github.com> Date: Thu, 23 Apr 2026 16:39:15 -0400 Subject: [PATCH 083/114] ci: allow notify dd release job to fail (#17709) ## Description Allowing failure to keep release pipelines green ## Testing ## Risks ## Additional Notes Co-authored-by: gyuheon.oh --- .gitlab/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab/release.yml b/.gitlab/release.yml index 62269021aeb..9ef3d1a0f0a 100644 --- a/.gitlab/release.yml +++ b/.gitlab/release.yml @@ -45,6 +45,7 @@ release_pypi_prod: notify_datadog_release: extends: .release_base + allow_failure: true needs: [ "ddtrace package", "release_pypi_prod" ] image: ${PYPI_PUBLISH_IMAGE} id_tokens: From 31322ba9de5c9f8f8dde3866aec362307931d034 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 23 Apr 2026 15:18:05 -0700 Subject: [PATCH 084/114] turn sqlite test into a snapshot one --- tests/contrib/sqlite3/test_sqlite3.py | 1 + ...sqlite3.TestSQLite.test_patch_unpatch.json | 66 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 tests/snapshots/tests.contrib.sqlite3.test_sqlite3.TestSQLite.test_patch_unpatch.json diff --git a/tests/contrib/sqlite3/test_sqlite3.py b/tests/contrib/sqlite3/test_sqlite3.py index 0738cbacfd9..c16864d387e 100644 --- a/tests/contrib/sqlite3/test_sqlite3.py +++ b/tests/contrib/sqlite3/test_sqlite3.py @@ -212,6 +212,7 @@ def test_rollback(self): dict(name="sqlite.connection.rollback", service="sqlite"), ) + @pytest.mark.snapshot() def test_patch_unpatch(self): # Test patch idempotence patch() diff --git a/tests/snapshots/tests.contrib.sqlite3.test_sqlite3.TestSQLite.test_patch_unpatch.json b/tests/snapshots/tests.contrib.sqlite3.test_sqlite3.TestSQLite.test_patch_unpatch.json new file mode 100644 index 00000000000..278ddfff4d0 --- /dev/null +++ b/tests/snapshots/tests.contrib.sqlite3.test_sqlite3.TestSQLite.test_patch_unpatch.json @@ -0,0 +1,66 @@ +[[ + { + "name": "sqlite.query", + "service": "sqlite", + "resource": "select 'blah'", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "sql", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.sqlite3", + "_dd.p.dm": "-0", + "_dd.p.tid": "69ea716000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.sqlite3", + "component": "sqlite", + "db.system": "sqlite", + "language": "python", + "runtime-id": "3597472460ec47dfa2a453066cbeba10", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "db.row_count": -1.0, + "process_id": 12355.0 + }, + "duration": 77000, + "start": 1776972128230818000 + }], +[ + { + "name": "sqlite.query", + "service": "sqlite", + "resource": "select 'blah'", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "sql", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.sqlite3", + "_dd.p.dm": "-0", + "_dd.p.tid": "69ea716000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.sqlite3", + "component": "sqlite", + "db.system": "sqlite", + "language": "python", + "runtime-id": "3597472460ec47dfa2a453066cbeba10", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "db.row_count": -1.0, + "process_id": 12355.0 + }, + "duration": 152000, + "start": 1776972128231268000 + }]] From 7d108b1390560f0d1ed32c302f41712c3aa1832e Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 23 Apr 2026 16:30:32 -0700 Subject: [PATCH 085/114] fix default service name logic for sqlite --- ddtrace/_trace/tracer.py | 5 +++- ...sqlite3.TestSQLite.test_patch_unpatch.json | 24 +++++++++---------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/ddtrace/_trace/tracer.py b/ddtrace/_trace/tracer.py index dcf36678f64..322fcf80150 100644 --- a/ddtrace/_trace/tracer.py +++ b/ddtrace/_trace/tracer.py @@ -501,7 +501,10 @@ def start_span( # 3. Globally configured service name # a. `config.service`/`DD_SERVICE`/`DD_TAGS` service_source: str = "" - if service is None: + default_services = [conf._default_service for conf in config._integration_configs.values()] + if service in default_services: + service_source = service # type: ignore + elif service is None: if parent: service = parent.service service_source = parent.get_tag(_SERVICE_SOURCE) or "" diff --git a/tests/snapshots/tests.contrib.sqlite3.test_sqlite3.TestSQLite.test_patch_unpatch.json b/tests/snapshots/tests.contrib.sqlite3.test_sqlite3.TestSQLite.test_patch_unpatch.json index 278ddfff4d0..628273a73c0 100644 --- a/tests/snapshots/tests.contrib.sqlite3.test_sqlite3.TestSQLite.test_patch_unpatch.json +++ b/tests/snapshots/tests.contrib.sqlite3.test_sqlite3.TestSQLite.test_patch_unpatch.json @@ -11,13 +11,13 @@ "meta": { "_dd.base_service": "tests.contrib.sqlite3", "_dd.p.dm": "-0", - "_dd.p.tid": "69ea716000000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eaab7100000000", + "_dd.svc_src": "sqlite", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.sqlite3", "component": "sqlite", "db.system": "sqlite", "language": "python", - "runtime-id": "3597472460ec47dfa2a453066cbeba10", + "runtime-id": "52410c275b454954b1bc4cfa4b3363b6", "span.kind": "client" }, "metrics": { @@ -26,10 +26,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "db.row_count": -1.0, - "process_id": 12355.0 + "process_id": 76550.0 }, - "duration": 77000, - "start": 1776972128230818000 + "duration": 430000, + "start": 1776986993877345000 }], [ { @@ -44,13 +44,13 @@ "meta": { "_dd.base_service": "tests.contrib.sqlite3", "_dd.p.dm": "-0", - "_dd.p.tid": "69ea716000000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eaab7100000000", + "_dd.svc_src": "sqlite", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.sqlite3", "component": "sqlite", "db.system": "sqlite", "language": "python", - "runtime-id": "3597472460ec47dfa2a453066cbeba10", + "runtime-id": "52410c275b454954b1bc4cfa4b3363b6", "span.kind": "client" }, "metrics": { @@ -59,8 +59,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "db.row_count": -1.0, - "process_id": 12355.0 + "process_id": 76550.0 }, - "duration": 152000, - "start": 1776972128231268000 + "duration": 52000, + "start": 1776986993879016000 }]] From 938817c06eb1a8383e6faf397d2d61b257c2ad40 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 23 Apr 2026 16:32:15 -0700 Subject: [PATCH 086/114] traverse integration_configs as rarely as possible --- ddtrace/_trace/tracer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ddtrace/_trace/tracer.py b/ddtrace/_trace/tracer.py index 322fcf80150..1c6da6b6d98 100644 --- a/ddtrace/_trace/tracer.py +++ b/ddtrace/_trace/tracer.py @@ -501,17 +501,17 @@ def start_span( # 3. Globally configured service name # a. `config.service`/`DD_SERVICE`/`DD_TAGS` service_source: str = "" - default_services = [conf._default_service for conf in config._integration_configs.values()] - if service in default_services: - service_source = service # type: ignore - elif service is None: + if service is None: if parent: service = parent.service service_source = parent.get_tag(_SERVICE_SOURCE) or "" else: service = service_source = config.service else: - service_source = "m" + if service in [conf._default_service for conf in config._integration_configs.values()]: + service_source = service # type: ignore + else: + service_source = "m" # Update the service name based on any mapping if service is not None: From 7f2b92a5b8f9fb870c2975c64e57f30a1ec8494a Mon Sep 17 00:00:00 2001 From: r1viollet <74836499+r1viollet@users.noreply.github.com> Date: Fri, 24 Apr 2026 00:32:17 +0200 Subject: [PATCH 087/114] chore(internal): honor positional timeout in PeriodicThread.join (#17632) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description `PeriodicThread_join` (native, in `ddtrace/internal/_threads.cpp`) guarded its argument parsing with `args != NULL && kwargs != NULL`. CPython passes `kwargs == NULL` whenever the caller uses only positional arguments, so `t.join(0.1)` skipped parsing and `timeout` stayed `Py_None`, falling through to `self->_stopped->wait()` — an unbounded wait. Both `PeriodicService.join` (`ddtrace/internal/periodic.py:64`) and `Timer.join` (`ddtrace/internal/periodic.py:151`) forward to the underlying worker positionally, so every caller that did `service.join(timeout=...)` was silently waiting for the thread to exit on its own instead of honoring the requested timeout. The telemetry writer shutdown path (`self.join(timeout=2)`) is one user-visible example. The fix drops the spurious `kwargs != NULL` check: `PyArg_ParseTupleAndKeywords` already accepts `kwargs == NULL`. This bug has been in the file since `PeriodicThread_join` was first introduced; it was found by a randomized lifecycle stress test targeting the native `_threads.cpp` that I'm prototyping separately. ## Testing New regression test in `tests/internal/test_periodic.py`: `test_periodic_join_positional_timeout_is_honored` — asserts both `t.join(0.1)` and `t.join(timeout=0.1)` return within 1s against a long-interval thread. Before the fix, the positional form hangs forever; after the fix both forms return in ~0.1s. Quick standalone verification on a Linux workspace: Before: ``` kwarg join(timeout=0.1): elapsed=0.100s WATCHDOG: positional join hung past 2s — killing ``` After: ``` positional join(0.1): elapsed=0.100s keyword join(t=0.1): elapsed=0.100s ``` ## Risks Very low. Behavior change is scoped to `PeriodicThread.join(X)` called positionally — previously an unbounded wait, now bounded by `X`. Callers that were relying on the (undocumented) infinite-wait-when-passing-a-number behavior would be affected, but that matches no documented contract and all existing positional callsites in the repo already want the timeout honored (they are `service.join(timeout=...)` wrappers forwarding positionally). No API surface change. Release note included. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: erwan.viollet --- ddtrace/internal/_threads.cpp | 7 ++++++- tests/internal/test_periodic.py | 28 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/ddtrace/internal/_threads.cpp b/ddtrace/internal/_threads.cpp index 28020a78663..4305854ae1d 100644 --- a/ddtrace/internal/_threads.cpp +++ b/ddtrace/internal/_threads.cpp @@ -742,7 +742,12 @@ PeriodicThread_join(PeriodicThread* self, PyObject* args, PyObject* kwargs) PyObject* timeout = Py_None; - if (args != NULL && kwargs != NULL) { + // CPython passes kwargs = NULL when the caller uses only positional + // arguments. The previous guard skipped parsing in that case, silently + // dropping the timeout: join(0.1) fell through to the Py_None branch and + // waited forever. PyArg_ParseTupleAndKeywords accepts kwargs == NULL, so + // we only need args to be non-NULL to attempt parsing. + if (args != NULL) { static const char* argnames[] = { "timeout", NULL }; if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", (char**)argnames, &timeout)) return NULL; diff --git a/tests/internal/test_periodic.py b/tests/internal/test_periodic.py index 94459a9c4f4..8b95445b28a 100644 --- a/tests/internal/test_periodic.py +++ b/tests/internal/test_periodic.py @@ -48,6 +48,34 @@ def _run_periodic(): t.join() +def test_periodic_join_positional_timeout_is_honored(): + """Regression: PeriodicThread.join(timeout) passed positionally was ignored. + + The native PeriodicThread_join skipped argument parsing whenever kwargs was + NULL — which is the normal case for positional calls — so the timeout was + dropped and execution fell through to the Py_None infinite-wait branch. + PeriodicService.join(timeout=...) forwards positionally to its worker, so + every user of that wrapper was silently waiting forever instead of + honoring the timeout. This test pins the positional form (and the kwarg + form) to actually return within the requested timeout. + """ + t = periodic.PeriodicThread(60.0, lambda: None) + t.start() + try: + start = monotonic() + t.join(0.1) # positional + elapsed_pos = monotonic() - start + assert elapsed_pos < 1.0, "positional join(0.1) blocked for %.2fs — timeout was ignored" % elapsed_pos + + start = monotonic() + t.join(timeout=0.1) # keyword + elapsed_kw = monotonic() - start + assert elapsed_kw < 1.0, "keyword join(timeout=0.1) blocked for %.2fs — timeout was ignored" % elapsed_kw + finally: + t.stop() + t.join() + + def test_periodic_error(): x = {"OK": False} From 07203f7635d7597abe47d8799e0c72e27de05d5d Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 06:23:01 -0700 Subject: [PATCH 088/114] typing --- ddtrace/_trace/tracer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddtrace/_trace/tracer.py b/ddtrace/_trace/tracer.py index 1c6da6b6d98..7a43cde54dd 100644 --- a/ddtrace/_trace/tracer.py +++ b/ddtrace/_trace/tracer.py @@ -509,7 +509,7 @@ def start_span( service = service_source = config.service else: if service in [conf._default_service for conf in config._integration_configs.values()]: - service_source = service # type: ignore + service_source = service else: service_source = "m" From 5323c4b15d16d8856cffb9db2bae29d38c7a45d6 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 06:35:24 -0700 Subject: [PATCH 089/114] suitespec --- tests/contrib/suitespec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/contrib/suitespec.yml b/tests/contrib/suitespec.yml index 4beee3b659b..3b4687cb367 100644 --- a/tests/contrib/suitespec.yml +++ b/tests/contrib/suitespec.yml @@ -1231,6 +1231,7 @@ suites: - tests/contrib/futures/* - tests/contrib/dbapi/* - tests/contrib/dbapi_async/* + - tests/snapshots/tests.contrib.sqlite3* pattern: asyncio$|sqlite3$|futures$|dbapi$|dbapi_async$ snapshot: true structlog: From b58ef83025b5b7c4cb3215cc9fb6c80a9a1f1bc9 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 07:04:08 -0700 Subject: [PATCH 090/114] handle when _default_service is not set --- ddtrace/_trace/tracer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddtrace/_trace/tracer.py b/ddtrace/_trace/tracer.py index 7a43cde54dd..9223576375a 100644 --- a/ddtrace/_trace/tracer.py +++ b/ddtrace/_trace/tracer.py @@ -508,7 +508,7 @@ def start_span( else: service = service_source = config.service else: - if service in [conf._default_service for conf in config._integration_configs.values()]: + if service in [getattr(conf, "_default_service") for conf in config._integration_configs.values() if conf]: service_source = service else: service_source = "m" From 9659bc0a88eb207b252481f0f8c139d97865aa69 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 07:22:44 -0700 Subject: [PATCH 091/114] handle when _default_service is not set --- ddtrace/_trace/tracer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ddtrace/_trace/tracer.py b/ddtrace/_trace/tracer.py index 9223576375a..a69d6b87b93 100644 --- a/ddtrace/_trace/tracer.py +++ b/ddtrace/_trace/tracer.py @@ -508,7 +508,9 @@ def start_span( else: service = service_source = config.service else: - if service in [getattr(conf, "_default_service") for conf in config._integration_configs.values() if conf]: + if service in [ + getattr(conf, "_default_service", None) for conf in config._integration_configs.values() if conf + ]: service_source = service else: service_source = "m" From 843d9bcb8b392526f0068c9a1812e226f0ba103a Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 09:00:56 -0700 Subject: [PATCH 092/114] update a bunch of snapshots affected by the fix --- ..._osspawn[flask_appsec_good_rules_env].json | 18 ++-- ...pawn[flask_appsec_good_rules_env]_220.json | 16 ++-- ...ossystem[flask_appsec_good_rules_env].json | 16 ++-- ...stem[flask_appsec_good_rules_env]_220.json | 14 ++-- ...enoshell[flask_appsec_good_rules_env].json | 20 ++--- ...hell[flask_appsec_good_rules_env]_220.json | 18 ++-- ...ateshell[flask_appsec_good_rules_env].json | 20 ++--- ...hell[flask_appsec_good_rules_env]_220.json | 18 ++-- ...200_json[flask_appsec_good_rules_env].json | 14 ++-- ...json[flask_appsec_good_rules_env]_220.json | 12 +-- ...403_json[flask_appsec_good_rules_env].json | 18 ++-- ...json[flask_appsec_good_rules_env]_220.json | 16 ++-- ...hot.test_flask_200[flask_default_env].json | 14 ++-- ...test_flask_200[flask_default_env]_220.json | 12 +-- ...est_flask_get_user[flask_default_env].json | 14 ++-- ...flask_get_user[flask_default_env]_220.json | 12 +-- ....test_flask_stream[flask_default_env].json | 14 ++-- ...t_flask_stream[flask_default_env]_220.json | 12 +-- ...n.test_span_schematization[None-None].json | 22 ++--- ...orn.test_span_schematization[None-v0].json | 22 ++--- ...orn.test_span_schematization[None-v1].json | 22 ++--- ....test_span_schematization[mysvc-None].json | 22 ++--- ...rn.test_span_schematization[mysvc-v0].json | 22 ++--- ...rn.test_span_schematization[mysvc-v1].json | 30 +++---- ...mariadb.test_commit_snapshot_post_1_1.json | 12 +-- ..._mariadb.test_commit_snapshot_pre_1_1.json | 12 +-- ...query_many_fetchall_snapshot_post_1_1.json | 36 ++++---- ..._query_many_fetchall_snapshot_pre_1_1.json | 36 ++++---- ...adb.test_query_proc_snapshot_post_1_1.json | 12 +-- ...iadb.test_query_proc_snapshot_pre_1_1.json | 12 +-- ...veral_rows_fetchall_snapshot_post_1_1.json | 24 +++--- ...everal_rows_fetchall_snapshot_pre_1_1.json | 24 +++--- ...y_with_several_rows_snapshot_post_1_1.json | 12 +-- ...ry_with_several_rows_snapshot_pre_1_1.json | 12 +-- ...d_operation[service_schema0]_post_1_1.json | 12 +-- ...nd_operation[service_schema0]_pre_1_1.json | 12 +-- ...d_operation[service_schema1]_post_1_1.json | 12 +-- ...nd_operation[service_schema1]_pre_1_1.json | 12 +-- ...d_operation[service_schema2]_post_1_1.json | 12 +-- ...nd_operation[service_schema2]_pre_1_1.json | 12 +-- ...d_operation[service_schema3]_post_1_1.json | 12 +-- ...nd_operation[service_schema3]_pre_1_1.json | 12 +-- ...d_operation[service_schema4]_post_1_1.json | 12 +-- ...nd_operation[service_schema4]_pre_1_1.json | 12 +-- ...d_operation[service_schema5]_post_1_1.json | 12 +-- ...nd_operation[service_schema5]_pre_1_1.json | 12 +-- ...ple_malformed_query_snapshot_post_1_1.json | 12 +-- ...mple_malformed_query_snapshot_pre_1_1.json | 12 +-- ...mple_query_fetchall_snapshot_post_1_1.json | 24 +++--- ...imple_query_fetchall_snapshot_pre_1_1.json | 24 +++--- ...b.test_simple_query_snapshot_post_1_1.json | 12 +-- ...db.test_simple_query_snapshot_pre_1_1.json | 12 +-- ..._dd_mariadb_service_snapshot_post_1_1.json | 12 +-- ...d_dd_mariadb_service_snapshot_pre_1_1.json | 12 +-- ..._psycopg.test_composed_query_encoding.json | 12 +-- ...opg.test_postgres_dbm_propagation_tag.json | 72 ++++++++-------- ..._psycopg_snapshot.test_connect_traced.json | 14 ++-- ..._snapshot.test_connect_traced_via_env.json | 12 +-- ..._psycopg.test_composed_query_encoding.json | 12 +-- ...opg.test_postgres_dbm_propagation_tag.json | 48 +++++------ ..._psycopg_snapshot.test_connect_traced.json | 14 ++-- ..._snapshot.test_connect_traced_via_env.json | 12 +-- ...ext.test_otel_ddtrace_mixed_parenting.json | 30 +++---- ...test_context.test_otel_multithreading.json | 74 ++++++++--------- ...test_context.test_otel_span_parenting.json | 38 ++++----- ...start_as_current_span_decorator_async.json | 29 ------- ...t_context.test_otel_trace_across_fork.json | 28 +++---- ...t.test_otel_trace_multiple_coroutines.json | 26 +++--- ...cisions_across_processes[manual.drop].json | 28 +++---- ...cisions_across_processes[manual.keep].json | 28 +++---- ...s_does_not_generate_client_grpc_spans.json | 37 --------- ...y.test_span.test_otel_span_attributes.json | 30 +++---- ..._span_attributes_overrides[override0].json | 10 +-- ..._span_attributes_overrides[override1].json | 10 +-- ..._span_attributes_overrides[override2].json | 10 +-- ..._span_attributes_overrides[override3].json | 10 +-- ..._span_attributes_overrides[override4].json | 10 +-- ...metry.test_span.test_otel_span_events.json | 20 ++--- ...lemetry.test_span.test_otel_span_kind.json | 50 +++++------ ...race_with_flask_app[with_ddtrace_run].json | 82 +++++++++---------- ...sk_app[with_opentelemetry_instrument].json | 30 +++---- ..._otel_start_as_current_span_decorator.json | 26 +++--- ..._start_current_span_with_default_args.json | 10 +-- ...art_current_span_without_default_args.json | 10 +-- ...est_otel_start_span_ignore_exceptions.json | 10 +-- ...test_otel_start_span_record_exception.json | 20 ++--- ..._otel_start_span_without_default_args.json | 10 +-- 87 files changed, 835 insertions(+), 901 deletions(-) delete mode 100644 tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json delete mode 100644 tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env].json index 9d6ade3dbf3..d39bf108dfb 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env].json @@ -79,7 +79,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 21208, @@ -94,7 +94,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 22208, @@ -109,7 +109,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15331959, @@ -124,7 +124,7 @@ "parent_id": 6, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15266875, @@ -140,7 +140,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exec": "['/bin/ls', '-l', '/']", "cmd.exit_code": "0", "component": "os" @@ -158,7 +158,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exec": "['os.fork']", "component": "os" }, @@ -174,7 +174,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 109708, @@ -189,7 +189,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 51750, @@ -204,7 +204,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 19792, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env]_220.json index eee01e281d9..f163362768b 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_osspawn[flask_appsec_good_rules_env]_220.json @@ -79,7 +79,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 29750, @@ -94,7 +94,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 11567500, @@ -109,7 +109,7 @@ "parent_id": 5, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 11487875, @@ -125,7 +125,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exec": "['/bin/ls', '-l', '/']", "cmd.exit_code": "0", "component": "os" @@ -143,7 +143,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exec": "['os.fork']", "component": "os" }, @@ -159,7 +159,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 123875, @@ -174,7 +174,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 30042, @@ -189,7 +189,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 20959, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env].json index 42cafc5d470..755ebef699b 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env].json @@ -79,7 +79,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 20709, @@ -94,7 +94,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 22125, @@ -109,7 +109,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 2496125, @@ -124,7 +124,7 @@ "parent_id": 6, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 2453500, @@ -140,7 +140,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "os" @@ -157,7 +157,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 26500, @@ -172,7 +172,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 23834, @@ -187,7 +187,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 16083, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env]_220.json index 731fe00cccd..39ab77bcbb3 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_ossystem[flask_appsec_good_rules_env]_220.json @@ -79,7 +79,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 26584, @@ -94,7 +94,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 2652250, @@ -109,7 +109,7 @@ "parent_id": 5, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 2584542, @@ -125,7 +125,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "os" @@ -142,7 +142,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 30500, @@ -157,7 +157,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 22166, @@ -172,7 +172,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15042, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env].json index 2cb89bfe597..cb9ba8900c4 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env].json @@ -79,7 +79,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 16625, @@ -94,7 +94,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 18583, @@ -109,7 +109,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 3454833, @@ -124,7 +124,7 @@ "parent_id": 6, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 3401750, @@ -140,7 +140,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m" + "_dd.svc_src": "flask" }, "duration": 1912375, "start": 1776102749083026513 @@ -155,7 +155,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exec": "['dir', '-li', '/']", "cmd.exit_code": "0", "component": "subprocess" @@ -173,7 +173,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exec": "['dir', '-li', '/']", "cmd.exit_code": "0", "component": "subprocess" @@ -190,7 +190,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 48875, @@ -205,7 +205,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 25000, @@ -220,7 +220,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15333, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env]_220.json index 6b756c807c8..838ef87c630 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicatenoshell[flask_appsec_good_rules_env]_220.json @@ -79,7 +79,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 18375, @@ -94,7 +94,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 2178250, @@ -109,7 +109,7 @@ "parent_id": 5, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 2139083, @@ -125,7 +125,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m" + "_dd.svc_src": "flask" }, "duration": 710708, "start": 1776102317433359883 @@ -140,7 +140,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exec": "['dir', '-li', '/']", "cmd.exit_code": "0", "component": "subprocess" @@ -158,7 +158,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exec": "['dir', '-li', '/']", "cmd.exit_code": "0", "component": "subprocess" @@ -175,7 +175,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 22625, @@ -190,7 +190,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 54791, @@ -205,7 +205,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 24375, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env].json index 0fd8dcb62b0..bc66cd31264 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env].json @@ -79,7 +79,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 19709, @@ -94,7 +94,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 21959, @@ -109,7 +109,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 5643583, @@ -124,7 +124,7 @@ "parent_id": 6, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 5582751, @@ -140,7 +140,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m" + "_dd.svc_src": "flask" }, "duration": 2753542, "start": 1776102750090427055 @@ -155,7 +155,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "subprocess" @@ -173,7 +173,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "subprocess" @@ -190,7 +190,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 69916, @@ -205,7 +205,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 28917, @@ -220,7 +220,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 19167, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env]_220.json index 8934c08751f..8c24857c9ab 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_processexec_subprocesscommunicateshell[flask_appsec_good_rules_env]_220.json @@ -79,7 +79,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 25417, @@ -94,7 +94,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 3034167, @@ -109,7 +109,7 @@ "parent_id": 5, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 2980417, @@ -125,7 +125,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m" + "_dd.svc_src": "flask" }, "duration": 333042, "start": 1776102313016420297 @@ -140,7 +140,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "subprocess" @@ -158,7 +158,7 @@ "type": "system", "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "cmd.exit_code": "0", "cmd.shell": "dir -li /", "component": "subprocess" @@ -175,7 +175,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 24250, @@ -190,7 +190,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 23292, @@ -205,7 +205,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15125, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env].json index 9c810e74cf8..ecdd50b95cd 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env].json @@ -85,7 +85,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 24459, @@ -100,7 +100,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 22292, @@ -115,7 +115,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 232292, @@ -130,7 +130,7 @@ "parent_id": 6, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 190708, @@ -145,7 +145,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 19167, @@ -160,7 +160,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 19541, @@ -175,7 +175,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15625, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env]_220.json index 3280f4968f4..5ecd0066971 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_200_json[flask_appsec_good_rules_env]_220.json @@ -85,7 +85,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 25708, @@ -100,7 +100,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 241750, @@ -115,7 +115,7 @@ "parent_id": 5, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 189083, @@ -130,7 +130,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 18792, @@ -145,7 +145,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 18125, @@ -160,7 +160,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 12959, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env].json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env].json index f433df467cf..ff3552c9132 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env].json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env].json @@ -127,7 +127,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 20541, @@ -142,7 +142,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 22042, @@ -158,7 +158,7 @@ "error": 1, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask", "error.message": "??? Unknown Error: None", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 521, in _patched_request\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/flask/app.py\", line 1936, in dispatch_request\n return self.view_functions[rule.endpoint](**req.view_args)\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 74, in patch_func\n return _wrap_call(\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 66, in _wrap_call\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 378, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 486, in block_request\n env.block_callable()\n File \"/home/bits/project/ddtrace/appsec/_contrib/flask/__init__.py\", line 199, in _flask_block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=status))\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 822, in abort\n return _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 804, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", @@ -180,7 +180,7 @@ "error": 1, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask", "error.message": "??? Unknown Error: None", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 66, in _wrap_call\n return wrapped(*args, **kwargs)\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 378, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 486, in block_request\n env.block_callable()\n File \"/home/bits/project/ddtrace/appsec/_contrib/flask/__init__.py\", line 199, in _flask_block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=status))\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 822, in abort\n return _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug20_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~10_itsdangerous210_markupsafe20/lib/python3.9/site-packages/werkzeug/exceptions.py\", line 804, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", @@ -198,7 +198,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 65917, @@ -213,7 +213,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15917, @@ -228,7 +228,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 21500, @@ -243,7 +243,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 21375, @@ -258,7 +258,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 17917, diff --git a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env]_220.json b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env]_220.json index 9c54c3d9f3f..412805ba7bd 100644 --- a/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_appsec_flask_snapshot.test_flask_userblock_match_403_json[flask_appsec_good_rules_env]_220.json @@ -127,7 +127,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 26625, @@ -143,7 +143,7 @@ "error": 1, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask", "error.message": "??? Unknown Error: None", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/patch.py\", line 521, in _patched_request\n return wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/flask/app.py\", line 1469, in dispatch_request\n return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 74, in patch_func\n return _wrap_call(\n ^^^^^^^^^^^\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 66, in _wrap_call\n return wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 378, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 486, in block_request\n env.block_callable()\n File \"/home/bits/project/ddtrace/appsec/_contrib/flask/__init__.py\", line 199, in _flask_block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=status))\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/werkzeug/exceptions.py\", line 891, in abort\n _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/werkzeug/exceptions.py\", line 871, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", @@ -165,7 +165,7 @@ "error": 1, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask", "error.message": "??? Unknown Error: None", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/flask/wrappers.py\", line 66, in _wrap_call\n return wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/flask/app.py\", line 63, in checkuser\n block_request_if_user_blocked(user_id)\n File \"/home/bits/project/ddtrace/appsec/_trace_utils.py\", line 378, in block_request_if_user_blocked\n _asm_request_context.block_request()\n File \"/home/bits/project/ddtrace/appsec/_asm_request_context.py\", line 486, in block_request\n env.block_callable()\n File \"/home/bits/project/ddtrace/appsec/_contrib/flask/__init__.py\", line 199, in _flask_block_request_callable\n abort(flask.Response(http_utils._get_blocked_template(ctype, block_id), content_type=ctype, status=status))\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/werkzeug/exceptions.py\", line 891, in abort\n _aborter(status, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_blinker_requests_werkzeug30_urllib3~10_pytest-randomly_importlib_metadata_flask-openapi3_flask~20/lib/python3.12/site-packages/werkzeug/exceptions.py\", line 871, in __call__\n raise HTTPException(response=code)\nwerkzeug.exceptions.HTTPException: ??? Unknown Error: None\n", @@ -183,7 +183,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 60000, @@ -198,7 +198,7 @@ "parent_id": 6, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 13333, @@ -213,7 +213,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 22792, @@ -228,7 +228,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 17625, @@ -243,7 +243,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 13375, diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env].json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env].json index 68a26fc4bb4..04ab181a9ac 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env].json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env].json @@ -67,7 +67,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 33584, @@ -84,7 +84,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 18583, @@ -101,7 +101,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 54833, @@ -118,7 +118,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15833, @@ -135,7 +135,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 16542, @@ -152,7 +152,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 18292, @@ -169,7 +169,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15292, diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env]_220.json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env]_220.json index 713a52dcc8c..f0d68fe950b 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_200[flask_default_env]_220.json @@ -67,7 +67,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 18584, @@ -84,7 +84,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 49791, @@ -101,7 +101,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 11209, @@ -118,7 +118,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 12250, @@ -135,7 +135,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 12708, @@ -152,7 +152,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 10208, diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env].json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env].json index b99bd337323..af1f88c9adb 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env].json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env].json @@ -73,7 +73,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 20625, @@ -90,7 +90,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 16416, @@ -107,7 +107,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 57209, @@ -124,7 +124,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 21250, @@ -141,7 +141,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 14375, @@ -158,7 +158,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 16458, @@ -175,7 +175,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 13833, diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env]_220.json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env]_220.json index beb4a2da3a7..87d3d7b241c 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_get_user[flask_default_env]_220.json @@ -73,7 +73,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 16334, @@ -90,7 +90,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 53208, @@ -107,7 +107,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 19250, @@ -124,7 +124,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 11000, @@ -141,7 +141,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 13125, @@ -158,7 +158,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 9625, diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env].json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env].json index 2bdbaa3ccda..73409221034 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env].json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env].json @@ -67,7 +67,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 39875, @@ -84,7 +84,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 20917, @@ -101,7 +101,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 84000, @@ -118,7 +118,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 29750, @@ -135,7 +135,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15000, @@ -152,7 +152,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 18791, @@ -169,7 +169,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 14959, diff --git a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env]_220.json b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env]_220.json index ffaf07d37f4..f9f04c5e372 100644 --- a/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env]_220.json +++ b/tests/snapshots/tests.contrib.flask.test_flask_snapshot.test_flask_stream[flask_default_env]_220.json @@ -67,7 +67,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 15958, @@ -84,7 +84,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 55792, @@ -101,7 +101,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 21916, @@ -118,7 +118,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 10084, @@ -135,7 +135,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 12042, @@ -152,7 +152,7 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, "duration": 10542, diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-None].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-None].json index c95799db8cc..3c6b117bc57 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-None].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-None].json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de5ee500000000", + "_dd.p.tid": "69eb929b00000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "1f4030a5d7a7432d8e3fe824fc6f3586", + "runtime-id": "08d70d2e755d436a89205fe95aabd5ef", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 8718.0 + "process_id": 16772.0 }, - "duration": 925000, - "start": 1776180965870595138 + "duration": 385625, + "start": 1777046171580098049 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 274292, - "start": 1776180965870905513 + "duration": 125833, + "start": 1777046171580204174 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 68584, - "start": 1776180965871057971 + "duration": 29583, + "start": 1777046171580279632 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "list_iterator" }, - "duration": 287834, - "start": 1776180965871207846 + "duration": 126833, + "start": 1777046171580344049 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v0].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v0].json index 766687738dc..aa69a914a74 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v0].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v0].json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de5ef100000000", + "_dd.p.tid": "69eb92a600000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "22130161b257419cbcf3a5da0d7154c4", + "runtime-id": "899cad94bd994008889790c87c648dc1", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 8844.0 + "process_id": 16903.0 }, - "duration": 1052667, - "start": 1776180977077949504 + "duration": 1035750, + "start": 1777046182463818387 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 351333, - "start": 1776180977078255171 + "duration": 420792, + "start": 1777046182464075054 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 108750, - "start": 1776180977078440546 + "duration": 87875, + "start": 1777046182464285637 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "list_iterator" }, - "duration": 328667, - "start": 1776180977078642004 + "duration": 291291, + "start": 1777046182464532596 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v1].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v1].json index d485be1508a..4992bad225e 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v1].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[None-v1].json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de5efc00000000", + "_dd.p.tid": "69eb92b100000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "18bf1e9f3de24ad5a5aa2b75721e49dc", + "runtime-id": "909871d496df4025935849c7f56e4b14", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 8970.0 + "process_id": 17031.0 }, - "duration": 737167, - "start": 1776180988547617343 + "duration": 395541, + "start": 1777046193477265712 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 197833, - "start": 1776180988547816135 + "duration": 135333, + "start": 1777046193477372920 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 41250, - "start": 1776180988547938760 + "duration": 31875, + "start": 1777046193477454587 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "list_iterator" }, - "duration": 269208, - "start": 1776180988548029885 + "duration": 125792, + "start": 1777046193477522003 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-None].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-None].json index 978d313abc6..daa7f7f4839 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-None].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-None].json @@ -10,7 +10,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de5eeb00000000", + "_dd.p.tid": "69eb92a100000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", @@ -19,17 +19,17 @@ "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "475726be0fe9467f8829d9e36346c09d", + "runtime-id": "55b15e83db8744878f7d1afdeed249af", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 8781.0 + "process_id": 16835.0 }, - "duration": 1021375, - "start": 1776180971433344585 + "duration": 694916, + "start": 1777046177030540260 }, { "name": "wsgi.application", @@ -44,8 +44,8 @@ "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 318792, - "start": 1776180971433672043 + "duration": 181875, + "start": 1777046177030839343 }, { "name": "wsgi.start_response", @@ -61,8 +61,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 83333, - "start": 1776180971433849460 + "duration": 44417, + "start": 1777046177030949218 }, { "name": "wsgi.response", @@ -78,6 +78,6 @@ "component": "wsgi", "result_class": "list_iterator" }, - "duration": 310333, - "start": 1776180971434025960 + "duration": 187000, + "start": 1777046177031034926 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v0].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v0].json index a1cf0ca03c9..a6dd603f242 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v0].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v0].json @@ -10,7 +10,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de5ef600000000", + "_dd.p.tid": "69eb92ab00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", @@ -19,17 +19,17 @@ "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "d6fda4dd61e143e2964a32757ae2f3d1", + "runtime-id": "94de60e0777744e6a47ee0aa0032c807", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 8907.0 + "process_id": 16961.0 }, - "duration": 742584, - "start": 1776180982821247465 + "duration": 373792, + "start": 1777046187942635209 }, { "name": "wsgi.application", @@ -44,8 +44,8 @@ "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 225458, - "start": 1776180982821487757 + "duration": 142708, + "start": 1777046187942731084 }, { "name": "wsgi.start_response", @@ -61,8 +61,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 59250, - "start": 1776180982821617340 + "duration": 29667, + "start": 1777046187942824042 }, { "name": "wsgi.response", @@ -78,6 +78,6 @@ "component": "wsgi", "result_class": "list_iterator" }, - "duration": 232875, - "start": 1776180982821735799 + "duration": 111791, + "start": 1777046187942886376 }]] diff --git a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v1].json b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v1].json index 15d0627be09..537bf4222a1 100644 --- a/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v1].json +++ b/tests/snapshots/tests.contrib.gunicorn.test_gunicorn.test_span_schematization[mysvc-v1].json @@ -10,8 +10,8 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de5f0200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92b600000000", + "_dd.svc_src": "mysvc", "_dd.tags.process": "entrypoint.name:gunicorn,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", "http.method": "GET", @@ -19,17 +19,17 @@ "http.status_msg": "OK", "http.url": "http://0.0.0.0:8080/", "language": "python", - "runtime-id": "8adc6d5352ea4ac7928ffbe000becb22", + "runtime-id": "c4cc3d167b7245ed9399f7db483c23f7", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 9040.0 + "process_id": 17087.0 }, - "duration": 574500, - "start": 1776180994301587304 + "duration": 617875, + "start": 1777046198867824214 }, { "name": "wsgi.application", @@ -41,11 +41,11 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "m", + "_dd.svc_src": "mysvc", "component": "wsgi" }, - "duration": 192875, - "start": 1776180994301777137 + "duration": 213625, + "start": 1777046198867982422 }, { "name": "wsgi.start_response", @@ -57,12 +57,12 @@ "type": "web", "error": 0, "meta": { - "_dd.svc_src": "m", + "_dd.svc_src": "mysvc", "component": "wsgi", "span.kind": "server" }, - "duration": 47084, - "start": 1776180994301894637 + "duration": 52500, + "start": 1777046198868107214 }, { "name": "wsgi.response", @@ -74,10 +74,10 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "m", + "_dd.svc_src": "mysvc", "component": "wsgi", "result_class": "list_iterator" }, - "duration": 160917, - "start": 1776180994301986387 + "duration": 201916, + "start": 1777046198868219006 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_post_1_1.json index 1b011c0b8a3..af9f610683a 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e500000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -29,8 +29,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 126708, - "start": 1776174565493365133 + "duration": 136834, + "start": 1777046281022618710 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_pre_1_1.json index a12f50b12a0..64dfdd2646d 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45ff00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -29,8 +29,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 350916, - "start": 1776174591761022423 + "duration": 130125, + "start": 1777046249489457126 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_post_1_1.json index 571d34dac9e..e9e7e82cc74 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930b00000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" @@ -32,10 +32,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 292708, - "start": 1776174564380222466 + "duration": 347833, + "start": 1777046283227360628 }], [ { @@ -50,8 +50,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930b00000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -59,7 +59,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -70,10 +70,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 202084, - "start": 1776174564380879382 + "duration": 272125, + "start": 1777046283228311795 }], [ { @@ -88,8 +88,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930b00000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -97,7 +97,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -107,8 +107,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 49750, - "start": 1776174564381380007 + "duration": 52458, + "start": 1777046283228769795 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_pre_1_1.json index 57c13a0c3dd..c59d7ed644f 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" @@ -32,10 +32,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 347250, - "start": 1776174595218637841 + "duration": 305000, + "start": 1777046249444349251 }], [ { @@ -50,8 +50,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -59,7 +59,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -70,10 +70,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 223709, - "start": 1776174595219399549 + "duration": 278292, + "start": 1777046249445383168 }], [ { @@ -88,8 +88,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -97,7 +97,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -107,8 +107,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 55208, - "start": 1776174595219770758 + "duration": 97834, + "start": 1777046249445887751 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_post_1_1.json index f6c224ab482..05bd2415dc7 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e500000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 363541, - "start": 1776174565481512925 + "duration": 365708, + "start": 1777046281473980211 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_pre_1_1.json index c73c69fb220..d42f83e3110 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 486084, - "start": 1776174595184300924 + "duration": 358334, + "start": 1777046249475546251 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_post_1_1.json index 1eef92c6340..374f701c784 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e500000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,10 +31,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 3.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 323709, - "start": 1776174565462339591 + "duration": 262125, + "start": 1777046281487519919 }], [ { @@ -49,8 +49,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e500000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -58,7 +58,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -68,8 +68,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 3.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 104334, - "start": 1776174565463066216 + "duration": 58250, + "start": 1777046281488121169 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_pre_1_1.json index 66bd89d51b8..d91a647872b 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e400000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,10 +31,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 367042, - "start": 1776174595200983424 + "duration": 304041, + "start": 1777046244413108472 }], [ { @@ -49,8 +49,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e400000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -58,7 +58,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -68,8 +68,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 3.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 117625, - "start": 1776174595201844299 + "duration": 65750, + "start": 1777046244413773430 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_post_1_1.json index a6f8eb44fb6..bd7dbd2baef 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 3.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 286458, - "start": 1776174564401438424 + "duration": 656792, + "start": 1777046281035652752 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_pre_1_1.json index ee2cc29019e..b1e5a9c0219 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e900000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 337458, - "start": 1776174594016896841 + "duration": 422667, + "start": 1777046249462307543 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_post_1_1.json index 9eb62059813..b12c36e17f2 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930a00000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7601708c4116426ca4e0806f403f19b3", + "runtime-id": "ccf008e4b93240358b1523516eddcd1a", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61473.0 + "process_id": 19607.0 }, - "duration": 178292, - "start": 1776174562676343090 + "duration": 194708, + "start": 1777046282227596336 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_pre_1_1.json index da46a1ad2b0..c3db96fbb41 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema0]_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460000000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e600000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "496c2338c72e4516a9bd4b2e4c57109a", + "runtime-id": "3213115c60314cf0a063268b3bc921bc", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62377.0 + "process_id": 18698.0 }, - "duration": 175417, - "start": 1776174592411890006 + "duration": 186958, + "start": 1777046246815462292 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_post_1_1.json index 1ea9cee9681..c1846307897 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930b00000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "16db8838812f41ee8df13da466e29dd8", + "runtime-id": "82f32c53f24b48ae8d4900fdef177b32", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61589.0 + "process_id": 19618.0 }, - "duration": 177375, - "start": 1776174566127429342 + "duration": 216250, + "start": 1777046283055639295 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_pre_1_1.json index 2157b60406b..244e5fe60ee 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema1]_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e700000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "5d45b0b9ebe944e59dd4e6e02d47764e", + "runtime-id": "774f544c4c214ea8890811b4bd5d2565", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62437.0 + "process_id": 18709.0 }, - "duration": 168750, - "start": 1776174595048807049 + "duration": 178083, + "start": 1777046247685418709 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_post_1_1.json index 619199dfa74..d236a325d3c 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_post_1_1.json @@ -10,9 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e400000000", + "_dd.p.tid": "69eb930800000000", "_dd.peer.service.source": "db.name", - "_dd.svc_src": "m", + "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", @@ -21,7 +21,7 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "d925cf762116486ea350196aa7dce1c0", + "runtime-id": "9aad8ede7eff4436a5a6e98c1bf809d9", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -32,8 +32,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61512.0 + "process_id": 19550.0 }, - "duration": 197542, - "start": 1776174564224396549 + "duration": 191750, + "start": 1777046280870505169 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_pre_1_1.json index 0f7f31dce7f..604d64ed345 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema2]_pre_1_1.json @@ -10,9 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de460100000000", + "_dd.p.tid": "69eb92e600000000", "_dd.peer.service.source": "db.name", - "_dd.svc_src": "m", + "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", @@ -21,7 +21,7 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "6eab37ba8ec54eaab99c63e00d256347", + "runtime-id": "868603e6674d44c39caf2a6c627c57d1", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -32,8 +32,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62388.0 + "process_id": 18687.0 }, - "duration": 169458, - "start": 1776174593151807465 + "duration": 167042, + "start": 1777046246001489208 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_post_1_1.json index 831101455c5..364f7f89f7a 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930700000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "30f35fe6503b42b0ae754dbbc5180b82", + "runtime-id": "b34ba9509eb242718320683b8ddcd11c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61600.0 + "process_id": 19523.0 }, - "duration": 194791, - "start": 1776174566867325384 + "duration": 190375, + "start": 1777046279087535543 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_pre_1_1.json index c2e2147a440..51c5bff6c88 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema3]_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e800000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "3098400712dd4443a010b0491c9696b3", + "runtime-id": "8d5a1cbf13274d5fb49ce08e449476de", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62474.0 + "process_id": 18725.0 }, - "duration": 163333, - "start": 1776174595932923883 + "duration": 170542, + "start": 1777046248486296501 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_post_1_1.json index 04c082003f7..f52eb453e6d 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e500000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930700000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "598771ef1ad44c488812baf37278956f", + "runtime-id": "c0b166a31275427a837fdc6b9d9c6fb9", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61557.0 + "process_id": 19534.0 }, - "duration": 181667, - "start": 1776174565345460216 + "duration": 201167, + "start": 1777046279932613710 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_pre_1_1.json index 3f61779516c..b515cf6d065 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema4]_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460100000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e500000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "d8c3e847e79d4abdaf56a45f2ab38002", + "runtime-id": "0fd7ee937bb3433aaacaa33451da0d33", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62404.0 + "process_id": 18676.0 }, - "duration": 170000, - "start": 1776174593907833341 + "duration": 175458, + "start": 1777046245203257972 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_post_1_1.json index 56c9def935f..7c1b433b1aa 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_post_1_1.json @@ -10,9 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e300000000", + "_dd.p.tid": "69eb930c00000000", "_dd.peer.service.source": "db.name", - "_dd.svc_src": "m", + "_dd.svc_src": "mysvc", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", @@ -21,7 +21,7 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "c75f039a4cdd423193f53053241c83ed", + "runtime-id": "293f7554f30f4da8b2e53e1f74b1f668", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -32,8 +32,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61494.0 + "process_id": 19657.0 }, - "duration": 202625, - "start": 1776174563466443424 + "duration": 244458, + "start": 1777046284040548087 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_pre_1_1.json index 5a7664e3083..1a6cbb0e078 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_schematized_service_and_operation[service_schema5]_pre_1_1.json @@ -10,9 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de45ff00000000", + "_dd.p.tid": "69eb92e900000000", "_dd.peer.service.source": "db.name", - "_dd.svc_src": "m", + "_dd.svc_src": "mysvc", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "mariadb", "db.name": "test", @@ -21,7 +21,7 @@ "language": "python", "out.host": "127.0.0.1", "peer.service": "test", - "runtime-id": "916a151aacfb436fb57ff51e75396209", + "runtime-id": "78009395c6c44bab98ecd77b33ef9a8a", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -32,8 +32,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62354.0 + "process_id": 18736.0 }, - "duration": 159000, - "start": 1776174591645923381 + "duration": 199208, + "start": 1777046249304402335 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_post_1_1.json index a7470bd295e..352b3913008 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930b00000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -23,7 +23,7 @@ "error.type": "mariadb.ProgrammingError", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -34,8 +34,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": -1.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 1338625, - "start": 1776174563594583424 + "duration": 1694833, + "start": 1777046283242571128 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_pre_1_1.json index 96dce953fa6..c9392102be2 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e400000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -23,7 +23,7 @@ "error.type": "mariadb.ProgrammingError", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -34,8 +34,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": -1.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 982666, - "start": 1776174596059092717 + "duration": 857292, + "start": 1777046244457619680 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_post_1_1.json index 5b5aea920cf..9aeae9955c5 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930b00000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,10 +31,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 201709, - "start": 1776174564358473757 + "duration": 215709, + "start": 1777046283256493711 }], [ { @@ -49,8 +49,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930b00000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -58,7 +58,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -68,8 +68,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 80209, - "start": 1776174564359068132 + "duration": 52209, + "start": 1777046283257086586 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_pre_1_1.json index 01c354a94c1..ca639ecb69e 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e400000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,10 +31,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 243792, - "start": 1776174596044051633 + "duration": 283083, + "start": 1777046244429289930 }], [ { @@ -49,8 +49,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e400000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -58,7 +58,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -68,8 +68,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 60959, - "start": 1776174596044688133 + "duration": 66709, + "start": 1777046244430074763 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_post_1_1.json index 675b4014381..0cca549eee9 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_post_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb930b00000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "a1beec7d092b490b94db1a7fa9b813f4", + "runtime-id": "600b078ac2e148688c6948b542a1207c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61364.0 + "process_id": 19414.0 }, - "duration": 183250, - "start": 1776174566984406425 + "duration": 236042, + "start": 1777046283207528878 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_pre_1_1.json index fe102c4cf8d..bd765a7a74a 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_pre_1_1.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.mariadb", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb92e400000000", + "_dd.svc_src": "mariadb", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mariadb", "component": "mariadb", "db.name": "test", @@ -20,7 +20,7 @@ "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7db942b23cee4052a1c5d8699e105801", + "runtime-id": "ca610fb4e0324aa2a9bc39fd9a05cfa8", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62349.0 + "process_id": 18625.0 }, - "duration": 297500, - "start": 1776174594327874507 + "duration": 186125, + "start": 1777046244444334930 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_post_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_post_1_1.json index b10e72d917f..be4c32b5756 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_post_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_post_1_1.json @@ -11,16 +11,16 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de45e400000000", + "_dd.p.tid": "69eb930900000000", "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpkpdlb68,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvpf79c4f,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "f30e7d5daca44e568855bcea51ae9917", + "runtime-id": "44e01679493842ba9b6acba96900a01b", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 3306.0, - "process_id": 61549.0 + "process_id": 19585.0 }, - "duration": 178708, - "start": 1776174564679373216 + "duration": 278625, + "start": 1777046281424576919 }]] diff --git a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_pre_1_1.json b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_pre_1_1.json index b3d297f5f3a..5df01be6705 100644 --- a/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_pre_1_1.json +++ b/tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot_pre_1_1.json @@ -11,16 +11,16 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de460200000000", + "_dd.p.tid": "69eb92e400000000", "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphbmirkgg,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpe_me11op,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mariadb", "db.name": "test", "db.system": "mariadb", "db.user": "test", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "599405ee51674cb59aa1722ad22d7e4c", + "runtime-id": "10768b6cfb0446bda64e4ceb4941af97", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -31,8 +31,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 0.0, "network.destination.port": 3306.0, - "process_id": 62422.0 + "process_id": 18635.0 }, - "duration": 169459, - "start": 1776174594283879132 + "duration": 240458, + "start": 1777046244372171972 }]] diff --git a/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_composed_query_encoding.json b/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_composed_query_encoding.json index d728dff5cc1..3b90f818d0b 100644 --- a/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_composed_query_encoding.json +++ b/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_composed_query_encoding.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.psycopg", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd48bc00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb938f00000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.psycopg", "component": "psycopg", "db.application": "None", @@ -21,7 +21,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "c56a9ba77f2d4899b4d299470795a3e3", + "runtime-id": "8a3d0e2dfe4245d9b89032afb9c3a8da", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -32,8 +32,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 5432.0, - "process_id": 14990.0 + "process_id": 22503.0 }, - "duration": 1393916, - "start": 1776109756472501386 + "duration": 1325042, + "start": 1777046415585378384 }]] diff --git a/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_postgres_dbm_propagation_tag.json b/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_postgres_dbm_propagation_tag.json index 826fce6e208..d73f0c45136 100644 --- a/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_postgres_dbm_propagation_tag.json +++ b/tests/snapshots/tests.contrib.psycopg.test_psycopg.test_postgres_dbm_propagation_tag.json @@ -12,8 +12,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd48bb00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb939000000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -22,7 +22,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "352c277eaec24fbc834290e243e6c6ac", + "runtime-id": "63521871dfe04afda1441a6c9c2344a5", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -33,10 +33,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 5432.0, - "process_id": 14996.0 + "process_id": 22773.0 }, - "duration": 554083, - "start": 1776109755972683344 + "duration": 579666, + "start": 1777046416544904218 }], [ { @@ -52,8 +52,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd48bb00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb939000000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -62,7 +62,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "352c277eaec24fbc834290e243e6c6ac", + "runtime-id": "63521871dfe04afda1441a6c9c2344a5", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" @@ -74,10 +74,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 5432.0, - "process_id": 14996.0 + "process_id": 22773.0 }, - "duration": 406334, - "start": 1776109755973522552 + "duration": 389125, + "start": 1777046416545753509 }], [ { @@ -93,8 +93,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd48bb00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb939000000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -103,7 +103,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "352c277eaec24fbc834290e243e6c6ac", + "runtime-id": "63521871dfe04afda1441a6c9c2344a5", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -114,10 +114,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 5432.0, - "process_id": 14996.0 + "process_id": 22773.0 }, - "duration": 181458, - "start": 1776109755974022844 + "duration": 196709, + "start": 1777046416546235384 }], [ { @@ -133,8 +133,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd48bb00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb939000000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -143,7 +143,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "352c277eaec24fbc834290e243e6c6ac", + "runtime-id": "63521871dfe04afda1441a6c9c2344a5", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" @@ -155,10 +155,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 5432.0, - "process_id": 14996.0 + "process_id": 22773.0 }, - "duration": 267708, - "start": 1776109755974269969 + "duration": 292417, + "start": 1777046416546507426 }], [ { @@ -174,8 +174,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd48bb00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb939000000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -184,7 +184,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "352c277eaec24fbc834290e243e6c6ac", + "runtime-id": "63521871dfe04afda1441a6c9c2344a5", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -195,10 +195,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 5432.0, - "process_id": 14996.0 + "process_id": 22773.0 }, - "duration": 191917, - "start": 1776109755974618552 + "duration": 201291, + "start": 1777046416546886343 }], [ { @@ -214,8 +214,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd48bb00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb939000000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -224,7 +224,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "352c277eaec24fbc834290e243e6c6ac", + "runtime-id": "63521871dfe04afda1441a6c9c2344a5", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" @@ -236,8 +236,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 5432.0, - "process_id": 14996.0 + "process_id": 22773.0 }, - "duration": 245083, - "start": 1776109755974877219 + "duration": 270542, + "start": 1777046416547158426 }]] diff --git a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced.json b/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced.json index 7d2fba2508e..dfa74a8bd02 100644 --- a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced.json +++ b/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced.json @@ -11,13 +11,13 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd48c200000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpbm98qwf6,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69eb938e00000000", + "_dd.svc_src": "postgres", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_bsa5uvh,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.system": "postgresql", "language": "python", - "runtime-id": "fb4c1d3ca70e44649ac00c0e0bcf0913", + "runtime-id": "b2fae13e76ac4e03b647de850a35e273", "span.kind": "client" }, "metrics": { @@ -25,8 +25,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 15231.0 + "process_id": 22724.0 }, - "duration": 2178459, - "start": 1776109762943839916 + "duration": 2308625, + "start": 1777046414581996009 }]] diff --git a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced_via_env.json b/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced_via_env.json index ee736947d95..bf9b4dcab3c 100644 --- a/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced_via_env.json +++ b/tests/snapshots/tests.contrib.psycopg.test_psycopg_snapshot.test_connect_traced_via_env.json @@ -11,13 +11,13 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd48c200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb938f00000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.system": "postgresql", "language": "python", - "runtime-id": "3509a816c16246998ec848ddc95c387e", + "runtime-id": "dfec8a86eca74f81ae56c46fdd746b80", "span.kind": "client" }, "metrics": { @@ -25,8 +25,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 15221.0 + "process_id": 22737.0 }, - "duration": 2127458, - "start": 1776109762292844639 + "duration": 2303125, + "start": 1777046415033935592 }]] diff --git a/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_composed_query_encoding.json b/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_composed_query_encoding.json index 6c85f6547c1..4b473841d3d 100644 --- a/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_composed_query_encoding.json +++ b/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_composed_query_encoding.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.psycopg2", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd783400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb937500000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.psycopg2", "component": "psycopg", "db.application": "None", @@ -21,7 +21,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "2dddf211af824f259e536f360a56212d", + "runtime-id": "c31e4de5efe0459ab054001c1409e26c", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -32,8 +32,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 5432.0, - "process_id": 59607.0 + "process_id": 22158.0 }, - "duration": 1237333, - "start": 1776121908868631376 + "duration": 496333, + "start": 1777046389103731011 }]] diff --git a/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_postgres_dbm_propagation_tag.json b/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_postgres_dbm_propagation_tag.json index ba79654cdd2..400531fdbcd 100644 --- a/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_postgres_dbm_propagation_tag.json +++ b/tests/snapshots/tests.contrib.psycopg2.test_psycopg.test_postgres_dbm_propagation_tag.json @@ -12,8 +12,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd783400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb937100000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -22,7 +22,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "2a7241e1e7e1405ea541c3f80aae900c", + "runtime-id": "ee9b8a341f0a45e081fc06155ed6a4d1", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -33,10 +33,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 5432.0, - "process_id": 59619.0 + "process_id": 22315.0 }, - "duration": 475042, - "start": 1776121908802563834 + "duration": 621875, + "start": 1777046385817266384 }], [ { @@ -52,8 +52,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd783400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb937100000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -62,7 +62,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "2a7241e1e7e1405ea541c3f80aae900c", + "runtime-id": "ee9b8a341f0a45e081fc06155ed6a4d1", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" @@ -74,10 +74,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 5432.0, - "process_id": 59619.0 + "process_id": 22315.0 }, - "duration": 238959, - "start": 1776121908803332042 + "duration": 311292, + "start": 1777046385818250384 }], [ { @@ -93,8 +93,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd783400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb937100000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -103,7 +103,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "2a7241e1e7e1405ea541c3f80aae900c", + "runtime-id": "ee9b8a341f0a45e081fc06155ed6a4d1", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -114,10 +114,10 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 5432.0, - "process_id": 59619.0 + "process_id": 22315.0 }, - "duration": 131208, - "start": 1776121908803654751 + "duration": 139458, + "start": 1777046385818675509 }], [ { @@ -133,8 +133,8 @@ "_dd.base_service": "", "_dd.dbm_trace_injected": "true", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd783400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb937100000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "psycopg", "db.application": "None", @@ -143,7 +143,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "2a7241e1e7e1405ea541c3f80aae900c", + "runtime-id": "ee9b8a341f0a45e081fc06155ed6a4d1", "server.address": "127.0.0.1", "span.kind": "client", "sql.executemany": "true" @@ -155,8 +155,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 5432.0, - "process_id": 59619.0 + "process_id": 22315.0 }, - "duration": 228375, - "start": 1776121908803850542 + "duration": 267000, + "start": 1777046385818885426 }]] diff --git a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced.json b/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced.json index 49aa0856010..524391eec64 100644 --- a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced.json +++ b/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced.json @@ -11,13 +11,13 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd784200000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpu2ukylf3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69eb936600000000", + "_dd.svc_src": "postgres", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp976lppa3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.system": "postgresql", "language": "python", - "runtime-id": "f641f8e775104c49b6b16e8f16e66681", + "runtime-id": "4ba19160fef9417ab48228020f2ccec0", "span.kind": "client" }, "metrics": { @@ -25,8 +25,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 59863.0 + "process_id": 22173.0 }, - "duration": 3543167, - "start": 1776121922149705882 + "duration": 3615333, + "start": 1777046374020097504 }]] diff --git a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced_via_env.json b/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced_via_env.json index 45735f56445..490ab903cc9 100644 --- a/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced_via_env.json +++ b/tests/snapshots/tests.contrib.psycopg2.test_psycopg_snapshot.test_connect_traced_via_env.json @@ -11,13 +11,13 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd784200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eb936600000000", + "_dd.svc_src": "postgres", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.system": "postgresql", "language": "python", - "runtime-id": "b614f19509404a9f86b2a5347da5b856", + "runtime-id": "1a0e462327e546cb824c9c49a0ca69ea", "span.kind": "client" }, "metrics": { @@ -25,8 +25,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 59884.0 + "process_id": 22184.0 }, - "duration": 3828459, - "start": 1776121922946283257 + "duration": 3486125, + "start": 1777046374377072004 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json index d97e4c49ad0..c3bbeb1c2d4 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7abd00000000", + "_dd.p.tid": "69eb932c00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 123015042, - "start": 1776188093143197721 + "duration": 123535916, + "start": 1777046316141565630 }, { "name": "ddtrace-top-level", @@ -37,8 +37,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 122735583, - "start": 1776188093143345513 + "duration": 123364208, + "start": 1777046316141678255 }, { "name": "ddtrace-child", @@ -52,8 +52,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 45640500, - "start": 1776188093164583513 + "duration": 45453375, + "start": 1777046316163646546 }, { "name": "internal", @@ -67,8 +67,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 55503500, - "start": 1776188093210385721 + "duration": 55379334, + "start": 1777046316209571546 }, { "name": "ddtrace-grandchild", @@ -82,8 +82,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 30398958, - "start": 1776188093235241555 + "duration": 29729500, + "start": 1777046316235124213 }, { "name": "internal", @@ -97,6 +97,6 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 26074625, - "start": 1776188093235476221 + "duration": 24697375, + "start": 1777046316239757130 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json index 372e48bdbb7..91513bf027e 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7abc00000000", + "_dd.p.tid": "69eb932c00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 89001334, - "start": 1776188092933977304 + "duration": 89643583, + "start": 1777046316033733463 }, { "name": "internal", @@ -36,14 +36,14 @@ "error": 0, "meta": { "_dd.svc_src": "tests.opentelemetry", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 87528541, - "start": 1776188092934431513 + "duration": 88479125, + "start": 1777046316034686963 }, { "name": "internal", @@ -57,8 +57,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 21651917, - "start": 1776188092934508846 + "duration": 21920208, + "start": 1777046316034824588 }, { "name": "internal", @@ -72,8 +72,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 65604709, - "start": 1776188092956236179 + "duration": 66125042, + "start": 1777046316056936879 }, { "name": "internal", @@ -86,14 +86,14 @@ "error": 0, "meta": { "_dd.svc_src": "tests.opentelemetry", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 87510250, - "start": 1776188092934776721 + "duration": 86734500, + "start": 1777046316035315921 }, { "name": "internal", @@ -107,8 +107,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 21147125, - "start": 1776188092934848929 + "duration": 20866208, + "start": 1777046316035458713 }, { "name": "internal", @@ -122,8 +122,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 66155333, - "start": 1776188092956068388 + "duration": 65390333, + "start": 1777046316056554088 }, { "name": "internal", @@ -136,14 +136,14 @@ "error": 0, "meta": { "_dd.svc_src": "tests.opentelemetry", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 87580625, - "start": 1776188092935069013 + "duration": 82918042, + "start": 1777046316035913046 }, { "name": "internal", @@ -157,8 +157,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 21183584, - "start": 1776188092935135304 + "duration": 21328750, + "start": 1777046316036020713 }, { "name": "internal", @@ -172,8 +172,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 66165916, - "start": 1776188092956377388 + "duration": 61118458, + "start": 1777046316057456463 }, { "name": "internal", @@ -186,14 +186,14 @@ "error": 0, "meta": { "_dd.svc_src": "tests.opentelemetry", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 87495334, - "start": 1776188092935360679 + "duration": 86472584, + "start": 1777046316036430254 }, { "name": "internal", @@ -207,8 +207,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 20288875, - "start": 1776188092935425929 + "duration": 20514167, + "start": 1777046316036571921 }, { "name": "internal", @@ -222,6 +222,6 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 66915083, - "start": 1776188092955880721 + "duration": 65583917, + "start": 1777046316057209504 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json index ddff3f38704..c2827f879c5 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7abd00000000", + "_dd.p.tid": "69eb932b00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 243616500, - "start": 1776188093276932555 + "duration": 244410792, + "start": 1777046315772866879 }, { "name": "internal", @@ -37,8 +37,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 110033167, - "start": 1776188093300640971 + "duration": 110432625, + "start": 1777046315794512504 }, { "name": "internal", @@ -52,8 +52,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 61893584, - "start": 1776188093348532971 + "duration": 64518208, + "start": 1777046315840280713 }, { "name": "internal", @@ -67,8 +67,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 109374042, - "start": 1776188093411004721 + "duration": 112131875, + "start": 1777046315905064296 }, { "name": "internal", @@ -81,14 +81,14 @@ "error": 0, "meta": { "_dd.svc_src": "tests.opentelemetry", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 108015750, - "start": 1776188093412196513 + "duration": 111717041, + "start": 1777046315905400838 }, { "name": "internal", @@ -101,12 +101,12 @@ "error": 0, "meta": { "_dd.svc_src": "tests.opentelemetry", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 63893833, - "start": 1776188093455975513 + "duration": 65144458, + "start": 1777046315951039213 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json deleted file mode 100644 index 88df81496ea..00000000000 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json +++ /dev/null @@ -1,29 +0,0 @@ -[[ - { - "name": "internal", - "service": "tests.opentelemetry", - "resource": "async-function", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "69dea02c00000000", - "_dd.svc_src": "tests.opentelemetry", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", - "language": "python", - "runtime-id": "92643b3a2ede41d298322f70159cf319", - "test-attribute1": "before-sleep", - "test-attribute2": "after-sleep" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 87611.0 - }, - "duration": 13852333, - "start": 1776197676928769679 - }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json index 9aa41da4d3f..653cf6f16aa 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7abe00000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphv1atsub,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4ejitoql,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "8925c53d1c1d46a2b8a723e31ac11098" + "runtime-id": "f6ae49f975d04d8e842d66081e297208" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42490.0 + "process_id": 20427.0 }, - "duration": 55835750, - "start": 1776188094183549847 + "duration": 51164500, + "start": 1777046317747523047 }, { "name": "internal", @@ -36,20 +36,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7abe00000000", - "_dd.parent_id": "d03e58831aac1dcf", + "_dd.p.tid": "69eb932d00000000", + "_dd.parent_id": "d497fad7daf2d62e", "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphv1atsub,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4ejitoql,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "d3bca96879be4110b5cde55eee30aac1", - "tracestate": "dd=p:d03e58831aac1dcf;s:1;t.dm:-0" + "runtime-id": "a9a2fc22850e4af2b91782b813256db8", + "tracestate": "dd=p:d497fad7daf2d62e;s:1;t.dm:-0" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42498.0 + "process_id": 20435.0 }, - "duration": 24067334, - "start": 1776188094211914638 + "duration": 20864334, + "start": 1777046317774360630 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json index a2505ab8bdc..ba55c18c812 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7abd00000000", + "_dd.p.tid": "69eb932b00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 96718334, - "start": 1776188093037183554 + "duration": 86776292, + "start": 1777046315673448629 }, { "name": "internal", @@ -37,8 +37,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 23207792, - "start": 1776188093037302679 + "duration": 20704208, + "start": 1777046315673552296 }, { "name": "internal", @@ -52,8 +52,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 25647459, - "start": 1776188093060696971 + "duration": 23066250, + "start": 1777046315694436629 }, { "name": "internal", @@ -67,8 +67,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 21852000, - "start": 1776188093086516055 + "duration": 20674458, + "start": 1777046315717663421 }, { "name": "internal", @@ -82,6 +82,6 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 25282333, - "start": 1776188093108539763 + "duration": 21684333, + "start": 1777046315738440088 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json index 213fd4de13d..688dba5e155 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "69de7abb00000000", + "_dd.p.tid": "69eb932b00000000", "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuecxwdxz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvh983js2,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "5dd6c9d0db25405c8d8d6bfe8e3ab87a" + "runtime-id": "6422cbf4fe4f47938992611ff5e79432" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 42428.0 + "process_id": 20364.0 }, - "duration": 52033208, - "start": 1776188091993947804 + "duration": 53236917, + "start": 1777046315535255921 }, { "name": "internal", @@ -36,20 +36,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "69de7abb00000000", - "_dd.parent_id": "7745352b3aafc951", + "_dd.p.tid": "69eb932b00000000", + "_dd.parent_id": "1158057a79196591", "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuecxwdxz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvh983js2,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "a00be096fcbf482c9ed543e3159576b1", - "tracestate": "dd=p:7745352b3aafc951;s:-1;t.dm:-4" + "runtime-id": "378f3fe9d9d94a49a65ad53dee411047", + "tracestate": "dd=p:1158057a79196591;s:-1;t.dm:-4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 42436.0 + "process_id": 20372.0 }, - "duration": 20473584, - "start": 1776188092022325137 + "duration": 20903708, + "start": 1777046315564313463 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json index 8964f094cad..1363b56e7c8 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "69de7abc00000000", + "_dd.p.tid": "69eb932c00000000", "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptiz81mhd,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0_ek2s1j,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "e5738ae778fd4ae5a81aa9941cdaa4e2" + "runtime-id": "0e854e7d056249e1817d0a9ee022bb7f" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 42450.0 + "process_id": 20404.0 }, - "duration": 52637042, - "start": 1776188092792921471 + "duration": 51474666, + "start": 1777046316937316297 }, { "name": "internal", @@ -36,20 +36,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "69de7abc00000000", - "_dd.parent_id": "130c3cf3d45d242c", + "_dd.p.tid": "69eb932c00000000", + "_dd.parent_id": "fe180f19606f7343", "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptiz81mhd,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0_ek2s1j,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "115364fd835b4efb8e395bf720e16aab", - "tracestate": "dd=p:130c3cf3d45d242c;s:2;t.dm:-4" + "runtime-id": "41bd14da67c04fc1beeb012e7bc5d070", + "tracestate": "dd=p:fe180f19606f7343;s:2;t.dm:-4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 42458.0 + "process_id": 20412.0 }, - "duration": 24103084, - "start": 1776188092818469054 + "duration": 20977583, + "start": 1777046316964250880 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json b/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json deleted file mode 100644 index c8e659a13ca..00000000000 --- a/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json +++ /dev/null @@ -1,37 +0,0 @@ -[[ - { - "name": "grpc", - "service": "grpc-server", - "resource": "/opentelemetry.proto.collector.logs.v1.LogsService/Export", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "grpc", - "error": 0, - "meta": { - "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a3300000000", - "_dd.svc_src": "grpc_server", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpskjcpbby,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", - "component": "grpc_server", - "grpc.method.kind": "unary", - "grpc.method.name": "Export", - "grpc.method.package": "opentelemetry.proto.collector.logs.v1", - "grpc.method.path": "/opentelemetry.proto.collector.logs.v1.LogsService/Export", - "grpc.method.service": "LogsService", - "language": "python", - "rpc.service": "opentelemetry.proto.collector.logs.v1.LogsService", - "runtime-id": "8a8e282d640d45f380baa176b38f4348", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1.0, - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 35060.0 - }, - "duration": 145708, - "start": 1776450099918571385 - }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json index 31ca7365af0..ec4febbf9f1 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json @@ -11,13 +11,13 @@ "meta": { "_dd.base_service": "tests.opentelemetry", "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932e00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "bytes_tag": "bstr", "language": "python", "real_string_tag": "rstr", - "runtime-id": "70ff513e149c4275a000e61227618926", + "runtime-id": "ee6949b03b33475481d3858e92bfdb34", "tag1": "one", "tag2": "two", "tag3": "3", @@ -27,10 +27,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 88958, - "start": 1776188083658336050 + "duration": 85625, + "start": 1777046318020494339 }], [ { @@ -45,11 +45,11 @@ "meta": { "_dd.base_service": "tests.opentelemetry", "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932e00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, @@ -57,13 +57,13 @@ "_sampling_priority_v1": 1.0, "float_tag": 2.111, "int_tag": 1.0, - "process_id": 42232.0, + "process_id": 20204.0, "tag1": 1.0, "tag2": 2.0, "tag3": 3.1415 }, - "duration": 43334, - "start": 1776188083658562758 + "duration": 44250, + "start": 1777046318020723714 }], [ { @@ -77,7 +77,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932e00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", @@ -85,7 +85,7 @@ "moon.2.0": "hello", "moon.2.2.0": "5", "moon.2.2.1": "6asda", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, @@ -99,7 +99,7 @@ "moon1.0": 1.0, "moon1.1": 2.0, "moon1.2": 3.0, - "process_id": 42232.0, + "process_id": 20204.0, "sunk.0": 1.0, "sunk.1": 2.0, "sunk.2": 3.0, @@ -107,6 +107,6 @@ "teardrop68.1": 2.0, "teardrop68.2": 3.0 }, - "duration": 92542, - "start": 1776188083658709800 + "duration": 112041, + "start": 1777046318020866589 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json index 70100d51054..5ad3dba8e1b 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932e00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "operation.name": "operation-override", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 54167, - "start": 1776188083627050008 + "duration": 56708, + "start": 1777046318008711547 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json index 23d5b80ca8c..5f3a969e0cd 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json @@ -11,18 +11,18 @@ "meta": { "_dd.base_service": "tests.opentelemetry", "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 76459, - "start": 1776188083571109008 + "duration": 67250, + "start": 1777046317919105714 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json index f6f468b7545..463ede13aa3 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json @@ -10,18 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 62833, - "start": 1776188083649424092 + "duration": 51292, + "start": 1777046317932437130 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json index 885e0e61f29..15830f4bab3 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json @@ -10,18 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 62667, - "start": 1776188083608135050 + "duration": 67666, + "start": 1777046317976404714 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json index 8ce4cf9637d..9bd5dfd8e22 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "http.status_code": "200", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 62875, - "start": 1776188083599084175 + "duration": 59750, + "start": 1777046317991284005 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json index 7161591aae5..832959d7d58 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json @@ -10,21 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "events": "[{\"name\": \"Web page unresponsive\",\"time_unix_nano\": 1714536311886000,\"attributes\": {\"error.code\": \"403\",\"unknown values\": [1,\"['h', 'a', [False]]\"]}}]", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 50875, - "start": 1776188083615110675 + "duration": 65958, + "start": 1777046317941178464 }], [ { @@ -38,19 +38,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "events": "[{\"name\": \"Web page loaded\",\"time_unix_nano\": 1714537311986000},{\"name\": \"Button changed color\",\"time_unix_nano\": 1714537311986000,\"attributes\": {\"colors\": [112,215,70],\"response.time\": 134.3,\"success\": true}}]", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 28458, - "start": 1776188083615310675 + "duration": 33209, + "start": 1777046317941400130 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json index ef1dd382e4c..9d2b0da374e 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json @@ -10,21 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926", + "runtime-id": "ee6949b03b33475481d3858e92bfdb34", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 63500, - "start": 1776188083579276133 + "duration": 51459, + "start": 1777046317953910255 }], [ { @@ -38,21 +38,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926", + "runtime-id": "ee6949b03b33475481d3858e92bfdb34", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 29833, - "start": 1776188083579468342 + "duration": 27208, + "start": 1777046317954081964 }], [ { @@ -66,21 +66,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926", + "runtime-id": "ee6949b03b33475481d3858e92bfdb34", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 27125, - "start": 1776188083579581217 + "duration": 28292, + "start": 1777046317954190005 }], [ { @@ -94,21 +94,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926", + "runtime-id": "ee6949b03b33475481d3858e92bfdb34", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 35750, - "start": 1776188083579688883 + "duration": 61125, + "start": 1777046317954473880 }], [ { @@ -122,18 +122,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ab300000000", + "_dd.p.tid": "69eb932d00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "70ff513e149c4275a000e61227618926" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 42232.0 + "process_id": 20204.0 }, - "duration": 19791, - "start": 1776188083579801217 + "duration": 23500, + "start": 1777046317954650589 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json index 79ec91aaa47..da84e677e0c 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ac900000000", + "_dd.p.tid": "69eb932a00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 43019.0 + "process_id": 20204.0 }, - "duration": 6713334, - "start": 1776188105580299921 + "duration": 12044000, + "start": 1777046314534425879 }, { "name": "flask.request", @@ -37,8 +37,8 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ac900000000", - "_dd.parent_id": "5a91cdb5971efa2a", + "_dd.p.tid": "69eb932a00000000", + "_dd.parent_id": "cdb28320852ec4a6", "_dd.svc_src": "flask", "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", @@ -51,20 +51,20 @@ "http.url": "http://0.0.0.0:8010/otel", "http.useragent": "python-requests/2.28.1", "language": "python", - "runtime-id": "add2bd29518c42f7b4cad81e46220009", + "runtime-id": "4508e6cbbee54b63a33cecb36825595d", "span.kind": "server", - "traceparent": "00-69de7ac9000000009772118a97a254d7-5a91cdb5971efa2a-01", - "tracestate": "dd=p:5a91cdb5971efa2a;s:1;t.dm:-0" + "traceparent": "00-69eb932a0000000065812037b8bf397a-cdb28320852ec4a6-01", + "tracestate": "dd=p:cdb28320852ec4a6;s:1;t.dm:-0" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 43190.0 + "process_id": 20320.0 }, - "duration": 5118417, - "start": 1776188105581585046 + "duration": 9322208, + "start": 1777046314536643629 }, { "name": "flask.application", @@ -82,8 +82,8 @@ "flask.endpoint": "otel", "flask.url_rule": "/otel" }, - "duration": 4804458, - "start": 1776188105581729713 + "duration": 8743792, + "start": 1777046314536865795 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -96,11 +96,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 12958, - "start": 1776188105581802880 + "duration": 18333, + "start": 1777046314537028212 }, { "name": "flask.preprocess_request", @@ -113,11 +113,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 11625, - "start": 1776188105581845296 + "duration": 15583, + "start": 1777046314537094462 }, { "name": "flask.dispatch_request", @@ -130,11 +130,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 4501625, - "start": 1776188105581873421 + "duration": 8150958, + "start": 1777046314537136754 }, { "name": "tests.opentelemetry.flask_app.otel", @@ -147,11 +147,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 4474500, - "start": 1776188105581894296 + "duration": 8102000, + "start": 1777046314537174295 }, { "name": "internal", @@ -164,10 +164,10 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m" + "_dd.svc_src": "flask" }, - "duration": 41875, - "start": 1776188105586311046 + "duration": 81417, + "start": 1777046314545167212 }, { "name": "flask.process_response", @@ -180,11 +180,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 16333, - "start": 1776188105586414963 + "duration": 33167, + "start": 1777046314545384462 }, { "name": "flask.do_teardown_request", @@ -197,11 +197,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 12792, - "start": 1776188105586485588 + "duration": 19958, + "start": 1777046314545527462 }, { "name": "flask.do_teardown_appcontext", @@ -214,11 +214,11 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 9416, - "start": 1776188105586515880 + "duration": 15250, + "start": 1777046314545578504 }, { "name": "flask.response", @@ -234,6 +234,6 @@ "_dd.svc_src": "flask", "component": "flask" }, - "duration": 157083, - "start": 1776188105586540088 + "duration": 336875, + "start": 1777046314545619795 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json index aabf4bb2a95..32370f29853 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9f3800000000", + "_dd.p.tid": "69eb934500000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "f64bcf1c53f24bb89c2b358e89b14ff7" + "runtime-id": "d5717466b04e40019cc8d63f373fc800" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 86094.0 + "process_id": 20773.0 }, - "duration": 3288500, - "start": 1776197432384893052 + "duration": 27540083, + "start": 1777046341513037794 }, { "name": "server", @@ -36,8 +36,8 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9f3800000000", - "_dd.parent_id": "cd075330734c078b", + "_dd.p.tid": "69eb934500000000", + "_dd.parent_id": "3d29b7eff613e4ae", "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "http.flavor": "1.1", "http.host": "0.0.0.0:8011", @@ -51,20 +51,20 @@ "language": "python", "net.host.name": "0.0.0.0:8011", "net.peer.ip": "127.0.0.1", - "runtime-id": "971c971b1c2e4fd5a1fe97b0438a289f", + "runtime-id": "905df839e9094a07a572665e9f2f9c63", "span.kind": "server", - "tracestate": "dd=p:cd075330734c078b;s:1;t.dm:-0" + "tracestate": "dd=p:3d29b7eff613e4ae;s:1;t.dm:-0" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "net.host.port": 8011.0, - "net.peer.port": 58840.0, - "process_id": 86099.0 + "net.peer.port": 55952.0, + "process_id": 20886.0 }, - "duration": 706125, - "start": 1776197432386783552 + "duration": 596833, + "start": 1777046341514484711 }, { "name": "internal", @@ -75,6 +75,6 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 33375, - "start": 1776197432387362593 + "duration": 23167, + "start": 1777046341514982794 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json index 7d7995f1fb9..cebb0f3679b 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-4", - "_dd.p.tid": "69de7ac800000000", + "_dd.p.tid": "69eb932a00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 43019.0 + "process_id": 20204.0 }, - "duration": 524125, - "start": 1776188104747785046 + "duration": 520791, + "start": 1777046314856539046 }, { "name": "internal", @@ -37,8 +37,8 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 65667, - "start": 1776188104747885962 + "duration": 59667, + "start": 1777046314856642379 }, { "name": "my-operation", @@ -53,8 +53,8 @@ "_dd.svc_src": "tests.opentelemetry", "operation.name": "my-operation" }, - "duration": 56708, - "start": 1776188104748002171 + "duration": 60000, + "start": 1777046314856755504 }, { "name": "internal", @@ -72,8 +72,8 @@ "metrics": { "_dd.top_level": 1.0 }, - "duration": 51083, - "start": 1776188104748096254 + "duration": 67708, + "start": 1777046314856852504 }, { "name": "internal", @@ -87,6 +87,6 @@ "meta": { "_dd.svc_src": "tests.opentelemetry" }, - "duration": 58584, - "start": 1776188104748193087 + "duration": 68750, + "start": 1777046314856963296 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json index 29f62b26c1e..65c11114fad 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json @@ -10,18 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ac800000000", + "_dd.p.tid": "69eb932a00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 43019.0 + "process_id": 20204.0 }, - "duration": 88708, - "start": 1776188104830161129 + "duration": 70792, + "start": 1777046314847508379 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json index f402e4dbc11..d4810ccf5b2 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ac800000000", + "_dd.p.tid": "69eb932a00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 43019.0 + "process_id": 20204.0 }, - "duration": 2455208, - "start": 1776188104755826546 + "duration": 2252083, + "start": 1777046314809674129 }, { "name": "server", diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json index e456973dd65..495ef77faf7 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json @@ -10,18 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ac800000000", + "_dd.p.tid": "69eb932a00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 43019.0 + "process_id": 20204.0 }, - "duration": 62584, - "start": 1776188104823104587 + "duration": 56458, + "start": 1777046314820984921 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json index d6035fa76e5..2eb377df0a7 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json @@ -10,7 +10,7 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ac800000000", + "_dd.p.tid": "69eb932a00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "error.message": "Sorry Otel Span, I failed you", @@ -18,16 +18,16 @@ "error.type": "builtins.Exception", "events": "[{\"name\": \"exception\",\"time_unix_nano\": 1716560261227739000,\"attributes\": {\"exception.escaped\": \"False\",\"exception.message\": \"Invalid Operation 1\",\"exception.type\": \"builtins.ValueError\"}},{\"name\": \"exception\",\"time_unix_nano\": 1716560261227739000,\"attributes\": {\"exception.escaped\": \"True\",\"exception.message\": \"Sorry Otel Span, I failed you\",\"exception.type\": \"builtins.Exception\"}}]", "language": "python", - "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 43019.0 + "process_id": 20204.0 }, - "duration": 2104333, - "start": 1776188104770111879 + "duration": 2433542, + "start": 1777046314777048337 }], [ { @@ -41,7 +41,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ac800000000", + "_dd.p.tid": "69eb932a00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "error.message": "MoonEar Fire!!!", @@ -49,14 +49,14 @@ "error.type": "RandoException", "events": "[{\"name\": \"exception\",\"time_unix_nano\": 1716560281337739000,\"attributes\": {\"exception.escaped\": \"False\",\"exception.message\": \"Invalid Operation 2\",\"exception.stuff\": \"thing 2\",\"exception.type\": \"builtins.IndexError\"}},{\"name\": \"exception\",\"time_unix_nano\": 1716560271237812000,\"attributes\": {\"exception.details\": \"This is FAKE, I overwrote the real exception details\",\"exception.escaped\": \"False\",\"exception.message\": \"MoonEar Fire!!!\",\"exception.stacktrace\": \"Fake traceback\",\"exception.type\": \"RandoException\"}}]", "language": "python", - "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 43019.0 + "process_id": 20204.0 }, - "duration": 120209, - "start": 1776188104772417462 + "duration": 89333, + "start": 1777046314779749754 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json index ec1526a15d3..2f2ebd5e850 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de7ac900000000", + "_dd.p.tid": "69eb932a00000000", "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "e5e166a5bc7d419f8a5ff481d80669d4" + "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 43019.0 + "process_id": 20204.0 }, - "duration": 487750, - "start": 1776188105829259630 + "duration": 227416, + "start": 1777046314833012921 }, { "name": "client", From d025b3e7cdfe25c9838af767876117fd16f22642 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 10:20:15 -0700 Subject: [PATCH 093/114] regenerate azure_functions --- ...sume_one_distributed_tracing_enabled].json | 86 ++++++++++++++++--- 1 file changed, 76 insertions(+), 10 deletions(-) diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json index c237b43c35f..bff53fb9d6a 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json @@ -7,32 +7,98 @@ "span_id": 1, "parent_id": 0, "type": "serverless", - "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e9293d00000000", + "_dd.p.tid": "69eba56600000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", "component": "azure_functions", - "error.message": "Failed to initiate the connection due to exception: [Errno 61] Connection refused Error condition: amqp:socket-error.", - "error.stack": "Traceback (most recent call last):\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/azure_functions/shared.py\", line 72, in wrapper\n res = func(*args, **kwargs)\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/tests/contrib/azure_functions_servicebus/azure_function_app/function_app.py\", line 17, in queue_send_single_message\n with servicebus_client.get_queue_sender(queue_name=\"queue.1\") as queue_sender:\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31115_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurefunctions~1101_azureservicebus/lib/python3.11/site-packages/azure/servicebus/_servicebus_sender.py\", line 202, in __enter__\n self._open_with_retry()\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31115_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurefunctions~1101_azureservicebus/lib/python3.11/site-packages/azure/servicebus/_base_handler.py\", line 545, in _open_with_retry\n return self._do_retryable_operation(self._open)\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31115_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurefunctions~1101_azureservicebus/lib/python3.11/site-packages/azure/servicebus/_base_handler.py\", line 413, in _do_retryable_operation\n raise last_exception from None\nazure.servicebus.exceptions.ServiceBusConnectionError: Failed to initiate the connection due to exception: [Errno 61] Connection refused Error condition: amqp:socket-error.\n", - "error.type": "azure.servicebus.exceptions.ServiceBusConnectionError", "http.method": "POST", "http.route": "/api/queuesendmessagesingle", + "http.status_code": "200", "http.url": "http://0.0.0.0:7071/api/queuesendmessagesingle", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "cc6c74fdc64741dd9d58f4d9e225bb50", + "runtime-id": "17a5d8d62242429ca8c2619c2aa46da1", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, + "_dd.tracer_kr": 0.8888888888888888, "_sampling_priority_v1": 1.0, - "process_id": 12672.0 + "process_id": 99088.0 }, - "duration": 11239862000, - "start": 1776888125707609000 + "duration": 1011243000, + "start": 1777050982353061000 + }, + { + "name": "azure.servicebus.send", + "service": "azure_servicebus", + "resource": "queue.1", + "trace_id": 0, + "span_id": 2, + "parent_id": 1, + "type": "worker", + "meta": { + "_dd.base_service": "test-func", + "_dd.svc_src": "m", + "component": "azure_servicebus", + "messaging.destination.name": "queue.1", + "messaging.message_id": "5402356d-8ad7-42f6-a6b7-c39ad785670d", + "messaging.operation": "send", + "messaging.system": "servicebus", + "network.destination.name": "localhost", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0 + }, + "duration": 10383000, + "start": 1777050982846161000 + }], +[ + { + "name": "azure.functions.invoke", + "service": "test-func", + "resource": "ServiceBus servicebusqueue", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "serverless", + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69eba56600000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", + "aas.function.name": "servicebusqueue", + "aas.function.trigger": "ServiceBus", + "component": "azure_functions", + "language": "python", + "messaging.destination.name": "queue.1", + "messaging.message_id": "5402356d-8ad7-42f6-a6b7-c39ad785670d", + "messaging.operation": "receive", + "messaging.system": "servicebus", + "network.destination.name": "localhost", + "runtime-id": "17a5d8d62242429ca8c2619c2aa46da1", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 0.8, + "_sampling_priority_v1": 1.0, + "process_id": 99088.0 + }, + "span_links": [ + { + "trace_id": 0, + "trace_id_high": 7632375851014684672, + "span_id": 2, + "tracestate": "dd=s:1;t.dm:-0;t.tid:69eba56600000000", + "flags": 2147483649 + } + ], + "duration": 203000, + "start": 1777050982859382000 }]] From 8b5c73d5874a9d2ae0dc6da1169514c3d6a30c04 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 10:27:56 -0700 Subject: [PATCH 094/114] update a bunch of snapshots affected by the fix --- ...v2.test_pytest_will_include_lines_pct.json | 82 +++++------ ...v2.test_pytest_with_ddtrace_patch_all.json | 92 ++++++------ ...ont_include_lines_pct_if_report_empty.json | 82 +++++------ ...ont_include_lines_pct_if_report_empty.json | 138 +++++++++--------- ...t_pytest_xdist_will_include_lines_pct.json | 98 ++++++------- ...t_pytest_xdist_with_ddtrace_patch_all.json | 108 +++++++------- ...ont_include_lines_pct_if_report_empty.json | 98 ++++++------- ....test_schematization[service_schema0].json | 12 +- ....test_schematization[service_schema1].json | 12 +- ....test_schematization[service_schema2].json | 12 +- ....test_schematization[service_schema3].json | 12 +- ....test_schematization[service_schema4].json | 12 +- ....test_schematization[service_schema5].json | 12 +- ....test_snowflake.test_snowflake_commit.json | 12 +- ...ake.test_snowflake_executemany_insert.json | 12 +- ...est_snowflake.test_snowflake_fetchall.json | 12 +- ...test_snowflake_fetchall_multiple_rows.json | 12 +- ...est_snowflake.test_snowflake_fetchone.json | 12 +- ...est_snowflake.test_snowflake_rollback.json | 12 +- ...lake.test_snowflake_settings_override.json | 10 +- ...ontrib.valkey.test_valkey.test_basics.json | 12 +- ...ey.test_valkey.test_custom_cmd_length.json | 12 +- ...est_valkey.test_custom_cmd_length_env.json | 12 +- ...est_env_user_specified_valkey_service.json | 30 ++-- ....test_full_command_in_resource_config.json | 24 +-- ...key.test_full_command_in_resource_env.json | 24 +-- ....valkey.test_valkey.test_long_command.json | 12 +- ...valkey.test_valkey.test_meta_override.json | 12 +- ...y.test_valkey.test_pipeline_immediate.json | 24 +-- ...lkey.test_valkey.test_pipeline_traced.json | 12 +- ...y.test_valkey.test_service_precedence.json | 20 +-- ...ntrib.valkey.test_valkey.test_unicode.json | 12 +- ...st_valkey.test_user_specified_service.json | 12 +- ...est_valkey_asyncio.test_basic_request.json | 12 +- ....test_valkey_asyncio.test_client_name.json | 16 +- ..._valkey_asyncio.test_connection_error.json | 14 +- ...y_asyncio.test_decoding_non_utf8_args.json | 24 +-- ....test_decoding_non_utf8_pipeline_args.json | 12 +- ...test_valkey_asyncio.test_long_command.json | 12 +- ...ey_asyncio.test_override_service_name.json | 30 ++-- ...ey.test_valkey_asyncio.test_parenting.json | 22 +-- ...t_valkey_asyncio.test_pipeline_traced.json | 12 +- ...ne_traced_context_manager_transaction.json | 12 +- ...key_asyncio.test_two_traced_pipelines.json | 22 +-- ...t_valkey_asyncio.test_unicode_request.json | 12 +- ...tests.contrib.wsgi.test_wsgi.test_200.json | 22 +-- ...s.contrib.wsgi.test_wsgi.test_500_py3.json | 18 +-- ...i.test_base_exception_in_wsgi_app_py3.json | 18 +-- ...s.contrib.wsgi.test_wsgi.test_chunked.json | 22 +-- ..._wsgi.test_distributed_tracing_nested.json | 36 ++--- ....test_generator_exit_ignored_snapshot.json | 22 +-- ...t_wsgi.test_schematization[None-None].json | 22 +-- ...est_wsgi.test_schematization[None-v0].json | 22 +-- ...est_wsgi.test_schematization[None-v1].json | 22 +-- ..._wsgi.test_schematization[mysvc-None].json | 22 +-- ...st_wsgi.test_schematization[mysvc-v0].json | 22 +-- ...st_wsgi.test_schematization[mysvc-v1].json | 30 ++-- ...i.test_stop_iteration_in_wsgi_app_py3.json | 22 +-- ...i.test_wsgi.test_wsgi_base_middleware.json | 18 +-- ...st_wsgi.test_wsgi_base_middleware_500.json | 18 +-- 60 files changed, 803 insertions(+), 803 deletions(-) diff --git a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_will_include_lines_pct.json b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_will_include_lines_pct.json index e92c184613b..dba7f18e26a 100644 --- a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_will_include_lines_pct.json +++ b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_will_include_lines_pct.json @@ -11,23 +11,23 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74100000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "d5a043c770d24a5cab18a5dc9b9fdd02", + "runtime-id": "3231ddeaf8bc4ad5b6e1df30680da4f4", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.name": "test_add_two_number_list", @@ -35,21 +35,21 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "6348820756120511179", - "test_session_id": "8216966728202635764", - "test_suite_id": "9380280889635144900", + "test_module_id": "5163327351573988374", + "test_session_id": "4522759103793738186", + "test_suite_id": "7930543162934399576", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 77641.0, + "process_id": 38868.0, "test.source.end": 9.0, "test.source.start": 3.0 }, - "duration": 1939286, - "start": 1776177206470779050 + "duration": 2125900, + "start": 1777051457477985972 }], [ { @@ -64,36 +64,36 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74100000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "d5a043c770d24a5cab18a5dc9b9fdd02", + "runtime-id": "3231ddeaf8bc4ad5b6e1df30680da4f4", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "8216966728202635764", + "test_session_id": "4522759103793738186", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 77641.0 + "process_id": 38868.0 }, - "duration": 42304835, - "start": 1776177206432372925 + "duration": 39305486, + "start": 1777051457443414514 }, { "name": "pytest.test_module", @@ -107,28 +107,28 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74100000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "6348820756120511179", - "test_session_id": "8216966728202635764", + "test_module_id": "5163327351573988374", + "test_session_id": "4522759103793738186", "type": "test_module_end" }, "metrics": { @@ -136,8 +136,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 3268076, - "start": 1776177206470593300 + "duration": 3760208, + "start": 1777051457477815472 }, { "name": "pytest.test_suite", @@ -151,28 +151,28 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74100000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "6348820756120511179", - "test_session_id": "8216966728202635764", - "test_suite_id": "9380280889635144900", + "test_module_id": "5163327351573988374", + "test_session_id": "4522759103793738186", + "test_suite_id": "7930543162934399576", "type": "test_suite_end" }, "metrics": { @@ -180,6 +180,6 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 2874640, - "start": 1776177206470719216 + "duration": 3302260, + "start": 1777051457477911180 }]] diff --git a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_with_ddtrace_patch_all.json b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_with_ddtrace_patch_all.json index 34e7a65e438..75c1d1796dc 100644 --- a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_with_ddtrace_patch_all.json +++ b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_with_ddtrace_patch_all.json @@ -12,23 +12,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74300000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "cdbfeb271a1c46ca94f42e7245a8c843", + "runtime-id": "99000bdd987643e39fbd37797c29489e", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace --ddtrace-patch-all", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.name": "test_call_urllib", @@ -36,21 +36,21 @@ "test.status": "pass", "test.suite": "test_call_httpx.py", "test.type": "test", - "test_module_id": "15460983224260797337", - "test_session_id": "15967626867859054362", - "test_suite_id": "13040451051758751471", + "test_module_id": "9170051155358587908", + "test_session_id": "214990158631544760", + "test_suite_id": "1053802923581303781", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 77605.0, + "process_id": 38914.0, "test.source.end": 6.0, "test.source.start": 3.0 }, - "duration": 24029827, - "start": 1776177204545189757 + "duration": 24784863, + "start": 1777051459009552417 }, { "name": "http.request", @@ -65,7 +65,7 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503400000000", + "_dd.p.tid": "69eba74300000000", "_dd.svc_src": "httpx", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "httpx", @@ -74,13 +74,13 @@ "http.url": "http://localhost:9126/bad_path.cgi", "http.useragent": "python-httpx/0.27.2", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "out.host": "localhost", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "client" }, "metrics": { @@ -89,8 +89,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 2575958, - "start": 1776177204565735674 + "duration": 2611833, + "start": 1777051459030869917 }], [ { @@ -106,36 +106,36 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74200000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "cdbfeb271a1c46ca94f42e7245a8c843", + "runtime-id": "99000bdd987643e39fbd37797c29489e", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "15967626867859054362", + "test_session_id": "214990158631544760", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 77605.0 + "process_id": 38914.0 }, - "duration": 104631085, - "start": 1776177204466581715 + "duration": 97580624, + "start": 1777051458937743792 }, { "name": "pytest.test_module", @@ -150,28 +150,28 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74200000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "15460983224260797337", - "test_session_id": "15967626867859054362", + "test_module_id": "9170051155358587908", + "test_session_id": "214990158631544760", "type": "test_module_end" }, "metrics": { @@ -179,8 +179,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 25353175, - "start": 1776177204545067049 + "duration": 25296138, + "start": 1777051459009459958 }, { "name": "pytest.test_suite", @@ -195,28 +195,28 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74200000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace --ddtrace-patch-all", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_call_httpx.py", - "test_module_id": "15460983224260797337", - "test_session_id": "15967626867859054362", - "test_suite_id": "13040451051758751471", + "test_module_id": "9170051155358587908", + "test_session_id": "214990158631544760", + "test_suite_id": "1053802923581303781", "type": "test_suite_end" }, "metrics": { @@ -224,6 +224,6 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 24438033, - "start": 1776177204545151215 + "duration": 25149396, + "start": 1777051459009523500 }]] diff --git a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_wont_include_lines_pct_if_report_empty.json b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_wont_include_lines_pct_if_report_empty.json index da6900c673b..bb4fc310ec5 100644 --- a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_wont_include_lines_pct_if_report_empty.json +++ b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_snapshot_v2.test_pytest_wont_include_lines_pct_if_report_empty.json @@ -11,23 +11,23 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba73f00000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "25eb5568c203461f96d66b10a322c9cf", + "runtime-id": "554392526671451f9f766cd02e3007a4", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.name": "test_add_two_number_list", @@ -35,21 +35,21 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "5212724317568122153", - "test_session_id": "11913788584578306778", - "test_suite_id": "17709703644752225537", + "test_module_id": "10237453993970182810", + "test_session_id": "343347361466924766", + "test_suite_id": "17897485038848834837", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 77682.0, + "process_id": 38822.0, "test.source.end": 9.0, "test.source.start": 3.0 }, - "duration": 1332075, - "start": 1776177208459533717 + "duration": 2294296, + "start": 1777051455037318888 }], [ { @@ -64,36 +64,36 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba73f00000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "25eb5568c203461f96d66b10a322c9cf", + "runtime-id": "554392526671451f9f766cd02e3007a4", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "11913788584578306778", + "test_session_id": "343347361466924766", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 77682.0 + "process_id": 38822.0 }, - "duration": 41406955, - "start": 1776177208421149717 + "duration": 41755332, + "start": 1777051455000383804 }, { "name": "pytest.test_module", @@ -107,28 +107,28 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba73f00000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "5212724317568122153", - "test_session_id": "11913788584578306778", + "test_module_id": "10237453993970182810", + "test_session_id": "343347361466924766", "type": "test_module_end" }, "metrics": { @@ -136,8 +136,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 2451493, - "start": 1776177208459385051 + "duration": 3664905, + "start": 1777051455037138679 }, { "name": "pytest.test_suite", @@ -151,28 +151,28 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de503800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba73f00000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "5212724317568122153", - "test_session_id": "11913788584578306778", - "test_suite_id": "17709703644752225537", + "test_module_id": "10237453993970182810", + "test_session_id": "343347361466924766", + "test_suite_id": "17897485038848834837", "type": "test_suite_end" }, "metrics": { @@ -180,6 +180,6 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 2186695, - "start": 1776177208459486009 + "duration": 3374418, + "start": 1777051455037244846 }]] diff --git a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json index 27643a743ca..9cb9bf9ea48 100644 --- a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json +++ b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json @@ -11,42 +11,42 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de502500000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74500000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "95f79f5579224f019ecc129955602024", + "runtime-id": "997a8cd9211646ae91ac37d028d1aa1b", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "9633257534369872035", + "test_session_id": "607466718009315245", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76690.0 + "process_id": 38950.0 }, - "duration": 2667557413, - "start": 1776177189896165083 + "duration": 2111108163, + "start": 1777051461458093501 }], [ { "name": "pytest.test", "service": "pytest", - "resource": "test_mult_two_number_list", + "resource": "test_add_two_number_list", "trace_id": 1, "span_id": 1, "parent_id": 0, @@ -56,45 +56,45 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de502700000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74700000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "8065ed885640430986d4cbcf4ff38e9d", + "runtime-id": "6663fe972c3e418c90a5f909d72f41e3", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace -n 2", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", - "test.name": "test_mult_two_number_list", + "test.name": "test_add_two_number_list", "test.source.file": "test_tools.py", "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "16490632687500952906", - "test_session_id": "888256888118480765", - "test_suite_id": "6216374907633623639", + "test_module_id": "1777298446779686129", + "test_session_id": "10000003533385984797", + "test_suite_id": "17973141084341591970", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76713.0, - "test.source.end": 17.0, - "test.source.start": 11.0 + "process_id": 38970.0, + "test.source.end": 10.0, + "test.source.start": 4.0 }, - "duration": 1510559, - "start": 1776177191218776417 + "duration": 1432085, + "start": 1777051463049435627 }], [ { @@ -103,42 +103,42 @@ "resource": "pytest.test_session", "trace_id": 2, "span_id": 1, - "parent_id": 9633257534369872035, + "parent_id": 607466718009315245, "type": "test", "error": 0, "meta": { "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "ccc5df9f3fc54e78bce5b2c6a8f8761a", + "runtime-id": "f2d6b9dbe6d6436887ae986e6196a5d3", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "13047203632633842545", + "test_session_id": "11362778027336128964", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76705.0 + "process_id": 38978.0 }, - "duration": 402212041, - "start": 1776177190817178167 + "duration": 29316745, + "start": 1777051463024105335 }, { "name": "pytest.test_module", @@ -153,27 +153,27 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "11595045875935079919", - "test_session_id": "13047203632633842545", + "test_module_id": "11320751453947831619", + "test_session_id": "11362778027336128964", "type": "test_module_end" }, "metrics": { @@ -181,8 +181,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 3027241, - "start": 1776177191215743959 + "duration": 3057078, + "start": 1777051463049979210 }, { "name": "pytest.test_suite", @@ -197,27 +197,27 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "11595045875935079919", - "test_session_id": "13047203632633842545", - "test_suite_id": "5108097284704054213", + "test_module_id": "11320751453947831619", + "test_session_id": "11362778027336128964", + "test_suite_id": "17471407511913276707", "type": "test_suite_end" }, "metrics": { @@ -225,14 +225,14 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 2799708, - "start": 1776177191215824292 + "duration": 2858929, + "start": 1777051463050051919 }], [ { "name": "pytest.test", "service": "pytest", - "resource": "test_add_two_number_list", + "resource": "test_mult_two_number_list", "trace_id": 3, "span_id": 1, "parent_id": 0, @@ -242,43 +242,43 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de502700000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74700000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "ccc5df9f3fc54e78bce5b2c6a8f8761a", + "runtime-id": "f2d6b9dbe6d6436887ae986e6196a5d3", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace -n 2", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", - "test.name": "test_add_two_number_list", + "test.name": "test_mult_two_number_list", "test.source.file": "test_tools.py", "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "11595045875935079919", - "test_session_id": "13047203632633842545", - "test_suite_id": "5108097284704054213", + "test_module_id": "11320751453947831619", + "test_session_id": "11362778027336128964", + "test_suite_id": "17471407511913276707", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76705.0, - "test.source.end": 10.0, - "test.source.start": 4.0 + "process_id": 38978.0, + "test.source.end": 17.0, + "test.source.start": 11.0 }, - "duration": 1263325, - "start": 1776177191215881251 + "duration": 1364282, + "start": 1777051463050114502 }]] diff --git a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_will_include_lines_pct.json b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_will_include_lines_pct.json index cb020608e05..2a01af6bf94 100644 --- a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_will_include_lines_pct.json +++ b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_will_include_lines_pct.json @@ -11,36 +11,36 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de502e00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74c00000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "e92d1a1268af4c8b8975e396981563eb", + "runtime-id": "dabe1ff8f7fd49ca9575b66bd06a8bfb", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "12877291334805720320", + "test_session_id": "8111419880119579971", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76822.0 + "process_id": 39097.0 }, - "duration": 1612022244, - "start": 1776177198196637212 + "duration": 1610397652, + "start": 1777051468997934380 }], [ { @@ -56,23 +56,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de502e00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74e00000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_will_include_lines_pct0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "bdf5bdc5057b4dd9a866a31dfbfc4763", + "runtime-id": "24ae4d2e116249009b514e5161c99639", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace -n 1", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.name": "test_add_two_number_list", @@ -80,21 +80,21 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "4670862076379346493", - "test_session_id": "15250501008584437651", - "test_suite_id": "4205044467806995856", + "test_module_id": "4964512402328553145", + "test_session_id": "9836784783689914107", + "test_suite_id": "5891082681731888724", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76837.0, + "process_id": 39117.0, "test.source.end": 9.0, "test.source.start": 3.0 }, - "duration": 1510694, - "start": 1776177198868417754 + "duration": 1548542, + "start": 1777051470045937922 }], [ { @@ -103,42 +103,42 @@ "resource": "pytest.test_session", "trace_id": 2, "span_id": 1, - "parent_id": 12877291334805720320, + "parent_id": 8111419880119579971, "type": "test", "error": 0, "meta": { "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_will_include_lines_pct0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "bdf5bdc5057b4dd9a866a31dfbfc4763", + "runtime-id": "24ae4d2e116249009b514e5161c99639", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "15250501008584437651", + "test_session_id": "9836784783689914107", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76837.0 + "process_id": 39117.0 }, - "duration": 33440684, - "start": 1776177198838965588 + "duration": 31717899, + "start": 1777051470018487797 }, { "name": "pytest.test_module", @@ -153,27 +153,27 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_will_include_lines_pct0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "4670862076379346493", - "test_session_id": "15250501008584437651", + "test_module_id": "4964512402328553145", + "test_session_id": "9836784783689914107", "type": "test_module_end" }, "metrics": { @@ -181,8 +181,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 3261419, - "start": 1776177198868292629 + "duration": 3346723, + "start": 1777051470045818589 }, { "name": "pytest.test_suite", @@ -197,27 +197,27 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_will_include_lines_pct0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_will_include_lines_pct0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "4670862076379346493", - "test_session_id": "15250501008584437651", - "test_suite_id": "4205044467806995856", + "test_module_id": "4964512402328553145", + "test_session_id": "9836784783689914107", + "test_suite_id": "5891082681731888724", "type": "test_suite_end" }, "metrics": { @@ -225,6 +225,6 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 3073166, - "start": 1776177198868368754 + "duration": 3137257, + "start": 1777051470045887255 }]] diff --git a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_with_ddtrace_patch_all.json b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_with_ddtrace_patch_all.json index 1e0028374a8..8c673d8d250 100644 --- a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_with_ddtrace_patch_all.json +++ b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_with_ddtrace_patch_all.json @@ -12,36 +12,36 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de502a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74800000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "032c7ba76147432eb1e746c3a68c57b7", + "runtime-id": "4f7234901d984f1aa4343be06d3deb75", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "9980389457937571483", + "test_session_id": "4746066159978105581", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76769.0 + "process_id": 39044.0 }, - "duration": 1832239933, - "start": 1776177194440020419 + "duration": 1626631683, + "start": 1777051464982174461 }], [ { @@ -57,23 +57,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de502b00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba74900000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "7eca189a6ad646ec82ce73b08a0f668c", + "runtime-id": "b5c05d26f0e14e36b1f856615447493f", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.name": "test_call_urllib", @@ -81,21 +81,21 @@ "test.status": "pass", "test.suite": "test_call_httpx.py", "test.type": "test", - "test_module_id": "8878687373245346010", - "test_session_id": "2839752035352363606", - "test_suite_id": "4762121404900660697", + "test_module_id": "16163939595113054850", + "test_session_id": "12363022178063011460", + "test_suite_id": "16173149324289122251", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76779.0, + "process_id": 39054.0, "test.source.end": 6.0, "test.source.start": 3.0 }, - "duration": 27106696, - "start": 1776177195067783544 + "duration": 24529844, + "start": 1777051465585019212 }, { "name": "http.request", @@ -110,7 +110,7 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de502b00000000", + "_dd.p.tid": "69eba74900000000", "_dd.svc_src": "httpx", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "httpx", @@ -119,13 +119,13 @@ "http.url": "http://localhost:9126/bad_path.cgi", "http.useragent": "python-httpx/0.27.2", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "out.host": "localhost", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "client" }, "metrics": { @@ -134,8 +134,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 2724834, - "start": 1776177195091043294 + "duration": 2763958, + "start": 1777051465605873212 }], [ { @@ -144,42 +144,42 @@ "resource": "pytest.test_session", "trace_id": 2, "span_id": 1, - "parent_id": 9980389457937571483, + "parent_id": 4746066159978105581, "type": "test", "error": 0, "meta": { "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "7eca189a6ad646ec82ce73b08a0f668c", + "runtime-id": "b5c05d26f0e14e36b1f856615447493f", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "2839752035352363606", + "test_session_id": "12363022178063011460", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76779.0 + "process_id": 39054.0 }, - "duration": 121421280, - "start": 1776177194976642336 + "duration": 121379345, + "start": 1777051465489997295 }, { "name": "pytest.test_module", @@ -194,27 +194,27 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "8878687373245346010", - "test_session_id": "2839752035352363606", + "test_module_id": "16163939595113054850", + "test_session_id": "12363022178063011460", "type": "test_module_end" }, "metrics": { @@ -222,8 +222,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 29480531, - "start": 1776177195067660461 + "duration": 25575048, + "start": 1777051465584908920 }, { "name": "pytest.test_suite", @@ -238,27 +238,27 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_with_ddtrace_patch_all0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_with_ddtrace_patch_all0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace --ddtrace-patch-all -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_call_httpx.py", - "test_module_id": "8878687373245346010", - "test_session_id": "2839752035352363606", - "test_suite_id": "4762121404900660697", + "test_module_id": "16163939595113054850", + "test_session_id": "12363022178063011460", + "test_suite_id": "16173149324289122251", "type": "test_suite_end" }, "metrics": { @@ -266,6 +266,6 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 28301118, - "start": 1776177195067737794 + "duration": 25403429, + "start": 1777051465584984795 }]] diff --git a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_wont_include_lines_pct_if_report_empty.json b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_wont_include_lines_pct_if_report_empty.json index 453953a3d65..9ebe9e844bd 100644 --- a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_wont_include_lines_pct_if_report_empty.json +++ b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_wont_include_lines_pct_if_report_empty.json @@ -11,36 +11,36 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de501e00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba75100000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "58b33698703f4e0c9bebcd36a0c4fa1c", + "runtime-id": "06cc47c08dbe46e2b063d32c996d7394", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "12673065538683099462", + "test_session_id": "2883737854504359896", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76630.0 + "process_id": 39167.0 }, - "duration": 1780151828, - "start": 1776177182295846636 + "duration": 1886076973, + "start": 1777051473188505299 }], [ { @@ -56,23 +56,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69de501e00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba75200000000", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "9ab90e085da24ece9cc69539f0d7b791", + "runtime-id": "1a5e242a1cfe4ef1a42545015f944534", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace -n 1", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.name": "test_add_two_number_list", @@ -80,21 +80,21 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "16020769290596724973", - "test_session_id": "2863463567884157914", - "test_suite_id": "11762503872929731162", + "test_module_id": "12227426376592338278", + "test_session_id": "14573893059984115927", + "test_suite_id": "2554332989461419801", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76645.0, + "process_id": 39187.0, "test.source.end": 9.0, "test.source.start": 3.0 }, - "duration": 1031688, - "start": 1776177182933478136 + "duration": 1197014, + "start": 1777051474511945258 }], [ { @@ -103,42 +103,42 @@ "resource": "pytest.test_session", "trace_id": 2, "span_id": 1, - "parent_id": 12673065538683099462, + "parent_id": 2883737854504359896, "type": "test", "error": 0, "meta": { "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "9ab90e085da24ece9cc69539f0d7b791", + "runtime-id": "1a5e242a1cfe4ef1a42545015f944534", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "2863463567884157914", + "test_session_id": "14573893059984115927", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 76645.0 + "process_id": 39187.0 }, - "duration": 31525170, - "start": 1776177182905639886 + "duration": 26772303, + "start": 1777051474488273841 }, { "name": "pytest.test_module", @@ -153,27 +153,27 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "16020769290596724973", - "test_session_id": "2863463567884157914", + "test_module_id": "12227426376592338278", + "test_session_id": "14573893059984115927", "type": "test_module_end" }, "metrics": { @@ -181,8 +181,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 2807426, - "start": 1776177182933365886 + "duration": 2620903, + "start": 1777051474511844633 }, { "name": "pytest.test_suite", @@ -197,27 +197,27 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc3", + "library_version": "4.8.0rc4", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.9.25", + "runtime.version": "3.12.12", "span.kind": "test", "test.command": "pytest --ddtrace -n 1", "test.framework": "pytest", - "test.framework_version": "6.2.5", + "test.framework_version": "7.4.4", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "16020769290596724973", - "test_session_id": "2863463567884157914", - "test_suite_id": "11762503872929731162", + "test_module_id": "12227426376592338278", + "test_session_id": "14573893059984115927", + "test_suite_id": "2554332989461419801", "type": "test_suite_end" }, "metrics": { @@ -225,6 +225,6 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 2611224, - "start": 1776177182933436136 + "duration": 2340404, + "start": 1777051474511904716 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema0].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema0].json index 2cfefb9a4c3..98c7acf4238 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema0].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema0].json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa96800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba78e00000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "8c8dfebbe0904597a0fcf52be9fbcb6a", + "runtime-id": "98853afc2abd4257a110a49d9fa86113", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -35,8 +35,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 443.0, - "process_id": 98240.0 + "process_id": 40667.0 }, - "duration": 610084, - "start": 1776265576252002505 + "duration": 554833, + "start": 1777051534692728966 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema1].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema1].json index e9daf676df4..e25ea775649 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema1].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema1].json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa96400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba79300000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "d1ed4aa6c6c44b289a39072dcc4d6f6e", + "runtime-id": "9f6dca1d975b42c8b104f751baaad36d", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -35,8 +35,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 443.0, - "process_id": 98219.0 + "process_id": 40703.0 }, - "duration": 557500, - "start": 1776265572685662379 + "duration": 544500, + "start": 1777051539328857135 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema2].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema2].json index 4ee66fc859c..4aa6abcfbe0 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema2].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema2].json @@ -10,9 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa95c00000000", + "_dd.p.tid": "69eba78c00000000", "_dd.peer.service.source": "db.name", - "_dd.svc_src": "m", + "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "snowflake", "db.application": "PythonConnector", @@ -24,7 +24,7 @@ "language": "python", "out.host": "mock-account.snowflakecomputing.com", "peer.service": "mock-db-name", - "runtime-id": "f201d290bd214332bb24417d85bd857a", + "runtime-id": "13d1ca5f26054c248a5b8077761a7b23", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -36,8 +36,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 443.0, - "process_id": 98162.0 + "process_id": 40652.0 }, - "duration": 667583, - "start": 1776265564494128000 + "duration": 572667, + "start": 1777051532399453881 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema3].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema3].json index 0822e1005f4..5181efe3ebd 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema3].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema3].json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa95e00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba78a00000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "5831e0a922b6482287141dcc418874ad", + "runtime-id": "c0f2d90b550f4ee3a0573a808d53b0ad", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -35,8 +35,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 443.0, - "process_id": 98174.0 + "process_id": 40637.0 }, - "duration": 576625, - "start": 1776265566179919376 + "duration": 547166, + "start": 1777051530103880964 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema4].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema4].json index 79da7ba77e9..47c245748c8 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema4].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema4].json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa96200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba79100000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "3310167c055c439c8492c5e821f71a75", + "runtime-id": "4432a193d34649a2b82d54ab59f55479", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -35,8 +35,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 443.0, - "process_id": 98204.0 + "process_id": 40691.0 }, - "duration": 544875, - "start": 1776265570565627878 + "duration": 542584, + "start": 1777051537766921342 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema5].json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema5].json index 555bbb2be0a..a6f539bab9a 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema5].json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_schematization[service_schema5].json @@ -10,9 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa95f00000000", + "_dd.p.tid": "69eba79000000000", "_dd.peer.service.source": "db.name", - "_dd.svc_src": "m", + "_dd.svc_src": "mysvc", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "snowflake", "db.application": "PythonConnector", @@ -24,7 +24,7 @@ "language": "python", "out.host": "mock-account.snowflakecomputing.com", "peer.service": "mock-db-name", - "runtime-id": "fbf390c0672747809bb35ca020cc509b", + "runtime-id": "acd317a651ee4460afe1ecb7d50a8bac", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -36,8 +36,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 443.0, - "process_id": 98186.0 + "process_id": 40679.0 }, - "duration": 563208, - "start": 1776265567844002418 + "duration": 531125, + "start": 1777051536170275675 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_commit.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_commit.json index e05a031ee09..e71169cd0de 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_commit.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_commit.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa96300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba79300000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", + "runtime-id": "33a25f924f6b455ea244373d1a714fef", "server.address": "mock-account.snowflakecomputing.com", "span.kind": "client" }, @@ -32,8 +32,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 443.0, - "process_id": 98149.0 + "process_id": 40624.0 }, - "duration": 885417, - "start": 1776265571218017461 + "duration": 960958, + "start": 1777051539987069510 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_executemany_insert.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_executemany_insert.json index 19fe938dce5..cd238269d60 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_executemany_insert.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_executemany_insert.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa95a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba79500000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", + "runtime-id": "33a25f924f6b455ea244373d1a714fef", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client", @@ -36,8 +36,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 443.0, - "process_id": 98149.0 + "process_id": 40624.0 }, - "duration": 1288417, - "start": 1776265562175630346 + "duration": 1087709, + "start": 1777051541351868302 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall.json index 560f5016a11..d4012b38d4e 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa96600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba78300000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", + "runtime-id": "33a25f924f6b455ea244373d1a714fef", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -35,8 +35,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 443.0, - "process_id": 98149.0 + "process_id": 40624.0 }, - "duration": 1035833, - "start": 1776265574090715921 + "duration": 1067084, + "start": 1777051523646214127 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall_multiple_rows.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall_multiple_rows.json index beb942de3b9..c73cb87c023 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall_multiple_rows.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchall_multiple_rows.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa96500000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba78300000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", + "runtime-id": "33a25f924f6b455ea244373d1a714fef", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -35,8 +35,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 2.0, "network.destination.port": 443.0, - "process_id": 98149.0 + "process_id": 40624.0 }, - "duration": 914334, - "start": 1776265573362696837 + "duration": 1480625, + "start": 1777051523018234460 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchone.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchone.json index 3c67b2fb68d..50ebf00fb71 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchone.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_fetchone.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa96600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba78a00000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", + "runtime-id": "33a25f924f6b455ea244373d1a714fef", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -35,8 +35,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 443.0, - "process_id": 98149.0 + "process_id": 40624.0 }, - "duration": 885042, - "start": 1776265574612243713 + "duration": 1579041, + "start": 1777051530813762506 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_rollback.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_rollback.json index 21a75fc0562..18cdc3bce89 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_rollback.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_rollback.json @@ -11,8 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa96900000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba79400000000", + "_dd.svc_src": "snowflake", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", "db.application": "PythonConnector", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", + "runtime-id": "33a25f924f6b455ea244373d1a714fef", "server.address": "mock-account.snowflakecomputing.com", "span.kind": "client" }, @@ -32,8 +32,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 443.0, - "process_id": 98149.0 + "process_id": 40624.0 }, - "duration": 1028375, - "start": 1776265577005953506 + "duration": 995417, + "start": 1777051540563663177 }]] diff --git a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_settings_override.json b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_settings_override.json index 8cff1d849db..f4aec8058ba 100644 --- a/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_settings_override.json +++ b/tests/snapshots/tests.contrib.snowflake.test_snowflake.test_snowflake_settings_override.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "tests.contrib.snowflake", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfa95a00000000", + "_dd.p.tid": "69eba78d00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.snowflake", "component": "snowflake", @@ -23,7 +23,7 @@ "db.warehouse": "mock-warehouse-name", "language": "python", "out.host": "mock-account.snowflakecomputing.com", - "runtime-id": "e4ae4bcd07844a3fb0c654591b8ad34b", + "runtime-id": "33a25f924f6b455ea244373d1a714fef", "server.address": "mock-account.snowflakecomputing.com", "sfqid": "mocksfqid-29244a72-90a0-4309-9168-9dcf67721f6d", "span.kind": "client" @@ -35,8 +35,8 @@ "_sampling_priority_v1": 1.0, "db.row_count": 1.0, "network.destination.port": 443.0, - "process_id": 98149.0 + "process_id": 40624.0 }, - "duration": 994375, - "start": 1776265562777022680 + "duration": 940417, + "start": 1777051533062205048 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json index 718644ecee8..79eb0bf3f71 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_basics.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d900000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 430417, - "start": 1776450191888018261 + "duration": 571333, + "start": 1777051609774384459 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json index 43497a0ff6b..6ab70273994 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8e00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7db00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET here..." @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 660209, - "start": 1776450190932324760 + "duration": 550042, + "start": 1777051611513117043 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json index 6901dc358d6..18cc263a102 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_custom_cmd_length_env.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7db00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "cf889171d1ad47f1b95e6209bfddd31c", + "runtime-id": "5a7646d379c54bc4a705ce054905f7b2", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET here-is..." @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38370.0, + "process_id": 41762.0, "valkey.args_length": 2.0 }, - "duration": 541542, - "start": 1776450191759895844 + "duration": 441084, + "start": 1777051611034967709 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json index ff0f22d972a..4354730b007 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_env_user_specified_valkey_service.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", + "_dd.p.tid": "69eba7db00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "7bb2caa842e5400a97044976f412864d", + "runtime-id": "ce84ca95db6e423cbfe325cd0ed6a497", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -31,11 +31,11 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38358.0, + "process_id": 41773.0, "valkey.args_length": 2.0 }, - "duration": 662709, - "start": 1776450191337281052 + "duration": 534833, + "start": 1777051611456741918 }], [ { @@ -50,14 +50,14 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", + "_dd.p.tid": "69eba7db00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "7bb2caa842e5400a97044976f412864d", + "runtime-id": "ce84ca95db6e423cbfe325cd0ed6a497", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -70,11 +70,11 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38358.0, + "process_id": 41773.0, "valkey.args_length": 2.0 }, - "duration": 155625, - "start": 1776450191338447427 + "duration": 137334, + "start": 1777051611457758376 }], [ { @@ -89,14 +89,14 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", + "_dd.p.tid": "69eba7db00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "7bb2caa842e5400a97044976f412864d", + "runtime-id": "ce84ca95db6e423cbfe325cd0ed6a497", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -109,9 +109,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38358.0, + "process_id": 41773.0, "valkey.args_length": 2.0 }, - "duration": 116125, - "start": 1776450191338756552 + "duration": 117250, + "start": 1777051611458043085 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json index 88a62a22d53..1c484fcbfa4 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_config.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7db00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET put_key_in_resource" @@ -31,11 +31,11 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 461958, - "start": 1776450191833469053 + "duration": 445917, + "start": 1777051611608769668 }], [ { @@ -50,14 +50,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7db00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2" @@ -69,9 +69,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.pipeline_length": 2.0 }, - "duration": 185375, - "start": 1776450191834302261 + "duration": 295625, + "start": 1777051611609587960 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json index 0323c571cb1..97c6a74ae25 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_full_command_in_resource_env.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a9000000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d900000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "7a8a6747e9594f65be8a43150a05316e", + "runtime-id": "b6b50e62f6054dc2810307342dcb07e1", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET put_key_in_resource" @@ -31,11 +31,11 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38421.0, + "process_id": 41707.0, "valkey.args_length": 2.0 }, - "duration": 481667, - "start": 1776450192282397386 + "duration": 631875, + "start": 1777051609710874959 }], [ { @@ -50,14 +50,14 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a9000000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d900000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:python_-m_unittest", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "7a8a6747e9594f65be8a43150a05316e", + "runtime-id": "b6b50e62f6054dc2810307342dcb07e1", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "SET pipeline-cmd1 1\nSET pipeline-cmd2 2" @@ -69,9 +69,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38421.0, + "process_id": 41707.0, "valkey.pipeline_length": 2.0 }, - "duration": 149083, - "start": 1776450192283232511 + "duration": 165417, + "start": 1777051609711856917 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json index 3eb6405a046..3835973e1d7 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_long_command.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7db00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "MGET 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 36..." @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 1001.0 }, - "duration": 3525917, - "start": 1776450191861141636 + "duration": 3428375, + "start": 1777051611634293918 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json index e9e81ce1d10..bccc70077a1 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_meta_override.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7db00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 809833, - "start": 1776450191820581928 + "duration": 530209, + "start": 1777051611595760376 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json index 2679a5ba8cd..3d2447b14e5 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_immediate.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8e00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7da00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "SET a 1" @@ -30,11 +30,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 3.0 }, - "duration": 420875, - "start": 1776450190493028260 + "duration": 456750, + "start": 1777051610203443459 }], [ { @@ -49,14 +49,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8e00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7da00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "SET a 1" @@ -68,9 +68,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.pipeline_length": 1.0 }, - "duration": 172167, - "start": 1776450190493713427 + "duration": 159417, + "start": 1777051610204249084 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json index 0c475a7ec04..b1a80bdadc9 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_pipeline_traced.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8f00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7da00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "SET blah 32\nRPUSH foo \u00e9\u00e9\nHGETALL xxx" @@ -30,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.pipeline_length": 3.0 }, - "duration": 610750, - "start": 1776450191847819553 + "duration": 608000, + "start": 1777051610190261834 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json index b26bd8df2ad..49e27740527 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_service_precedence.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "app-svc", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a9000000000", + "_dd.p.tid": "69eba7da00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fbaf906d51a34ad9a63b28929bb22066", + "runtime-id": "7e7dfd786fc8476fbc805e5a97a115f3", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -31,11 +31,11 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38439.0, + "process_id": 41750.0, "valkey.args_length": 2.0 }, - "duration": 786000, - "start": 1776450192744365928 + "duration": 595167, + "start": 1777051610591564334 }], [ { @@ -50,14 +50,14 @@ "meta": { "_dd.base_service": "app-svc", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a9000000000", + "_dd.p.tid": "69eba7da00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fbaf906d51a34ad9a63b28929bb22066", + "runtime-id": "7e7dfd786fc8476fbc805e5a97a115f3", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -70,9 +70,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38439.0, + "process_id": 41750.0, "valkey.args_length": 2.0 }, - "duration": 151417, - "start": 1776450192745724803 + "duration": 145959, + "start": 1777051610592638834 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json index be9836301ef..01f6676f37d 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_unicode.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a9000000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7db00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET \ud83d\ude10" @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 735083, - "start": 1776450192338940928 + "duration": 904917, + "start": 1777051611563542126 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json b/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json index b93ffb74694..84cf04a37ea 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey.test_user_specified_service.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8e00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7da00000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.basedir:project,entrypoint.name:python_-m_unittest,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "localhost", - "runtime-id": "0621ecca0d374ab59d865d1c86490b64", + "runtime-id": "aa7e9c99200145f388606dd4180a8bfa", "server.address": "localhost", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38340.0, + "process_id": 41725.0, "valkey.args_length": 2.0 }, - "duration": 541791, - "start": 1776450190873085094 + "duration": 532375, + "start": 1777051610135432501 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json index 31773acc5e7..25729346cb1 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_basic_request.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d200000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 407042, - "start": 1776450186746444633 + "duration": 568834, + "start": 1777051602628902761 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json index fe5ff5ee6fa..930231b7f76 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_client_name.json @@ -11,20 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", + "_dd.p.tid": "69eba7d200000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "language": "python", - "runtime-id": "fed65df52b054628a4831772b2acd6e9" + "runtime-id": "12d05392889b44369e89403e1f7fb28d" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38006.0 + "process_id": 41379.0 }, - "duration": 1227500, - "start": 1776450186728601300 + "duration": 1204375, + "start": 1777051602747567636 }, { "name": "valkey.command", @@ -37,7 +37,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.svc_src": "m", + "_dd.svc_src": "valkey", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -54,6 +54,6 @@ "out.valkey_db": 0.0, "valkey.args_length": 2.0 }, - "duration": 819250, - "start": 1776450186728922175 + "duration": 863333, + "start": 1777051602747838678 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json index 72ff277ba39..57bc6caa318 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_connection_error.json @@ -11,17 +11,17 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d200000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "error.message": "whatever", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 64, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/asyncio_patch.py\", line 16, in instrumented_async_execute_command\n return await _run_valkey_command_async(ctx=ctx, func=func, args=args, kwargs=kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/ddtrace/contrib/internal/valkey_utils.py\", line 72, in _run_valkey_command_async\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.12/site-packages/valkey/asyncio/client.py\", line 628, in execute_command\n conn = self.connection or await pool.get_connection(command_name, **options)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\nvalkey.exceptions.ConnectionError: whatever\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/_trace/utils_valkey.py\", line 61, in _instrument_valkey_cmd\n yield ctx\n File \"/home/bits/project/ddtrace/contrib/internal/valkey/asyncio_patch.py\", line 11, in instrumented_async_execute_command\n return await _run_valkey_command_async(ctx=ctx, func=func, args=args, kwargs=kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/ddtrace/contrib/internal/valkey_utils.py\", line 72, in _run_valkey_command_async\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_valkey_pytest-randomly_pytest-asyncio0237/lib/python3.12/site-packages/valkey/asyncio/client.py\", line 628, in execute_command\n conn = self.connection or await pool.get_connection(command_name, **options)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\nvalkey.exceptions.ConnectionError: whatever\n", "error.type": "valkey.exceptions.ConnectionError", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET foo" @@ -34,9 +34,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 2322125, - "start": 1776450186787271842 + "duration": 2674166, + "start": 1777051602647730720 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json index 84d45d75b0e..e5e6055cd64 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_args.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d200000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET \\x80foo \\x80abc" @@ -30,11 +30,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 3.0 }, - "duration": 1184791, - "start": 1776450186669103467 + "duration": 399917, + "start": 1777051602816921761 }], [ { @@ -49,14 +49,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d200000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET \\x80foo" @@ -69,9 +69,9 @@ "db.row_count": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 6131625, - "start": 1776450186678569800 + "duration": 270833, + "start": 1777051602817532678 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json index 8a7a2863b30..90ea7e01e92 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_decoding_non_utf8_pipeline_args.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d200000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET \\x80blah boo\nSET foo \\x80abc\nGET \\x80blah\nGET foo" @@ -30,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.pipeline_length": 4.0 }, - "duration": 463292, - "start": 1776450186574093800 + "duration": 511750, + "start": 1777051602677784303 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json index d78307a7506..8dbd3cf9122 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_long_command.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d200000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "MGET 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 36..." @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 1001.0 }, - "duration": 5704375, - "start": 1776450186591226300 + "duration": 6565333, + "start": 1777051602790739678 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json index 0d1d9ce491c..15f4e78b9f8 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_override_service_name.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", + "_dd.p.tid": "69eba7d200000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -31,11 +31,11 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 410250, - "start": 1776450186613686300 + "duration": 363083, + "start": 1777051602694600053 }], [ { @@ -50,14 +50,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", + "_dd.p.tid": "69eba7d200000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET cheese my-cheese" @@ -69,11 +69,11 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 3.0 }, - "duration": 300833, - "start": 1776450186614348342 + "duration": 468583, + "start": 1777051602695314345 }], [ { @@ -88,14 +88,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", + "_dd.p.tid": "69eba7d200000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET cheese" @@ -108,9 +108,9 @@ "db.row_count": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 192666, - "start": 1776450186614819342 + "duration": 277625, + "start": 1777051602696194803 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json index 5aa81e1d303..65ce55215a4 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_parenting.json @@ -11,20 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", + "_dd.p.tid": "69eba7d200000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "language": "python", - "runtime-id": "fed65df52b054628a4831772b2acd6e9" + "runtime-id": "12d05392889b44369e89403e1f7fb28d" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38006.0 + "process_id": 41379.0 }, - "duration": 1086292, - "start": 1776450186632404550 + "duration": 920750, + "start": 1777051602714230678 }, { "name": "valkey.command", @@ -37,7 +37,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.svc_src": "m", + "_dd.svc_src": "valkey", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -52,8 +52,8 @@ "out.valkey_db": 0.0, "valkey.args_length": 3.0 }, - "duration": 469417, - "start": 1776450186632554050 + "duration": 424958, + "start": 1777051602714373928 }, { "name": "valkey.command", @@ -66,7 +66,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.svc_src": "m", + "_dd.svc_src": "valkey", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -82,6 +82,6 @@ "out.valkey_db": 0.0, "valkey.args_length": 2.0 }, - "duration": 288833, - "start": 1776450186633167300 + "duration": 224417, + "start": 1777051602714894761 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json index 074e0e506f3..24c0ea76e4f 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d200000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET blah boo\nSET foo bar\nGET blah\nGET foo" @@ -30,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.pipeline_length": 4.0 }, - "duration": 520083, - "start": 1776450186540046425 + "duration": 519917, + "start": 1777051602855612761 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json index 3161b22875c..023c2576426 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_pipeline_traced_context_manager_transaction.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d200000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "SET blah boo\nSET foo bar\nGET blah\nGET foo" @@ -30,9 +30,9 @@ "_sampling_priority_v1": 1.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.pipeline_length": 4.0 }, - "duration": 470875, - "start": 1776450186765970092 + "duration": 388208, + "start": 1777051602838233928 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json index 98f6fb1cda1..0d599a0a708 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_two_traced_pipelines.json @@ -11,20 +11,20 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", + "_dd.p.tid": "69eba7d200000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "language": "python", - "runtime-id": "fed65df52b054628a4831772b2acd6e9" + "runtime-id": "12d05392889b44369e89403e1f7fb28d" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38006.0 + "process_id": 41379.0 }, - "duration": 763250, - "start": 1776450186705591300 + "duration": 875125, + "start": 1777051602731672595 }, { "name": "valkey.command", @@ -37,7 +37,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.svc_src": "m", + "_dd.svc_src": "valkey", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -52,8 +52,8 @@ "out.valkey_db": 0.0, "valkey.pipeline_length": 2.0 }, - "duration": 280875, - "start": 1776450186705801675 + "duration": 397208, + "start": 1777051602731794470 }, { "name": "valkey.command", @@ -66,7 +66,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.valkey", - "_dd.svc_src": "m", + "_dd.svc_src": "valkey", "component": "valkey", "db.system": "valkey", "out.host": "127.0.0.1", @@ -81,6 +81,6 @@ "out.valkey_db": 0.0, "valkey.pipeline_length": 2.0 }, - "duration": 181042, - "start": 1776450186706152175 + "duration": 217958, + "start": 1777051602732307595 }]] diff --git a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json index 02a6659231a..3bb22c013a8 100644 --- a/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json +++ b/tests/snapshots/tests.contrib.valkey.test_valkey_asyncio.test_unicode_request.json @@ -11,14 +11,14 @@ "meta": { "_dd.base_service": "tests.contrib.valkey", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27a8a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba7d200000000", + "_dd.svc_src": "valkey", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.valkey", "component": "valkey", "db.system": "valkey", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "fed65df52b054628a4831772b2acd6e9", + "runtime-id": "12d05392889b44369e89403e1f7fb28d", "server.address": "127.0.0.1", "span.kind": "client", "valkey.raw_command": "GET \ud83d\ude10" @@ -31,9 +31,9 @@ "db.row_count": 0.0, "network.destination.port": 6379.0, "out.valkey_db": 0.0, - "process_id": 38006.0, + "process_id": 41379.0, "valkey.args_length": 2.0 }, - "duration": 250125, - "start": 1776450186557205467 + "duration": 234959, + "start": 1777051602764930011 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_200.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_200.json index ff4724d8aa4..c1fda896910 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_200.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_200.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea300000000", + "_dd.p.tid": "69eba80900000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", + "runtime-id": "6c579551b9914a8990c622aa75091a00", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78847.0 + "process_id": 42467.0 }, - "duration": 482375, - "start": 1776197283636951136 + "duration": 395750, + "start": 1777051657193727009 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 161792, - "start": 1776197283637081802 + "duration": 159750, + "start": 1777051657193861092 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 62166, - "start": 1776197283637150886 + "duration": 70875, + "start": 1777051657193922967 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "list" }, - "duration": 111042, - "start": 1776197283637263552 + "duration": 73833, + "start": 1777051657194038759 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_500_py3.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_500_py3.json index 2ff86ef03e0..1b4917e3b19 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_500_py3.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_500_py3.json @@ -11,27 +11,27 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea500000000", + "_dd.p.tid": "69eba80900000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "error.message": "Oops!", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", "error.type": "builtins.Exception", "http.method": "GET", "http.url": "http://localhost:80/error", "language": "python", - "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", + "runtime-id": "6c579551b9914a8990c622aa75091a00", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78847.0 + "process_id": 42467.0 }, - "duration": 406417, - "start": 1776197285210242886 + "duration": 501375, + "start": 1777051657897388301 }, { "name": "wsgi.application", @@ -47,9 +47,9 @@ "_dd.svc_src": "wsgi", "component": "wsgi", "error.message": "Oops!", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", "error.type": "builtins.Exception" }, - "duration": 254666, - "start": 1776197285210377095 + "duration": 368250, + "start": 1777051657897504467 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_base_exception_in_wsgi_app_py3.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_base_exception_in_wsgi_app_py3.json index 3ccf95823ae..8b02bdcd760 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_base_exception_in_wsgi_app_py3.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_base_exception_in_wsgi_app_py3.json @@ -11,27 +11,27 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea000000000", + "_dd.p.tid": "69eba80600000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "error.message": "base exception raised in wsgi app", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 48, in application\n raise BaseException(\"base exception raised in wsgi app\")\nBaseException: base exception raised in wsgi app\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 48, in application\n raise BaseException(\"base exception raised in wsgi app\")\nBaseException: base exception raised in wsgi app\n", "error.type": "builtins.BaseException", "http.method": "GET", "http.url": "http://localhost:80/baseException", "language": "python", - "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", + "runtime-id": "6c579551b9914a8990c622aa75091a00", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78847.0 + "process_id": 42467.0 }, - "duration": 1255375, - "start": 1776197280639560967 + "duration": 1299375, + "start": 1777051654988650966 }, { "name": "wsgi.application", @@ -47,9 +47,9 @@ "_dd.svc_src": "wsgi", "component": "wsgi", "error.message": "base exception raised in wsgi app", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 48, in application\n raise BaseException(\"base exception raised in wsgi app\")\nBaseException: base exception raised in wsgi app\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 48, in application\n raise BaseException(\"base exception raised in wsgi app\")\nBaseException: base exception raised in wsgi app\n", "error.type": "builtins.BaseException" }, - "duration": 824750, - "start": 1776197280639963217 + "duration": 1085583, + "start": 1777051654988832383 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_chunked.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_chunked.json index 469d0685d24..fc98f9ff6dd 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_chunked.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_chunked.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea200000000", + "_dd.p.tid": "69eba80900000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/chunked", "language": "python", - "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", + "runtime-id": "6c579551b9914a8990c622aa75091a00", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78847.0 + "process_id": 42467.0 }, - "duration": 1786959, - "start": 1776197282840627885 + "duration": 1895708, + "start": 1777051657907699301 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 43250, - "start": 1776197282840806885 + "duration": 31834, + "start": 1777051657907818092 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 45834, - "start": 1776197282840983510 + "duration": 47459, + "start": 1777051657907961842 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "generator" }, - "duration": 1524792, - "start": 1776197282840879677 + "duration": 1692833, + "start": 1777051657907874134 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_distributed_tracing_nested.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_distributed_tracing_nested.json index 838e5982f85..77d98ce2b9c 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_distributed_tracing_nested.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_distributed_tracing_nested.json @@ -19,17 +19,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", + "runtime-id": "6c579551b9914a8990c622aa75091a00", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78847.0 + "process_id": 42467.0 }, - "duration": 1652000, - "start": 1776197281382070676 + "duration": 591000, + "start": 1777051657204853884 }, { "name": "wsgi.application", @@ -45,8 +45,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 937125, - "start": 1776197281382614551 + "duration": 378083, + "start": 1777051657204965634 }, { "name": "wsgi.request", @@ -67,8 +67,8 @@ "http.url": "http://localhost:80/", "span.kind": "server" }, - "duration": 925208, - "start": 1776197281382777593 + "duration": 368583, + "start": 1777051657205057634 }, { "name": "wsgi.application", @@ -84,8 +84,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 524333, - "start": 1776197281382852801 + "duration": 177917, + "start": 1777051657205114800 }, { "name": "wsgi.start_response", @@ -102,8 +102,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 278458, - "start": 1776197281383057218 + "duration": 110875, + "start": 1777051657205165967 }, { "name": "wsgi.response", @@ -120,8 +120,8 @@ "component": "wsgi", "result_class": "list" }, - "duration": 285667, - "start": 1776197281383407009 + "duration": 109875, + "start": 1777051657205307092 }, { "name": "wsgi.start_response", @@ -138,8 +138,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 186583, - "start": 1776197281383123551 + "duration": 41583, + "start": 1777051657205217134 }, { "name": "wsgi.response", @@ -156,6 +156,6 @@ "component": "wsgi", "result_class": "list_iterator" }, - "duration": 143792, - "start": 1776197281383569384 + "duration": 79250, + "start": 1777051657205356967 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_generator_exit_ignored_snapshot.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_generator_exit_ignored_snapshot.json index a9c63d440e6..a9d2a54d389 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_generator_exit_ignored_snapshot.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_generator_exit_ignored_snapshot.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea100000000", + "_dd.p.tid": "69eba80a00000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/generatorError", "language": "python", - "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", + "runtime-id": "6c579551b9914a8990c622aa75091a00", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78847.0 + "process_id": 42467.0 }, - "duration": 1992709, - "start": 1776197281397145634 + "duration": 2114667, + "start": 1777051658647592801 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 35459, - "start": 1776197281397276259 + "duration": 37500, + "start": 1777051658647740968 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 51416, - "start": 1776197281397461218 + "duration": 149417, + "start": 1777051658647885176 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "generator" }, - "duration": 1762875, - "start": 1776197281397339384 + "duration": 1877000, + "start": 1777051658647801759 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-None].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-None].json index eef302c59c4..cf4b8bc7607 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-None].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-None].json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea500000000", + "_dd.p.tid": "69eba80a00000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "ed18afc1812d46618977c7575286df0a", + "runtime-id": "11ca371393ef4871b92309b853c145a8", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78980.0 + "process_id": 42575.0 }, - "duration": 430541, - "start": 1776197285132694595 + "duration": 308625, + "start": 1777051658571569884 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 188667, - "start": 1776197285132862678 + "duration": 119792, + "start": 1777051658571683134 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 40916, - "start": 1776197285132986595 + "duration": 40208, + "start": 1777051658571741926 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "list" }, - "duration": 55917, - "start": 1776197285133062886 + "duration": 57875, + "start": 1777051658571814968 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v0].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v0].json index f0673f579fc..64beeb49ea1 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v0].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v0].json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea200000000", + "_dd.p.tid": "69eba80900000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "401ec12512b545f79d7e9c621d8bfa56", + "runtime-id": "be3ed8b178614e1f8172706340e3008d", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78884.0 + "process_id": 42558.0 }, - "duration": 462625, - "start": 1776197282772825968 + "duration": 291750, + "start": 1777051657831795592 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 228625, - "start": 1776197282772948343 + "duration": 119875, + "start": 1777051657831900051 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 38000, - "start": 1776197282773057718 + "duration": 36833, + "start": 1777051657831964009 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "list" }, - "duration": 78041, - "start": 1776197282773202802 + "duration": 51042, + "start": 1777051657832031134 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v1].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v1].json index 36229e4585a..5aa2b1cbf3f 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v1].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[None-v1].json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea100000000", + "_dd.p.tid": "69eba80700000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "5d97edbd8aff47e6a0930e9cbbdaab3b", + "runtime-id": "cc25fea95db24079babc6b3b27b0c1e0", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78856.0 + "process_id": 42482.0 }, - "duration": 347416, - "start": 1776197281316054218 + "duration": 338084, + "start": 1777051655615450966 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 155666, - "start": 1776197281316154468 + "duration": 118584, + "start": 1777051655615599966 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 35125, - "start": 1776197281316255801 + "duration": 38333, + "start": 1777051655615658508 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "list" }, - "duration": 73417, - "start": 1776197281316321384 + "duration": 53833, + "start": 1777051655615729883 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-None].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-None].json index 82169fea732..1d09db800fa 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-None].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-None].json @@ -10,7 +10,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea400000000", + "_dd.p.tid": "69eba80800000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", @@ -19,17 +19,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "3a2f96a6a384418ba8f44179ee3f0400", + "runtime-id": "9681806ad60241f59e8fae15e3bfc497", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78959.0 + "process_id": 42498.0 }, - "duration": 350625, - "start": 1776197284304366886 + "duration": 295792, + "start": 1777051656348636633 }, { "name": "wsgi.application", @@ -44,8 +44,8 @@ "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 158458, - "start": 1776197284304482261 + "duration": 118125, + "start": 1777051656348742675 }, { "name": "wsgi.start_response", @@ -61,8 +61,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 34708, - "start": 1776197284304583553 + "duration": 40708, + "start": 1777051656348800842 }, { "name": "wsgi.response", @@ -78,6 +78,6 @@ "component": "wsgi", "result_class": "list" }, - "duration": 55458, - "start": 1776197284304655386 + "duration": 54834, + "start": 1777051656348872633 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v0].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v0].json index d88e3e1ec65..7ea261f53b6 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v0].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v0].json @@ -10,7 +10,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea300000000", + "_dd.p.tid": "69eba80b00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", @@ -19,17 +19,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "1a8c8f45d6684b9497b0f920d665b414", + "runtime-id": "16cbe09a5b7a470fa382c0e9fe16744f", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78898.0 + "process_id": 42594.0 }, - "duration": 377709, - "start": 1776197283498871260 + "duration": 315417, + "start": 1777051659337020218 }, { "name": "wsgi.application", @@ -44,8 +44,8 @@ "_dd.svc_src": "m", "component": "wsgi" }, - "duration": 174125, - "start": 1776197283498975802 + "duration": 125917, + "start": 1777051659337129301 }, { "name": "wsgi.start_response", @@ -61,8 +61,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 39416, - "start": 1776197283499088344 + "duration": 43167, + "start": 1777051659337188968 }, { "name": "wsgi.response", @@ -78,6 +78,6 @@ "component": "wsgi", "result_class": "list" }, - "duration": 77042, - "start": 1776197283499165302 + "duration": 64375, + "start": 1777051659337266093 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v1].json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v1].json index 93f1063f405..392fbd03ab9 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v1].json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_schematization[mysvc-v1].json @@ -10,8 +10,8 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69eba80900000000", + "_dd.svc_src": "mysvc", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "wsgi", "http.method": "GET", @@ -19,17 +19,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/", "language": "python", - "runtime-id": "e4bc30d9f1f54f10926436434dfb475f", + "runtime-id": "c45707400f5949dcaa0f01de08c87bdd", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78873.0 + "process_id": 42520.0 }, - "duration": 351875, - "start": 1776197282058996468 + "duration": 315833, + "start": 1777051657094376009 }, { "name": "wsgi.application", @@ -41,11 +41,11 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "m", + "_dd.svc_src": "mysvc", "component": "wsgi" }, - "duration": 164875, - "start": 1776197282059109218 + "duration": 119125, + "start": 1777051657094498300 }, { "name": "wsgi.start_response", @@ -57,12 +57,12 @@ "type": "web", "error": 0, "meta": { - "_dd.svc_src": "m", + "_dd.svc_src": "mysvc", "component": "wsgi", "span.kind": "server" }, - "duration": 40083, - "start": 1776197282059204218 + "duration": 37500, + "start": 1777051657094556634 }, { "name": "wsgi.response", @@ -74,10 +74,10 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "m", + "_dd.svc_src": "mysvc", "component": "wsgi", "result_class": "list" }, - "duration": 56833, - "start": 1776197282059285343 + "duration": 55125, + "start": 1777051657094631800 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_stop_iteration_in_wsgi_app_py3.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_stop_iteration_in_wsgi_app_py3.json index 2b9c7990d65..049af06d12d 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_stop_iteration_in_wsgi_app_py3.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_stop_iteration_in_wsgi_app_py3.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea300000000", + "_dd.p.tid": "69eba80b00000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", @@ -20,17 +20,17 @@ "http.status_msg": "OK", "http.url": "http://localhost:80/stopIteration", "language": "python", - "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", + "runtime-id": "6c579551b9914a8990c622aa75091a00", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78847.0 + "process_id": 42467.0 }, - "duration": 336375, - "start": 1776197283579544969 + "duration": 326167, + "start": 1777051659419240760 }, { "name": "wsgi.application", @@ -46,8 +46,8 @@ "_dd.svc_src": "wsgi", "component": "wsgi" }, - "duration": 224375, - "start": 1776197283579681136 + "duration": 219083, + "start": 1777051659419362010 }, { "name": "wsgi.start_response", @@ -64,8 +64,8 @@ "component": "wsgi", "span.kind": "server" }, - "duration": 49000, - "start": 1776197283579750261 + "duration": 44375, + "start": 1777051659419425968 }, { "name": "wsgi.response", @@ -82,6 +82,6 @@ "component": "wsgi", "result_class": "tuple" }, - "duration": 36417, - "start": 1776197283579834344 + "duration": 36875, + "start": 1777051659419519093 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware.json index c99537c2d0e..ab59b8ddc69 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea300000000", + "_dd.p.tid": "69eba80600000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "http.status_code": "200", "language": "python", "request_tag": "req test tag set", - "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", + "runtime-id": "6c579551b9914a8990c622aa75091a00", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78847.0, + "process_id": 42467.0, "request_metric": 1.0 }, - "duration": 259583, - "start": 1776197283624845636 + "duration": 861333, + "start": 1777051654973159758 }, { "name": "test_wsgi.application", @@ -49,8 +49,8 @@ "metrics": { "app_metric": 2.0 }, - "duration": 82750, - "start": 1776197283624919469 + "duration": 278083, + "start": 1777051654973453633 }, { "name": "test_wsgi.response", @@ -70,6 +70,6 @@ "metrics": { "response_metric": 3.0 }, - "duration": 66458, - "start": 1776197283625027386 + "duration": 195208, + "start": 1777051654973807633 }]] diff --git a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware_500.json b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware_500.json index e0c765747ea..6603f3f5435 100644 --- a/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware_500.json +++ b/tests/snapshots/tests.contrib.wsgi.test_wsgi.test_wsgi_base_middleware_500.json @@ -11,27 +11,27 @@ "meta": { "_dd.base_service": "tests.contrib.wsgi", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9ea300000000", + "_dd.p.tid": "69eba80800000000", "_dd.svc_src": "wsgi", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.wsgi", "component": "wsgi", "error.message": "Oops!", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", "error.type": "builtins.Exception", "language": "python", "request_tag": "req test tag set", - "runtime-id": "1fb067689cc34dbfacb0169765b85ebe", + "runtime-id": "6c579551b9914a8990c622aa75091a00", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 78847.0, + "process_id": 42467.0, "request_metric": 1.0 }, - "duration": 314584, - "start": 1776197283647393177 + "duration": 439291, + "start": 1777051656422835592 }, { "name": "test_wsgi.application", @@ -47,9 +47,9 @@ "_dd.svc_src": "wsgi", "component": "wsgi", "error.message": "Oops!", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/wsgi/wsgi.py\", line 146, in __call__\n closing_iterable = self.app(environ, ctx.find_item(\"intercept_start_response\"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/wsgi/test_wsgi.py\", line 46, in application\n raise Exception(\"Oops!\")\nException: Oops!\n", "error.type": "builtins.Exception" }, - "duration": 211250, - "start": 1776197283647477802 + "duration": 355500, + "start": 1777051656422903258 }]] From 98e36c77570b62fdc4703d107385114f369ce634 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 11:10:45 -0700 Subject: [PATCH 095/114] update a bunch of snapshots affected by the fix --- ...t_selenium_chrome_pytest_rum_disabled.json | 8 +- ...st_selenium_chrome_pytest_rum_enabled.json | 8 +- ...unpatch_does_not_record_selenium_tags.json | 8 +- ...racing_disabled_batch_links_disabled].json | 4 +- ...tracing_disabled_batch_links_enabled].json | 12 +-- ...tracing_enabled_batch_links_disabled].json | 4 +- ..._tracing_enabled_batch_links_enabled].json | 12 +-- ...nc_list_distributed_tracing_disabled].json | 12 +-- ...ync_list_distributed_tracing_enabled].json | 12 +-- ...racing_disabled_batch_links_disabled].json | 4 +- ...tracing_disabled_batch_links_enabled].json | 12 +-- ...tracing_enabled_batch_links_disabled].json | 4 +- ..._tracing_enabled_batch_links_enabled].json | 12 +-- ..._tracing_enabled_batch_links_enabled].json | 12 +-- ...ync_list_distributed_tracing_enabled].json | 12 +-- ..._tracing_enabled_batch_links_enabled].json | 12 +-- ...red_list_distributed_tracing_enabled].json | 12 +-- ...ch_list_distributed_tracing_disabled].json | 12 +-- ...tch_list_distributed_tracing_enabled].json | 12 +-- ..._single_distributed_tracing_disabled].json | 8 +- ...c_single_distributed_tracing_enabled].json | 8 +- ...c_single_distributed_tracing_enabled].json | 8 +- ...d_single_distributed_tracing_enabled].json | 8 +- ..._single_distributed_tracing_disabled].json | 8 +- ...t_single_distributed_tracing_enabled].json | 8 +- ...venthubs_snapshot.test_producer_error.json | 2 +- ...me_many_distributed_tracing_disabled].json | 10 +- ...ume_many_distributed_tracing_enabled].json | 10 +- ...ume_one_distributed_tracing_disabled].json | 6 +- ...sume_one_distributed_tracing_enabled].json | 6 +- ...me_many_distributed_tracing_disabled].json | 10 +- ...ume_many_distributed_tracing_enabled].json | 10 +- ...ume_one_distributed_tracing_disabled].json | 6 +- ...sume_one_distributed_tracing_enabled].json | 6 +- ...me_many_distributed_tracing_disabled].json | 10 +- ...ume_many_distributed_tracing_enabled].json | 10 +- ...ume_one_distributed_tracing_disabled].json | 6 +- ...sume_one_distributed_tracing_enabled].json | 6 +- ...me_many_distributed_tracing_disabled].json | 10 +- ...ume_many_distributed_tracing_enabled].json | 10 +- ...ume_one_distributed_tracing_disabled].json | 6 +- ...sume_one_distributed_tracing_enabled].json | 2 +- ...me_many_distributed_tracing_disabled].json | 10 +- ...ume_many_distributed_tracing_enabled].json | 10 +- ...ume_one_distributed_tracing_disabled].json | 6 +- ...sume_one_distributed_tracing_enabled].json | 6 +- ...me_many_distributed_tracing_disabled].json | 10 +- ...ume_many_distributed_tracing_enabled].json | 10 +- ...ume_one_distributed_tracing_disabled].json | 6 +- ...sume_one_distributed_tracing_enabled].json | 6 +- ...nc_list_distributed_tracing_disabled].json | 4 +- ...ync_list_distributed_tracing_enabled].json | 4 +- ..._single_distributed_tracing_disabled].json | 8 +- ...c_single_distributed_tracing_enabled].json | 8 +- ...es_list_distributed_tracing_disabled].json | 4 +- ...ges_list_distributed_tracing_enabled].json | 4 +- ..._single_distributed_tracing_disabled].json | 8 +- ...s_single_distributed_tracing_enabled].json | 8 +- ...racing_disabled_batch_links_disabled].json | 4 +- ...tracing_disabled_batch_links_enabled].json | 12 +-- ...tracing_enabled_batch_links_disabled].json | 4 +- ..._tracing_enabled_batch_links_enabled].json | 12 +-- ...nc_list_distributed_tracing_disabled].json | 4 +- ...ync_list_distributed_tracing_enabled].json | 4 +- ..._single_distributed_tracing_disabled].json | 8 +- ...c_single_distributed_tracing_enabled].json | 8 +- ...racing_disabled_batch_links_disabled].json | 4 +- ...tracing_disabled_batch_links_enabled].json | 12 +-- ...tracing_enabled_batch_links_disabled].json | 4 +- ..._tracing_enabled_batch_links_enabled].json | 12 +-- ...es_list_distributed_tracing_disabled].json | 4 +- ...ges_list_distributed_tracing_enabled].json | 4 +- ..._single_distributed_tracing_disabled].json | 8 +- ...s_single_distributed_tracing_enabled].json | 8 +- ...st_rq.test_custom_job_id_in_span_tags.json | 16 ++-- ...ing_enabled_False_worker_service_None.json | 32 +++---- ..._worker_service_custom-worker-service.json | 32 +++---- ...cing_enabled_None_worker_service_None.json | 32 +++---- ..._worker_service_custom-worker-service.json | 90 ++++++++--------- ...rib.rq.test_rq.test_queue_failing_job.json | 22 ++--- ..._rq.test_queue_failing_job_pre_1_10_1.json | 24 ++--- ....test_schematization[service_schema0].json | 46 ++++----- ...atization[service_schema0]_pre_1_10_1.json | 44 ++++----- ....test_schematization[service_schema1].json | 46 ++++----- ...atization[service_schema1]_pre_1_10_1.json | 44 ++++----- ....test_schematization[service_schema2].json | 44 ++++----- ...atization[service_schema2]_pre_1_10_1.json | 42 ++++---- ....test_schematization[service_schema3].json | 44 ++++----- ...atization[service_schema3]_pre_1_10_1.json | 42 ++++---- ....test_schematization[service_schema4].json | 44 ++++----- ...atization[service_schema4]_pre_1_10_1.json | 42 ++++---- ....test_schematization[service_schema5].json | 44 ++++----- ...atization[service_schema5]_pre_1_10_1.json | 42 ++++---- ...ib.rq.test_rq.test_sync_queue_enqueue.json | 20 ++-- ...s.contrib.rq.test_rq.test_sync_worker.json | 32 +++---- ...st_rq.test_sync_worker_config_service.json | 32 +++---- ...est_rq.test_sync_worker_multiple_jobs.json | 96 +++++++++---------- ...ntrib.rq.test_rq.test_sync_worker_ttl.json | 32 +++---- ...trib.rq.test_rq.test_worker_class_job.json | 64 ++++++------- ...ib.rq.test_rq.test_worker_failing_job.json | 70 ++++++++++++-- ...start_as_current_span_decorator_async.json | 29 ++++++ 101 files changed, 906 insertions(+), 823 deletions(-) create mode 100644 tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json diff --git a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_disabled.json b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_disabled.json index 74f9db0e703..8c13fc8270a 100644 --- a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_disabled.json +++ b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_disabled.json @@ -13,7 +13,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -56,7 +56,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -100,7 +100,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -145,7 +145,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", diff --git a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_enabled.json b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_enabled.json index 285d3351a4b..bece484720e 100644 --- a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_enabled.json +++ b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_rum_enabled.json @@ -13,7 +13,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -56,7 +56,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -100,7 +100,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -145,7 +145,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f30a300000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", diff --git a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_unpatch_does_not_record_selenium_tags.json b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_unpatch_does_not_record_selenium_tags.json index c52b36704b6..e151504c4c5 100644 --- a/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_unpatch_does_not_record_selenium_tags.json +++ b/tests/snapshots/test_selenium_chrome.test_selenium_chrome_pytest_unpatch_does_not_record_selenium_tags.json @@ -13,7 +13,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f2f1000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -56,7 +56,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f2f1000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -100,7 +100,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f2f1000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", @@ -145,7 +145,7 @@ "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", "_dd.p.tid": "674f2f1000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "pytest", "component": "pytest", "language": "python", "library_version": "2.18.0.dev95+g5f76e34a0", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json index 011c3d6b18f..05b37a87265 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json index 53aab1d6e5c..23e3ab53044 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -81,7 +81,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -150,7 +150,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -185,7 +185,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json index be2ca778a5b..1a5299f5eaf 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dbe00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dbe00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json index 716b8086e0e..cac08a5523c 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dbb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dbb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -82,7 +82,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92dbb00000000", "_dd.span_links": "[{\"trace_id\": \"69e92dbb000000000bbf41ae2d47f016\", \"span_id\": \"7c8f7963f20516a4\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dbb00000000\", \"flags\": 1}, {\"trace_id\": \"69e92dbb000000009716c825f8359f40\", \"span_id\": \"16c462c9ee246a8d\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dbb00000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -117,7 +117,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dbb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -151,7 +151,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dbb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -187,7 +187,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92dbb00000000", "_dd.span_links": "[{\"trace_id\": \"69e92dbb00000000471692c17b5450a8\", \"span_id\": \"e873549055bc8383\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dbb00000000\", \"flags\": 1}, {\"trace_id\": \"69e92dbb00000000d5982bbbbc590627\", \"span_id\": \"51c6d347db0fece8\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dbb00000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json index da670a5d32c..1de5c7e814e 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92db700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -44,7 +44,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -66,7 +66,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "c96d4bbb-72c6-4657-97f1-9da9996c4979", @@ -92,7 +92,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92db800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -124,7 +124,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -146,7 +146,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "eccfb1d3-a878-402e-982a-585f35930062", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json index 15d0e4fdcd6..db523ea214f 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_async_list_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92db400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -45,7 +45,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92db400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -68,7 +68,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92db400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "f436e936-f6a2-4818-93a2-ad5be3183f41", @@ -94,7 +94,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92db500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -127,7 +127,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92db500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -150,7 +150,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92db500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "40cacc38-cf32-47c9-a13f-3b21efa234a3", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json index a30b151d4a9..0638bd47636 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92db100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92db100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json index ce1bfcb6af8..72b534b73c8 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dad00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dad00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -81,7 +81,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dad00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dad00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -150,7 +150,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dad00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -185,7 +185,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dad00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json index dba23f06119..d4e14fbd96e 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92da900000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92da900000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json index 86f31f9969f..ce27dac775f 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92da500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92da500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -82,7 +82,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92da500000000", "_dd.span_links": "[{\"trace_id\": \"69e92da500000000ee577c91fae10f2d\", \"span_id\": \"a0d5a181827cf683\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92da500000000\", \"flags\": 1}, {\"trace_id\": \"69e92da5000000000297f45d0cafbeef\", \"span_id\": \"1d1dbe5f578a8c1a\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92da500000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -117,7 +117,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92da500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -151,7 +151,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92da500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -187,7 +187,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92da500000000", "_dd.span_links": "[{\"trace_id\": \"69e92da500000000c5ed671f94c3f7e2\", \"span_id\": \"fe447ebc560dab3f\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92da500000000\", \"flags\": 1}, {\"trace_id\": \"69e92da50000000013ece2f08304c542\", \"span_id\": \"a9e14be76d07dc50\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92da500000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json index 8c0ccfab40b..7a8fe02bed4 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92ddc00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92ddc00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -82,7 +82,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92ddc00000000", "_dd.span_links": "[{\"trace_id\": \"69e92ddc00000000ca6e9d32a6b8771a\", \"span_id\": \"05f97ac7a6d16404\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92ddc00000000\", \"flags\": 1}, {\"trace_id\": \"69e92ddc00000000f6922e6912cf5f3a\", \"span_id\": \"c13e5efde64fcd62\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92ddc00000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -117,7 +117,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92ddc00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -151,7 +151,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92ddc00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -187,7 +187,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92ddc00000000", "_dd.span_links": "[{\"trace_id\": \"69e92ddc00000000ef49c96d0f01092f\", \"span_id\": \"dc0a2d948b4ac23f\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92ddc00000000\", \"flags\": 1}, {\"trace_id\": \"69e92ddc000000004624f43fc638c7e7\", \"span_id\": \"8f1809213bae5ecf\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92ddc00000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json index 9a4dfa43827..7d9a7a20269 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_async_list_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dd500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -45,7 +45,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92dd500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -68,7 +68,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92dd500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "b3b35d5d-f793-4531-a37e-0b181eb5ce02", @@ -94,7 +94,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dd600000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -127,7 +127,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92dd600000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -150,7 +150,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92dd600000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "ca645dff-ed32-4ea7-8ed4-9c49f9440db4", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json index 361ea546079..884d76714a6 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dcf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dcf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -82,7 +82,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92dcf00000000", "_dd.span_links": "[{\"trace_id\": \"69e92dcf00000000d2d48d1aabef9262\", \"span_id\": \"d5b9b16ddb453340\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dcf00000000\", \"flags\": 1}, {\"trace_id\": \"69e92dcf00000000847871ef21314f0d\", \"span_id\": \"4dfd363ef2992b19\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dcf00000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -117,7 +117,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dd000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -151,7 +151,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dd000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -187,7 +187,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92dd000000000", "_dd.span_links": "[{\"trace_id\": \"69e92dd0000000009a21e6128c88ed90\", \"span_id\": \"51eb191f9e780aa1\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dd000000000\", \"flags\": 1}, {\"trace_id\": \"69e92dd00000000055f882c938f6f10a\", \"span_id\": \"14147bc733b3f75c\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92dd000000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json index 57a81c7822b..bfa0147813c 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_buffered_list_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -45,7 +45,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92dc700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -68,7 +68,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92dc700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "eb692ceb-d11b-446a-9fda-92bc13db41b9", @@ -94,7 +94,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92dc800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -127,7 +127,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92dc800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -150,7 +150,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92dc800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "40f4cc72-50ca-4677-8fae-5042ad8ae94d", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json index 1bcf96d6d6d..4c7a809b27c 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d9f00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -44,7 +44,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -66,7 +66,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "de4dbf4e-9394-4526-b9d2-1e8ce7681547", @@ -92,7 +92,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d9f00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -124,7 +124,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -146,7 +146,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "03f3fcf1-9310-402d-8231-099a82c89743", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json index 5a0f672c71e..29ed895dc6a 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_batch_list_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d9b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -45,7 +45,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92d9b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -68,7 +68,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92d9b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "69961c04-1483-4eac-90f7-b5adfae301f5", @@ -94,7 +94,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d9b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -127,7 +127,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92d9b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -150,7 +150,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.tid": "69e92d9b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "7402f1ee-20ee-4834-837e-ffb7318258c7", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json index 29790847c02..739986f267d 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8a00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -81,7 +81,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -115,7 +115,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json index bc2ae303001..8748a4692ab 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_async_single_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -81,7 +81,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -115,7 +115,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json index e338e15ddc6..67439444614 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_async_single_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d9400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d9500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -81,7 +81,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d9500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -115,7 +115,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d9500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json index bfdc937dfed..9a972d37e9a 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_buffered_single_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8e00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8f00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -81,7 +81,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8f00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -115,7 +115,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8f00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json index ee412e4bb92..a530c04ec77 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -81,7 +81,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -115,7 +115,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json index 4d696259610..a51a0e6f1c3 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer[send_event_single_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -46,7 +46,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -81,7 +81,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", @@ -115,7 +115,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92d8000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_eventhubs", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json index f62332a72a9..788fc812c4b 100644 --- a/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json +++ b/tests/snapshots/tests.contrib.azure_eventhubs.test_azure_eventhubs_snapshot.test_producer_error.json @@ -12,7 +12,7 @@ "_dd.base_service": "tests.contrib.azure_eventhubs", "_dd.p.dm": "-0", "_dd.p.tid": "69e92de000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_eventhubs", "component": "azure_eventhubs", "error.message": "'EventData' object is not iterable", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json index cb544b25373..e11ae47c037 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e5d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -45,7 +45,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e5d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", @@ -78,7 +78,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -102,7 +102,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -126,7 +126,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json index f181688672a..05db3e1f882 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e5200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -61,7 +61,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e5100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", @@ -94,7 +94,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -119,7 +119,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92e5100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -144,7 +144,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92e5100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json index c16619de25d..981922d29a1 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e4700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -45,7 +45,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e4700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", @@ -78,7 +78,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "f86653a1-613d-42c1-b384-1fd2575b1f73", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json index a7f1a3697cb..4fb7a48aa65 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e3c00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -54,7 +54,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e3c00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", @@ -87,7 +87,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "2e3400d9-aa1d-415f-ba66-3dcea93400e4", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json index fe4b692e662..f87c3d58bd1 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e3100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -45,7 +45,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e3000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", @@ -78,7 +78,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -102,7 +102,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -126,7 +126,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json index 597f1637739..a58c814f82c 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e2600000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -61,7 +61,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e2600000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", @@ -94,7 +94,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -119,7 +119,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92e2600000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -144,7 +144,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92e2600000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json index 57e36f9918e..f99141cc2ea 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e1b00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -45,7 +45,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e1a00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", @@ -78,7 +78,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "0d613221-a4e2-46ce-9d7e-c5c87807baf8", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json index c0025c8f337..de3a518367e 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e1000000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -54,7 +54,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e0f00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", @@ -87,7 +87,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "364f4097-f9b3-41c4-ab88-4a1d4066a77c", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json index edcb9825846..683c3af61b8 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a2700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "625edaab-9b17-4b54-b374-296ac0a76031", @@ -68,7 +68,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "e90c03fb-a678-4695-afd6-084fcb445405", @@ -93,7 +93,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "queue.1", @@ -120,7 +120,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a2800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json index 69a5a435b94..6518388f301 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a1d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "49fe487d-4031-44e5-a6d3-321dd79a24c2", @@ -69,7 +69,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92a1d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "ee386ae4-d86d-4947-ba50-bb471d1ba8f2", @@ -95,7 +95,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92a1d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "queue.1", @@ -138,7 +138,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a1e00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json index a33140706e1..08657e2407e 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a1200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "5875e14f-989b-46d4-bf84-5d252add32f5", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a1300000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json index c727f0786d7..d48fcca0b61 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a0700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "22d20676-5b23-4738-8d59-9d27f9ecf1a1", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a0800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json index ceb99c8db0a..f74c7344104 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929fd00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "31a18a59-ff85-4168-8851-1fd421867216", @@ -68,7 +68,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "942c594e-837e-4619-821b-9a2f5c72b6bd", @@ -93,7 +93,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "queue.1", @@ -120,7 +120,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929fd00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json index b60573870a3..7339a76c7da 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929f100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "fff37ac5-e6bc-4b2d-8cf1-fbeb23b1cab3", @@ -69,7 +69,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e929f100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "007c7dac-7fdc-437d-b6e9-71a6be63e406", @@ -95,7 +95,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e929f100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "queue.1", @@ -138,7 +138,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929f200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json index 3c065917b06..263c8559f2d 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929e600000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "24d949ad-b57b-4a98-84bb-d0dd0b50f85e", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929e700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json index c237b43c35f..da343930b4f 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json @@ -11,7 +11,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e9293d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json index e47c1bea007..26a41bc39a0 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92b2d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "862eea0d-29a4-404c-9936-188a8c85f14a", @@ -68,7 +68,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "31828e7a-09a5-4b62-aec4-33247781b107", @@ -93,7 +93,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "topic.1", @@ -120,7 +120,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92b2d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json index df9a175546a..cd3ad2cd1cb 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a7200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "47e5e5ad-ba9f-49e4-8976-784cbb56ab24", @@ -69,7 +69,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92a7200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "c0d0de64-c1b6-4881-8242-e7500a9540dd", @@ -95,7 +95,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92a7200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "topic.1", @@ -138,7 +138,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a7200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json index cfc75b2117e..526083cf998 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a6700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "8fa0a527-f75e-49c7-a8b1-100cf174a8a1", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a6800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json index 56efe825c2f..72e17feb8d9 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a5c00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "78998fcd-6a56-483a-a01c-59c976a32da7", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a5d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json index 0fe41c5a4f3..589215d67ad 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a5100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "975527b3-a05f-470b-bc51-101716e47b03", @@ -68,7 +68,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "ed40ba17-3791-45bd-972f-21dea98521d4", @@ -93,7 +93,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "topic.1", @@ -120,7 +120,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a5200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json index 6c24f25489d..669600ab7a9 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a4700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "76da5d90-4c83-4801-a3f6-c313247e9320", @@ -69,7 +69,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92a4700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "75657cd4-46f9-4d92-932d-a6eb2bc050e0", @@ -95,7 +95,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92a4700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.batch_count": "2", "messaging.destination.name": "topic.1", @@ -138,7 +138,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a4800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json index 3b263cf4f05..938cc928abe 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a3d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "67c2f855-1a11-4a53-9d18-f071cea296a5", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a3d00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json index 9242eaa63b7..90d0cf62f49 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a3200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "topic.1", "messaging.message_id": "9b8c556a-3c53-4118-8577-4b37dbf3465b", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a3300000000", - "_dd.svc_src": "m", + "_dd.svc_src": "test-func", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_disabled].json index d787e6c95c6..9143505c5c2 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92c0400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92c0400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_enabled].json index f0923c58b21..4975efb87e3 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_list_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92c0100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92c0100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_disabled].json index 995c94d229a..a45fa2e3106 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bfd00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bfe00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bfe00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bfe00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_enabled].json index 2d4a202cc2b..4011b94632a 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_async_single_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bfa00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bfb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bfb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bfb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_disabled].json index 4efda6a98c4..0f9e5957cdd 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bf700000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bf800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_enabled].json index 923a745c3df..b7001c7f9b2 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_list_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bf400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bf400000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_disabled].json index 005be0706e6..3a00c7d0ebc 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bf100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bf100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bf100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bf100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_enabled].json index 009b51741a6..4dff57cad84 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[schedule_messages_single_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bee00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bee00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bee00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bee00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_disabled].json index dafbc307634..bf2c33a8a4b 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92beb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92beb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_enabled].json index 05afa1e7e2f..f8f8186510b 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -117,7 +117,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -151,7 +151,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -186,7 +186,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_disabled].json index 81b124e4577..7354bda93c5 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_enabled].json index 38c9cb94cc9..84ef08dfc09 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -83,7 +83,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92be200000000", "_dd.span_links": "[{\"trace_id\": \"69e92be200000000b8984fde4fbbe180\", \"span_id\": \"85b46a2ac68bf87f\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92be200000000\", \"flags\": 1}, {\"trace_id\": \"69e92be200000000572732b8ab997c49\", \"span_id\": \"785225cd44aa9fb2\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92be200000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -118,7 +118,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -152,7 +152,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92be200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -188,7 +188,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92be200000000", "_dd.span_links": "[{\"trace_id\": \"69e92be2000000000cd4296fb60bcd0f\", \"span_id\": \"4204b66a88e79b56\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92be200000000\", \"flags\": 1}, {\"trace_id\": \"69e92be200000000255449a75b5c447a\", \"span_id\": \"605fdfcccd514435\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92be200000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_disabled].json index 311d23077d4..536cbf4ea70 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bde00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bde00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_enabled].json index 9242cbfc8f1..ffa1c3ee308 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_list_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bdb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bdb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_disabled].json index 6f69bac1d1c..3bab1063e90 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd800000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_enabled].json index 8f47747001d..88848d4830b 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_async_single_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_disabled].json index 34760165631..9ed7e44f3fc 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bd200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_enabled].json index df7ad60f37b..670d32b8564 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_disabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bcf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bcf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bcf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -117,7 +117,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bcf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -151,7 +151,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bcf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -186,7 +186,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bcf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_disabled].json index dcfa9b4ee48..3d00b577816 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bcc00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bcc00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_enabled].json index d23a95e9255..2dfb480bb2d 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_batch_distributed_tracing_enabled_batch_links_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc900000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc900000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -83,7 +83,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc900000000", "_dd.span_links": "[{\"trace_id\": \"69e92bc90000000004f5d3257352d47e\", \"span_id\": \"915a82c1fe1f2661\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92bc900000000\", \"flags\": 1}, {\"trace_id\": \"69e92bc900000000d10b541b869f9617\", \"span_id\": \"db0e6a3ce2103e06\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92bc900000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -118,7 +118,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc900000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -152,7 +152,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc900000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -188,7 +188,7 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc900000000", "_dd.span_links": "[{\"trace_id\": \"69e92bc90000000083f997b1355900a8\", \"span_id\": \"6edead9cc3c0e813\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92bc900000000\", \"flags\": 1}, {\"trace_id\": \"69e92bc9000000000dbed37a4186fe2b\", \"span_id\": \"01e4a034be8e238b\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e92bc900000000\", \"flags\": 1}]", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_disabled].json index b8240414f66..890905fd972 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc500000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_enabled].json index 3ad281968bc..cb776a7d9f5 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_list_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bc200000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_disabled].json index 85f0c509504..78ea600d792 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_disabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bbe00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bbf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bbf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bbf00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_enabled].json index 29320800cc2..81341918388 100644 --- a/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_servicebus.test_azure_servicebus_snapshot.test_producer[send_messages_single_distributed_tracing_enabled].json @@ -12,7 +12,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bbb00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -47,7 +47,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bbc00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -82,7 +82,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bbc00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", @@ -116,7 +116,7 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e92bbc00000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:ddtrace_subprocess_dir", "component": "azure_servicebus", "language": "python", diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_custom_job_id_in_span_tags.json b/tests/snapshots/tests.contrib.rq.test_rq.test_custom_job_id_in_span_tags.json index 3a0a747359e..241538f3b87 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_custom_job_id_in_span_tags.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_custom_job_id_in_span_tags.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69ea217700000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafae00000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", "job.id": "my-custom-job-id", "language": "python", "queue.name": "sync-q", - "runtime-id": "ccbfb0988dad482897d1eb4f74c5e585", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1066.0 + "process_id": 45019.0 }, - "duration": 3309875, - "start": 1776951671477092138 + "duration": 2938792, + "start": 1777053614502149424 }, { "name": "rq.job.perform", @@ -46,6 +46,6 @@ "component": "rq", "job.id": "my-custom-job-id" }, - "duration": 290750, - "start": 1776951671479177555 + "duration": 323833, + "start": 1777053614504044216 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_None.json b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_None.json index cfd3527a4ec..66b9f2118e8 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_None.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_None.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954b00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafb000000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "6aa4cbdb-9e19-41c4-973c-abb3daa2441a", + "job.id": "65328477-88cd-4c6d-a5b3-d34e76e30dff", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 4091792, - "start": 1776194891022419178 + "duration": 1005000, + "start": 1777053616880594675 }], [ { @@ -44,25 +44,25 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954b00000000", + "_dd.p.tid": "69ebafb100000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.name:rq,entrypoint.type:script,entrypoint.workdir:project,svc.auto:rq", "component": "rq", - "job.id": "6aa4cbdb-9e19-41c4-973c-abb3daa2441a", + "job.id": "65328477-88cd-4c6d-a5b3-d34e76e30dff", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "7638a2b69d3d4f72845fd9bc4855cb07", + "runtime-id": "5d8f810d553e49919c0500e52670a300", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62961.0 + "process_id": 45173.0 }, - "duration": 6907209, - "start": 1776194891540545303 + "duration": 10336583, + "start": 1777053617410441884 }, { "name": "rq.job.perform", @@ -77,8 +77,8 @@ "_dd.base_service": "", "_dd.svc_src": "rq", "component": "rq", - "job.id": "6aa4cbdb-9e19-41c4-973c-abb3daa2441a" + "job.id": "65328477-88cd-4c6d-a5b3-d34e76e30dff" }, - "duration": 3612625, - "start": 1776194891542262845 + "duration": 4209167, + "start": 1777053617414509925 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_custom-worker-service.json b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_custom-worker-service.json index 4f7c59a4351..57515f4be94 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_custom-worker-service.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_False_worker_service_custom-worker-service.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954300000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafa800000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "52aa1f78-3f72-4410-a6ee-bc74de0436a0", + "job.id": "d77b8390-de96-4d83-93bc-3e8a031fe980", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 1997958, - "start": 1776194883728855925 + "duration": 1842500, + "start": 1777053608728964046 }], [ { @@ -43,25 +43,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954400000000", + "_dd.p.tid": "69ebafa900000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:rq,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "52aa1f78-3f72-4410-a6ee-bc74de0436a0", + "job.id": "d77b8390-de96-4d83-93bc-3e8a031fe980", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "aa6e6a2810de426a8c693fd92f33855e", + "runtime-id": "e73c7a8fb05442008c1a9b169d57a584", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62834.0 + "process_id": 45038.0 }, - "duration": 6395208, - "start": 1776194884256729550 + "duration": 6854917, + "start": 1777053609253695963 }, { "name": "rq.job.perform", @@ -75,8 +75,8 @@ "meta": { "_dd.svc_src": "rq", "component": "rq", - "job.id": "52aa1f78-3f72-4410-a6ee-bc74de0436a0" + "job.id": "d77b8390-de96-4d83-93bc-3e8a031fe980" }, - "duration": 3248459, - "start": 1776194884258409633 + "duration": 3423792, + "start": 1777053609255480838 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_None.json b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_None.json index d85b5096f38..fb691bf1489 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_None.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_None.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954600000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafae00000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "84b3eb03-a78d-4d21-a226-38ea1f1f8c5e", + "job.id": "aa36ddd4-5431-44c0-8ebd-957485769f07", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 4062958, - "start": 1776194886952341093 + "duration": 1745041, + "start": 1777053614741532966 }], [ { @@ -44,25 +44,25 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954700000000", + "_dd.p.tid": "69ebafaf00000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.name:rq,entrypoint.type:script,entrypoint.workdir:project,svc.auto:rq", "component": "rq", - "job.id": "84b3eb03-a78d-4d21-a226-38ea1f1f8c5e", + "job.id": "aa36ddd4-5431-44c0-8ebd-957485769f07", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "49c432eaa05545fc82bae63bc420a786", + "runtime-id": "8571784cd73547bbae3dfd3bb2a2e9a9", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62892.0 + "process_id": 45138.0 }, - "duration": 6456250, - "start": 1776194887469234093 + "duration": 7156542, + "start": 1777053615281510799 }, { "name": "rq.job.perform", @@ -77,8 +77,8 @@ "_dd.base_service": "", "_dd.svc_src": "rq", "component": "rq", - "job.id": "84b3eb03-a78d-4d21-a226-38ea1f1f8c5e" + "job.id": "aa36ddd4-5431-44c0-8ebd-957485769f07" }, - "duration": 3341208, - "start": 1776194887470919343 + "duration": 3555125, + "start": 1777053615283434966 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_custom-worker-service.json b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_custom-worker-service.json index 7eae7e1de53..6f69554699d 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_custom-worker-service.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_enqueue_distributed_tracing_enabled_None_worker_service_custom-worker-service.json @@ -1,73 +1,40 @@ [[ - { - "name": "rq.queue.enqueue_job", - "service": "rq", - "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "worker", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.rq", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de954500000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", - "component": "rq", - "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "edab78af-7f76-40dc-a4bf-c475dac6320e", - "language": "python", - "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", - "span.kind": "producer" - }, - "metrics": { - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 62795.0 - }, - "duration": 1979125, - "start": 1776194885918205176 - }], -[ { "name": "rq.worker.perform_job", "service": "custom-worker-service", "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 1, + "trace_id": 0, "span_id": 1, "parent_id": 0, "type": "worker", "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954600000000", + "_dd.p.tid": "69ebafad00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:rq,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "edab78af-7f76-40dc-a4bf-c475dac6320e", + "job.id": "538ea017-f165-4d0a-93cc-74a2185ba647", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "fef0946063d94aca8d389f0647f823f4", + "runtime-id": "94770630d71a49efa659e49d62564921", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62869.0 + "process_id": 45105.0 }, - "duration": 6749208, - "start": 1776194886423798593 + "duration": 7322375, + "start": 1777053613674853424 }, { "name": "rq.job.perform", "service": "custom-worker-service", "resource": "tests.contrib.rq.jobs.job_add1", - "trace_id": 1, + "trace_id": 0, "span_id": 2, "parent_id": 1, "type": "", @@ -75,8 +42,41 @@ "meta": { "_dd.svc_src": "rq", "component": "rq", - "job.id": "edab78af-7f76-40dc-a4bf-c475dac6320e" + "job.id": "538ea017-f165-4d0a-93cc-74a2185ba647" }, - "duration": 3645042, - "start": 1776194886425352884 - }]] + "duration": 3812666, + "start": 1777053613676508424 + }], +[ + { + "name": "rq.queue.enqueue_job", + "service": "rq", + "resource": "tests.contrib.rq.jobs.job_add1", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 0, + "meta": { + "_dd.base_service": "tests.contrib.rq", + "_dd.p.dm": "-0", + "_dd.p.tid": "69ebafad00000000", + "_dd.svc_src": "rq", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", + "component": "rq", + "job.func_name": "tests.contrib.rq.jobs.job_add1", + "job.id": "538ea017-f165-4d0a-93cc-74a2185ba647", + "language": "python", + "queue.name": "q", + "runtime-id": "c291c5d77b15483685e620c76193a901", + "span.kind": "producer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 45019.0 + }, + "duration": 967875, + "start": 1777053613127512048 + }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job.json b/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job.json index 0f053d14c34..5ce81a0603c 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de955400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafac00000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_fail", - "job.id": "290442b8-e7a7-4ea8-9b2c-3ce5b0d0db0c", + "job.id": "1756dc5c-2184-4979-877c-f7cef32de30e", "language": "python", "queue.name": "sync-q", - "runtime-id": "bcddea3267f64ed68a48edc9cc5f0c91", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63023.0 + "process_id": 45019.0 }, - "duration": 3028083, - "start": 1776194900802408919 + "duration": 3287709, + "start": 1777053612141680131 }, { "name": "rq.job.perform", @@ -45,10 +45,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", "error.type": "tests.contrib.rq.jobs.MyException", - "job.id": "290442b8-e7a7-4ea8-9b2c-3ce5b0d0db0c" + "job.id": "1756dc5c-2184-4979-877c-f7cef32de30e" }, - "duration": 1499750, - "start": 1776194900803668544 + "duration": 975416, + "start": 1777053612142650840 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job_pre_1_10_1.json index 6497fe59d8d..d101b7c05c1 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_queue_failing_job_pre_1_10_1.json @@ -11,28 +11,28 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954b00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebb0ca00000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "error.message": "error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 86, in traced_queue_enqueue_job\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/queue.py\", line 484, in enqueue_job\n job = self.run_job(job)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/queue.py\", line 370, in run_job\n job.perform()\n File \"/home/bits/project/ddtrace/contrib/internal/trace_utils.py\", line 310, in wrapper\n return func(mod, pin, wrapped, instance, args, kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 86, in traced_queue_enqueue_job\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/queue.py\", line 484, in enqueue_job\n job = self.run_job(job)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/queue.py\", line 370, in run_job\n job.perform()\n File \"/home/bits/project/ddtrace/contrib/internal/trace_utils.py\", line 311, in wrapper\n return func(mod, pin, wrapped, instance, args, kwargs)\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", "error.type": "tests.contrib.rq.jobs.MyException", "job.func_name": "tests.contrib.rq.jobs.job_fail", - "job.id": "a67c6e1d-2008-4c8a-b196-878756d87fc5", + "job.id": "22250fe4-3253-4d68-ae51-b0e600adfec5", "language": "python", "queue.name": "sync-q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "52046522311544f39446d740d58a4642", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 59868.0 }, - "duration": 3453125, - "start": 1776194891007770095 + "duration": 2943500, + "start": 1777053898278366375 }, { "name": "rq.job.perform", @@ -48,10 +48,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "error", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", "error.type": "tests.contrib.rq.jobs.MyException", - "job.id": "a67c6e1d-2008-4c8a-b196-878756d87fc5" + "job.id": "22250fe4-3253-4d68-ae51-b0e600adfec5" }, - "duration": 1355417, - "start": 1776194891009081428 + "duration": 988667, + "start": 1777053898279651291 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0].json index 6cde86a8e58..cf0c14875a3 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0].json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de955400000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafb200000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "94fffdf7-d3f3-4132-841a-81eb76cd9e73", + "job.id": "e3c14399-c081-4bb2-9e7d-5b30088fdb00", "language": "python", "queue.name": "q", - "runtime-id": "bfd5abd56bf24876b1d000ee8050f382", + "runtime-id": "6dde31f06a204549b93ec19071746906", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63045.0 + "process_id": 45190.0 }, - "duration": 2094708, - "start": 1776194900512749460 + "duration": 2460375, + "start": 1777053618882412968 }], [ { @@ -44,22 +44,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de955400000000", + "_dd.p.tid": "69ebafb200000000", "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "bfd5abd56bf24876b1d000ee8050f382" + "runtime-id": "6dde31f06a204549b93ec19071746906" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63045.0 + "process_id": 45190.0 }, - "duration": 241500, - "start": 1776194900515155293 + "duration": 290750, + "start": 1777053618885249176 }], [ { @@ -74,25 +74,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de955400000000", + "_dd.p.tid": "69ebafb200000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", - "job.id": "94fffdf7-d3f3-4132-841a-81eb76cd9e73", + "job.id": "e3c14399-c081-4bb2-9e7d-5b30088fdb00", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "bfd5abd56bf24876b1d000ee8050f382", + "runtime-id": "6dde31f06a204549b93ec19071746906", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63045.0 + "process_id": 45190.0 }, - "duration": 2453458, - "start": 1776194900519212377 + "duration": 4303834, + "start": 1777053618889611884 }, { "name": "rq.job.perform", @@ -107,11 +107,11 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.svc_src": "rq", "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.message": "JobClass.__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: JobClass.__call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "94fffdf7-d3f3-4132-841a-81eb76cd9e73" + "job.id": "e3c14399-c081-4bb2-9e7d-5b30088fdb00" }, - "duration": 760500, - "start": 1776194900519542502 + "duration": 1254250, + "start": 1777053618889972509 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0]_pre_1_10_1.json index 2c7266a3db0..9a9f1cd568b 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema0]_pre_1_10_1.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954900000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebb09000000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "651b24da-7d4d-4edf-a97d-ad664ac8ebc1", + "job.id": "43dc6d3c-5017-4cba-882a-5a14d45b18cc", "language": "python", "queue.name": "q", - "runtime-id": "73bfc677d7fe44da8b0ce4b87def45af", + "runtime-id": "01251349743e4f58b8005abfba764750", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62925.0 + "process_id": 58379.0 }, - "duration": 1970125, - "start": 1776194889679110053 + "duration": 1972458, + "start": 1777053840751192709 }], [ { @@ -44,22 +44,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954900000000", + "_dd.p.tid": "69ebb09000000000", "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "73bfc677d7fe44da8b0ce4b87def45af" + "runtime-id": "01251349743e4f58b8005abfba764750" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62925.0 + "process_id": 58379.0 }, - "duration": 255584, - "start": 1776194889681386469 + "duration": 242208, + "start": 1777053840753481959 }], [ { @@ -74,25 +74,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954900000000", + "_dd.p.tid": "69ebb09000000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", - "job.id": "651b24da-7d4d-4edf-a97d-ad664ac8ebc1", + "job.id": "43dc6d3c-5017-4cba-882a-5a14d45b18cc", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "73bfc677d7fe44da8b0ce4b87def45af", + "runtime-id": "01251349743e4f58b8005abfba764750", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62925.0 + "process_id": 58379.0 }, - "duration": 2402708, - "start": 1776194889685125386 + "duration": 2338250, + "start": 1777053840757318792 }, { "name": "rq.job.perform", @@ -108,10 +108,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "651b24da-7d4d-4edf-a97d-ad664ac8ebc1" + "job.id": "43dc6d3c-5017-4cba-882a-5a14d45b18cc" }, - "duration": 815459, - "start": 1776194889685461094 + "duration": 741458, + "start": 1777053840757651251 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1].json index c28629c3636..e3209f205b3 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1].json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de955a00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafac00000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "8fd45076-20b9-4b05-b862-7b0ab2bf3c50", + "job.id": "6fa98a80-0440-4cf0-a0ce-7bd3f8af76f0", "language": "python", "queue.name": "q", - "runtime-id": "6310aa5d8ae84d28abb63dcd9e5f9b3b", + "runtime-id": "e9a95899f3254b37a006dbb6a767d794", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63131.0 + "process_id": 45083.0 }, - "duration": 2019875, - "start": 1776194906387249671 + "duration": 1912834, + "start": 1777053612819741923 }], [ { @@ -44,22 +44,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de955a00000000", + "_dd.p.tid": "69ebafac00000000", "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "6310aa5d8ae84d28abb63dcd9e5f9b3b" + "runtime-id": "e9a95899f3254b37a006dbb6a767d794" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63131.0 + "process_id": 45083.0 }, - "duration": 334792, - "start": 1776194906389705796 + "duration": 330625, + "start": 1777053612822073465 }], [ { @@ -74,25 +74,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de955a00000000", + "_dd.p.tid": "69ebafac00000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", - "job.id": "8fd45076-20b9-4b05-b862-7b0ab2bf3c50", + "job.id": "6fa98a80-0440-4cf0-a0ce-7bd3f8af76f0", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "6310aa5d8ae84d28abb63dcd9e5f9b3b", + "runtime-id": "e9a95899f3254b37a006dbb6a767d794", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63131.0 + "process_id": 45083.0 }, - "duration": 2471708, - "start": 1776194906394004130 + "duration": 3478667, + "start": 1777053612826142173 }, { "name": "rq.job.perform", @@ -107,11 +107,11 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.svc_src": "rq", "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.message": "JobClass.__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: JobClass.__call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "8fd45076-20b9-4b05-b862-7b0ab2bf3c50" + "job.id": "6fa98a80-0440-4cf0-a0ce-7bd3f8af76f0" }, - "duration": 776458, - "start": 1776194906394358755 + "duration": 942834, + "start": 1777053612826482923 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1]_pre_1_10_1.json index 733312c3501..0386c31748a 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema1]_pre_1_10_1.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954200000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebb09100000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "3bc87376-82a4-4668-850c-095464eda985", + "job.id": "096a3dfd-c7b3-4614-824f-29dbdf6088e8", "language": "python", "queue.name": "q", - "runtime-id": "dcaef7be3dc14cb2b1a3e2934f4da232", + "runtime-id": "9d4ecbe07a444fe4a094321cf9c0f228", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62800.0 + "process_id": 58391.0 }, - "duration": 2077459, - "start": 1776194882427552757 + "duration": 1940042, + "start": 1777053841784521126 }], [ { @@ -44,22 +44,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954200000000", + "_dd.p.tid": "69ebb09100000000", "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "dcaef7be3dc14cb2b1a3e2934f4da232" + "runtime-id": "9d4ecbe07a444fe4a094321cf9c0f228" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62800.0 + "process_id": 58391.0 }, - "duration": 252500, - "start": 1776194882429946174 + "duration": 260833, + "start": 1777053841786785585 }], [ { @@ -74,25 +74,25 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954200000000", + "_dd.p.tid": "69ebb09100000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", - "job.id": "3bc87376-82a4-4668-850c-095464eda985", + "job.id": "096a3dfd-c7b3-4614-824f-29dbdf6088e8", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "dcaef7be3dc14cb2b1a3e2934f4da232", + "runtime-id": "9d4ecbe07a444fe4a094321cf9c0f228", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62800.0 + "process_id": 58391.0 }, - "duration": 2435417, - "start": 1776194882436154757 + "duration": 2383208, + "start": 1777053841790666668 }, { "name": "rq.job.perform", @@ -108,10 +108,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "3bc87376-82a4-4668-850c-095464eda985" + "job.id": "096a3dfd-c7b3-4614-824f-29dbdf6088e8" }, - "duration": 742583, - "start": 1776194882436516216 + "duration": 753500, + "start": 1777053841791006710 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2].json index 428738d97f9..866351dcd77 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2].json @@ -10,25 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955300000000", + "_dd.p.tid": "69ebafab00000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "c636692b-6859-4591-a308-7e991a465a20", + "job.id": "3cf405ae-b0db-43de-bfd8-97270de713dd", "language": "python", "queue.name": "q", - "runtime-id": "aad5ec29b68945b68a25752a458fa3d0", + "runtime-id": "cd38f6d5f6d34fdabf66ea1e894633a5", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63028.0 + "process_id": 45068.0 }, - "duration": 2216292, - "start": 1776194899292319876 + "duration": 1977084, + "start": 1777053611832749589 }], [ { @@ -42,22 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955300000000", + "_dd.p.tid": "69ebafab00000000", "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "aad5ec29b68945b68a25752a458fa3d0" + "runtime-id": "cd38f6d5f6d34fdabf66ea1e894633a5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63028.0 + "process_id": 45068.0 }, - "duration": 311041, - "start": 1776194899294968168 + "duration": 223417, + "start": 1777053611835045506 }], [ { @@ -71,25 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955300000000", + "_dd.p.tid": "69ebafab00000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", - "job.id": "c636692b-6859-4591-a308-7e991a465a20", + "job.id": "3cf405ae-b0db-43de-bfd8-97270de713dd", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "aad5ec29b68945b68a25752a458fa3d0", + "runtime-id": "cd38f6d5f6d34fdabf66ea1e894633a5", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63028.0 + "process_id": 45068.0 }, - "duration": 2621666, - "start": 1776194899299463793 + "duration": 3362250, + "start": 1777053611838835714 }, { "name": "rq.job.perform", @@ -103,11 +103,11 @@ "meta": { "_dd.svc_src": "rq", "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.message": "JobClass.__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: JobClass.__call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "c636692b-6859-4591-a308-7e991a465a20" + "job.id": "3cf405ae-b0db-43de-bfd8-97270de713dd" }, - "duration": 825375, - "start": 1776194899299843834 + "duration": 979042, + "start": 1777053611839164089 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2]_pre_1_10_1.json index 70235ec2ea7..6adcd71c26c 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema2]_pre_1_10_1.json @@ -10,25 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954500000000", + "_dd.p.tid": "69ebb08f00000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.func_name": "__call__", - "job.id": "e2241a36-5b01-464a-a723-8cdda3043abb", + "job.id": "42bcc5a3-ad05-423a-9781-269a3bf31f9f", "language": "python", "queue.name": "q", - "runtime-id": "74271d07bbf045b9b26d510acbef70da", + "runtime-id": "08cbf88c3e81439498dcd577d988c371", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62848.0 + "process_id": 58367.0 }, - "duration": 1969375, - "start": 1776194885611474301 + "duration": 2709625, + "start": 1777053839751758500 }], [ { @@ -42,22 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954500000000", + "_dd.p.tid": "69ebb08f00000000", "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "74271d07bbf045b9b26d510acbef70da" + "runtime-id": "08cbf88c3e81439498dcd577d988c371" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62848.0 + "process_id": 58367.0 }, - "duration": 242125, - "start": 1776194885613764509 + "duration": 333042, + "start": 1777053839754875042 }], [ { @@ -71,25 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954500000000", + "_dd.p.tid": "69ebb08f00000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "rq", - "job.id": "e2241a36-5b01-464a-a723-8cdda3043abb", + "job.id": "42bcc5a3-ad05-423a-9781-269a3bf31f9f", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "74271d07bbf045b9b26d510acbef70da", + "runtime-id": "08cbf88c3e81439498dcd577d988c371", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62848.0 + "process_id": 58367.0 }, - "duration": 2341625, - "start": 1776194885617524051 + "duration": 3237291, + "start": 1777053839759975209 }, { "name": "rq.job.perform", @@ -104,10 +104,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "e2241a36-5b01-464a-a723-8cdda3043abb" + "job.id": "42bcc5a3-ad05-423a-9781-269a3bf31f9f" }, - "duration": 785500, - "start": 1776194885617852634 + "duration": 1023917, + "start": 1777053839760431125 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3].json index e89cc727a90..c2f7d17c5ac 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3].json @@ -10,25 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955900000000", + "_dd.p.tid": "69ebafb000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "40833627-71fa-4419-b1c8-b734d402f873", + "job.id": "6b2ff7e6-a542-495c-9e70-9728513f2972", "language": "python", "queue.name": "q", - "runtime-id": "48b1175995e94bc99c363e4d3aff658a", + "runtime-id": "98cdee1f18fa4cffa6944d5017f35c3b", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63115.0 + "process_id": 45152.0 }, - "duration": 2200167, - "start": 1776194905143726254 + "duration": 2034250, + "start": 1777053616564426633 }], [ { @@ -42,22 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955900000000", + "_dd.p.tid": "69ebafb000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "48b1175995e94bc99c363e4d3aff658a" + "runtime-id": "98cdee1f18fa4cffa6944d5017f35c3b" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63115.0 + "process_id": 45152.0 }, - "duration": 372333, - "start": 1776194905146345921 + "duration": 256958, + "start": 1777053616566775842 }], [ { @@ -71,25 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955900000000", + "_dd.p.tid": "69ebafb000000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "40833627-71fa-4419-b1c8-b734d402f873", + "job.id": "6b2ff7e6-a542-495c-9e70-9728513f2972", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "48b1175995e94bc99c363e4d3aff658a", + "runtime-id": "98cdee1f18fa4cffa6944d5017f35c3b", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63115.0 + "process_id": 45152.0 }, - "duration": 2875708, - "start": 1776194905151296921 + "duration": 3304667, + "start": 1777053616570594258 }, { "name": "rq.job.perform", @@ -103,11 +103,11 @@ "meta": { "_dd.svc_src": "rq", "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.message": "JobClass.__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: JobClass.__call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "40833627-71fa-4419-b1c8-b734d402f873" + "job.id": "6b2ff7e6-a542-495c-9e70-9728513f2972" }, - "duration": 827917, - "start": 1776194905151713629 + "duration": 928666, + "start": 1777053616570906967 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3]_pre_1_10_1.json index fc6e192d609..fa44a021aac 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema3]_pre_1_10_1.json @@ -10,25 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954300000000", + "_dd.p.tid": "69ebb09200000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "d4dd3ab7-76c2-47f3-bf7b-14cf9b85c857", + "job.id": "edae0540-1b82-4f4d-8af6-5ed36c5e7858", "language": "python", "queue.name": "q", - "runtime-id": "d462937d1ad64e27b113da06c4fcf905", + "runtime-id": "8aa9037ef5ea461fa4569451186c4c31", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62812.0 + "process_id": 58403.0 }, - "duration": 2013542, - "start": 1776194883408298258 + "duration": 1946834, + "start": 1777053842795307293 }], [ { @@ -42,22 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954300000000", + "_dd.p.tid": "69ebb09200000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "d462937d1ad64e27b113da06c4fcf905" + "runtime-id": "8aa9037ef5ea461fa4569451186c4c31" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62812.0 + "process_id": 58403.0 }, - "duration": 235625, - "start": 1776194883410624633 + "duration": 265125, + "start": 1777053842797568877 }], [ { @@ -71,25 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954300000000", + "_dd.p.tid": "69ebb09200000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "d4dd3ab7-76c2-47f3-bf7b-14cf9b85c857", + "job.id": "edae0540-1b82-4f4d-8af6-5ed36c5e7858", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "d462937d1ad64e27b113da06c4fcf905", + "runtime-id": "8aa9037ef5ea461fa4569451186c4c31", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62812.0 + "process_id": 58403.0 }, - "duration": 2533750, - "start": 1776194883414666758 + "duration": 2352667, + "start": 1777053842801341835 }, { "name": "rq.job.perform", @@ -104,10 +104,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "d4dd3ab7-76c2-47f3-bf7b-14cf9b85c857" + "job.id": "edae0540-1b82-4f4d-8af6-5ed36c5e7858" }, - "duration": 877625, - "start": 1776194883415028133 + "duration": 748125, + "start": 1777053842801673085 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4].json index 8637471935a..58a1391919e 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4].json @@ -10,25 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955800000000", + "_dd.p.tid": "69ebafaa00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "a9e56e38-3340-40a3-9678-79b00735a1b3", + "job.id": "02cb98b6-d7e0-4c96-b55e-fb03755cf409", "language": "python", "queue.name": "q", - "runtime-id": "e408200fa47549879be1995628490650", + "runtime-id": "11e64b39e3004f49880f663b8edad0ff", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63103.0 + "process_id": 45052.0 }, - "duration": 2156125, - "start": 1776194904156623128 + "duration": 1957417, + "start": 1777053610569508130 }], [ { @@ -42,22 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955800000000", + "_dd.p.tid": "69ebafaa00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "e408200fa47549879be1995628490650" + "runtime-id": "11e64b39e3004f49880f663b8edad0ff" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63103.0 + "process_id": 45052.0 }, - "duration": 259459, - "start": 1776194904159132503 + "duration": 248667, + "start": 1777053610571752172 }], [ { @@ -71,25 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955800000000", + "_dd.p.tid": "69ebafaa00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "a9e56e38-3340-40a3-9678-79b00735a1b3", + "job.id": "02cb98b6-d7e0-4c96-b55e-fb03755cf409", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "e408200fa47549879be1995628490650", + "runtime-id": "11e64b39e3004f49880f663b8edad0ff", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63103.0 + "process_id": 45052.0 }, - "duration": 2688792, - "start": 1776194904163269503 + "duration": 3481625, + "start": 1777053610575596922 }, { "name": "rq.job.perform", @@ -103,11 +103,11 @@ "meta": { "_dd.svc_src": "rq", "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.message": "JobClass.__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: JobClass.__call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "a9e56e38-3340-40a3-9678-79b00735a1b3" + "job.id": "02cb98b6-d7e0-4c96-b55e-fb03755cf409" }, - "duration": 817541, - "start": 1776194904163636837 + "duration": 986792, + "start": 1777053610575906547 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4]_pre_1_10_1.json index 359a2ae3e21..2e0f15b95cb 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema4]_pre_1_10_1.json @@ -10,25 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954a00000000", + "_dd.p.tid": "69ebb09400000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "3cbeb43b-6751-49f7-bbe2-f659d903106a", + "job.id": "56d3320c-e3ba-4b2d-917f-b26a468f398d", "language": "python", "queue.name": "q", - "runtime-id": "6c650afbcd8845f9a2b7fe2358e34876", + "runtime-id": "8309ed84db1246ecaeb506e692669737", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62937.0 + "process_id": 58427.0 }, - "duration": 1971125, - "start": 1776194890710265761 + "duration": 1911084, + "start": 1777053844837177419 }], [ { @@ -42,22 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954a00000000", + "_dd.p.tid": "69ebb09400000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "6c650afbcd8845f9a2b7fe2358e34876" + "runtime-id": "8309ed84db1246ecaeb506e692669737" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62937.0 + "process_id": 58427.0 }, - "duration": 237000, - "start": 1776194890712571845 + "duration": 222500, + "start": 1777053844839402003 }], [ { @@ -71,25 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954a00000000", + "_dd.p.tid": "69ebb09400000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "3cbeb43b-6751-49f7-bbe2-f659d903106a", + "job.id": "56d3320c-e3ba-4b2d-917f-b26a468f398d", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "6c650afbcd8845f9a2b7fe2358e34876", + "runtime-id": "8309ed84db1246ecaeb506e692669737", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62937.0 + "process_id": 58427.0 }, - "duration": 2375792, - "start": 1776194890716269761 + "duration": 2333084, + "start": 1777053844843258169 }, { "name": "rq.job.perform", @@ -104,10 +104,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "3cbeb43b-6751-49f7-bbe2-f659d903106a" + "job.id": "56d3320c-e3ba-4b2d-917f-b26a468f398d" }, - "duration": 838791, - "start": 1776194890716600470 + "duration": 696542, + "start": 1777053844843612169 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5].json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5].json index 9ead15a26e9..a0ad88c2522 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5].json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5].json @@ -10,25 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955600000000", + "_dd.p.tid": "69ebafb400000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "4029cb17-4a32-458b-bbc3-7b3b8e9c5f2c", + "job.id": "e444d439-bbc9-4377-98b6-5a0b6395e355", "language": "python", "queue.name": "q", - "runtime-id": "1e00977e8da54fd4bd3de6ae4dda1b6c", + "runtime-id": "6dde08c4ef784d069cc254c56008549d", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63087.0 + "process_id": 45202.0 }, - "duration": 2074833, - "start": 1776194902907890420 + "duration": 2203792, + "start": 1777053620065006968 }], [ { @@ -42,22 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955600000000", + "_dd.p.tid": "69ebafb400000000", "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "1e00977e8da54fd4bd3de6ae4dda1b6c" + "runtime-id": "6dde08c4ef784d069cc254c56008549d" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63087.0 + "process_id": 45202.0 }, - "duration": 227416, - "start": 1776194902910287670 + "duration": 305458, + "start": 1777053620067545385 }], [ { @@ -71,25 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de955600000000", + "_dd.p.tid": "69ebafb400000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "4029cb17-4a32-458b-bbc3-7b3b8e9c5f2c", + "job.id": "e444d439-bbc9-4377-98b6-5a0b6395e355", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "1e00977e8da54fd4bd3de6ae4dda1b6c", + "runtime-id": "6dde08c4ef784d069cc254c56008549d", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63087.0 + "process_id": 45202.0 }, - "duration": 2385084, - "start": 1776194902914343211 + "duration": 3801417, + "start": 1777053620072361885 }, { "name": "rq.job.perform", @@ -103,11 +103,11 @@ "meta": { "_dd.svc_src": "rq", "component": "rq", - "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 821, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~1100_click712/lib/python3.9/site-packages/rq/job.py\", line 844, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.message": "JobClass.__call__() got an unexpected keyword argument 'key'", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: JobClass.__call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "4029cb17-4a32-458b-bbc3-7b3b8e9c5f2c" + "job.id": "e444d439-bbc9-4377-98b6-5a0b6395e355" }, - "duration": 758333, - "start": 1776194902914686420 + "duration": 1083291, + "start": 1777053620072739552 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5]_pre_1_10_1.json b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5]_pre_1_10_1.json index ee62527667e..f0045f1fb43 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5]_pre_1_10_1.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_schematization[service_schema5]_pre_1_10_1.json @@ -10,25 +10,25 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954d00000000", + "_dd.p.tid": "69ebb09300000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.func_name": "__call__", - "job.id": "35cf6a90-f323-4138-93df-4c19eb03e1a5", + "job.id": "06f286d7-3639-4d85-a469-9549494ea279", "language": "python", "queue.name": "q", - "runtime-id": "941beb2bd930445bb695d24dd9c3489a", + "runtime-id": "2b480f315058475492773dd596b65172", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62979.0 + "process_id": 58415.0 }, - "duration": 2182042, - "start": 1776194893096009054 + "duration": 1992250, + "start": 1777053843843113002 }], [ { @@ -42,22 +42,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954d00000000", + "_dd.p.tid": "69ebb09300000000", "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", "job.id": "abc", "language": "python", - "runtime-id": "941beb2bd930445bb695d24dd9c3489a" + "runtime-id": "2b480f315058475492773dd596b65172" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62979.0 + "process_id": 58415.0 }, - "duration": 250291, - "start": 1776194893098560846 + "duration": 267792, + "start": 1777053843845431127 }], [ { @@ -71,25 +71,25 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de954d00000000", + "_dd.p.tid": "69ebb09300000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "rq", - "job.id": "35cf6a90-f323-4138-93df-4c19eb03e1a5", + "job.id": "06f286d7-3639-4d85-a469-9549494ea279", "job.origin": "q", "job.status": "failed", "language": "python", - "runtime-id": "941beb2bd930445bb695d24dd9c3489a", + "runtime-id": "2b480f315058475492773dd596b65172", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62979.0 + "process_id": 58415.0 }, - "duration": 2872875, - "start": 1776194893102679346 + "duration": 2438875, + "start": 1777053843849401169 }, { "name": "rq.job.perform", @@ -104,10 +104,10 @@ "_dd.svc_src": "rq", "component": "rq", "error.message": "__call__() got an unexpected keyword argument 'key'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 163, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 709, in perform\n self._result = self._execute()\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq~181_click712/lib/python3.9/site-packages/rq/job.py\", line 732, in _execute\n result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n", "error.type": "builtins.TypeError", - "job.id": "35cf6a90-f323-4138-93df-4c19eb03e1a5" + "job.id": "06f286d7-3639-4d85-a469-9549494ea279" }, - "duration": 934667, - "start": 1776194893103112512 + "duration": 790416, + "start": 1777053843849745211 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_queue_enqueue.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_queue_enqueue.json index d6c9d3bdd08..0f214b6ae59 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_queue_enqueue.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_queue_enqueue.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafb200000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "dd9fca7a-1112-44dd-95c3-296779948491", + "job.id": "d07a7b05-1bca-4a93-a880-33dc5b976d6f", "language": "python", "queue.name": "sync-q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 1942042, - "start": 1776194888995639844 + "duration": 3448500, + "start": 1777053618023713884 }, { "name": "rq.job.perform", @@ -44,8 +44,8 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "dd9fca7a-1112-44dd-95c3-296779948491" + "job.id": "d07a7b05-1bca-4a93-a880-33dc5b976d6f" }, - "duration": 193333, - "start": 1776194888996774719 + "duration": 388167, + "start": 1777053618025954009 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker.json index c3310db6375..6318b7dc871 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafaa00000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "c4e8aca3-8f05-4c1b-aa99-402efba4d3d4", + "job.id": "ad50d150-3ef9-4b64-8c2e-c565121200eb", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 1129500, - "start": 1776194888310105177 + "duration": 978208, + "start": 1777053610889108631 }], [ { @@ -44,25 +44,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", + "_dd.p.tid": "69ebafaa00000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "c4e8aca3-8f05-4c1b-aa99-402efba4d3d4", + "job.id": "ad50d150-3ef9-4b64-8c2e-c565121200eb", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 2583333, - "start": 1776194888317616844 + "duration": 2334333, + "start": 1777053610894305631 }, { "name": "rq.job.perform", @@ -77,8 +77,8 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "c4e8aca3-8f05-4c1b-aa99-402efba4d3d4" + "job.id": "ad50d150-3ef9-4b64-8c2e-c565121200eb" }, - "duration": 365125, - "start": 1776194888318465302 + "duration": 567791, + "start": 1777053610894920881 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_config_service.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_config_service.json index f54c24b892e..90bf1694094 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_config_service.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_config_service.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954d00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafae00000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "a622bfe1-2807-41fb-9088-3d1591c59596", + "job.id": "0ec71891-3b46-4bd5-adae-084ed8dd3811", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 1140958, - "start": 1776194893388571096 + "duration": 1934792, + "start": 1777053614267513882 }], [ { @@ -44,25 +44,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954d00000000", + "_dd.p.tid": "69ebafae00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "a622bfe1-2807-41fb-9088-3d1591c59596", + "job.id": "0ec71891-3b46-4bd5-adae-084ed8dd3811", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 1908083, - "start": 1776194893394278263 + "duration": 3552375, + "start": 1777053614276067091 }, { "name": "rq.job.perform", @@ -77,8 +77,8 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "a622bfe1-2807-41fb-9088-3d1591c59596" + "job.id": "0ec71891-3b46-4bd5-adae-084ed8dd3811" }, - "duration": 215292, - "start": 1776194893394848179 + "duration": 277084, + "start": 1777053614277229132 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_multiple_jobs.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_multiple_jobs.json index 37f932a5ae0..9141494585e 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_multiple_jobs.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_multiple_jobs.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", + "_dd.p.tid": "69ebafa800000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "4630c81f-3fb5-44fc-a7b6-e71027479297", + "job.id": "42c18b27-42c0-4a47-a137-ee996c2a253e", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 2013125, - "start": 1776194888562515552 + "duration": 1769042, + "start": 1777053608517362004 }, { "name": "rq.job.perform", @@ -44,10 +44,10 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "4630c81f-3fb5-44fc-a7b6-e71027479297" + "job.id": "42c18b27-42c0-4a47-a137-ee996c2a253e" }, - "duration": 227667, - "start": 1776194888563080302 + "duration": 163250, + "start": 1777053608517815546 }], [ { @@ -62,25 +62,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", + "_dd.p.tid": "69ebafa800000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "070244eb-8480-4430-98dc-3ed6acb87f08", + "job.id": "22b99ac0-f5e3-4e0a-bda7-b7dd639c651f", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 2339500, - "start": 1776194888557324052 + "duration": 1906708, + "start": 1777053608512900671 }, { "name": "rq.job.perform", @@ -95,10 +95,10 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "070244eb-8480-4430-98dc-3ed6acb87f08" + "job.id": "22b99ac0-f5e3-4e0a-bda7-b7dd639c651f" }, - "duration": 258875, - "start": 1776194888557994302 + "duration": 178625, + "start": 1777053608513396963 }], [ { @@ -113,25 +113,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafa800000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "49ff66f2-f873-4718-8d2a-7327a4cba2b8", + "job.id": "134660eb-6780-4ac7-9b72-82f130bcc226", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 1545291, - "start": 1776194888540212844 + "duration": 1714459, + "start": 1777053608492466129 }], [ { @@ -146,25 +146,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafa800000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "070244eb-8480-4430-98dc-3ed6acb87f08", + "job.id": "22b99ac0-f5e3-4e0a-bda7-b7dd639c651f", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 844459, - "start": 1776194888542125135 + "duration": 425875, + "start": 1777053608494910129 }], [ { @@ -179,25 +179,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafa800000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "4630c81f-3fb5-44fc-a7b6-e71027479297", + "job.id": "42c18b27-42c0-4a47-a137-ee996c2a253e", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 891250, - "start": 1776194888543270635 + "duration": 322375, + "start": 1777053608495529713 }], [ { @@ -212,25 +212,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", + "_dd.p.tid": "69ebafa800000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "49ff66f2-f873-4718-8d2a-7327a4cba2b8", + "job.id": "134660eb-6780-4ac7-9b72-82f130bcc226", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 2804625, - "start": 1776194888550492052 + "duration": 2402917, + "start": 1777053608506688796 }, { "name": "rq.job.perform", @@ -245,8 +245,8 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "49ff66f2-f873-4718-8d2a-7327a4cba2b8" + "job.id": "134660eb-6780-4ac7-9b72-82f130bcc226" }, - "duration": 338125, - "start": 1776194888551315010 + "duration": 271375, + "start": 1777053608507335588 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_ttl.json b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_ttl.json index 61b8c8c6224..4809c62ae8e 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_ttl.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_sync_worker_ttl.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafb400000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_add1", - "job.id": "886034e5-474f-4676-81b6-55ba7e264c46", + "job.id": "b56401cf-041e-4c81-b8d7-53bc6d36f1f0", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 1146417, - "start": 1776194888768143760 + "duration": 1404917, + "start": 1777053620378919385 }], [ { @@ -44,25 +44,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", + "_dd.p.tid": "69ebafb400000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "886034e5-474f-4676-81b6-55ba7e264c46", + "job.id": "b56401cf-041e-4c81-b8d7-53bc6d36f1f0", "job.origin": "q", "job.status": "None", "language": "python", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 2263584, - "start": 1776194888773019135 + "duration": 4137291, + "start": 1777053620423419469 }, { "name": "rq.job.perform", @@ -77,8 +77,8 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "886034e5-474f-4676-81b6-55ba7e264c46" + "job.id": "b56401cf-041e-4c81-b8d7-53bc6d36f1f0" }, - "duration": 183750, - "start": 1776194888773556427 + "duration": 532792, + "start": 1777053620424181885 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_worker_class_job.json b/tests/snapshots/tests.contrib.rq.test_rq.test_worker_class_job.json index fee553f826d..ccdf7be3051 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_worker_class_job.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_worker_class_job.json @@ -11,25 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954c00000000", + "_dd.p.tid": "69ebafb400000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "8fe83c7d-115c-4927-9ddd-a89e61738f7c", + "job.id": "eb31325a-2f59-4165-9e98-c2b0a5c431d1", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 2432625, - "start": 1776194892178941970 + "duration": 2509584, + "start": 1777053620608463760 }, { "name": "rq.job.perform", @@ -44,10 +44,10 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "8fe83c7d-115c-4927-9ddd-a89e61738f7c" + "job.id": "eb31325a-2f59-4165-9e98-c2b0a5c431d1" }, - "duration": 227500, - "start": 1776194892179687137 + "duration": 248541, + "start": 1777053620609097469 }], [ { @@ -62,25 +62,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954c00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafb400000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "job_on_class", - "job.id": "8a2dd6d3-ff6e-41c5-99db-a40fcd7b23c1", + "job.id": "7a3f6cc1-7640-4a3a-9192-66e2849d0712", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 2165125, - "start": 1776194892162812012 + "duration": 1188625, + "start": 1777053620596034302 }], [ { @@ -95,25 +95,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954c00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafb400000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "__call__", - "job.id": "8fe83c7d-115c-4927-9ddd-a89e61738f7c", + "job.id": "eb31325a-2f59-4165-9e98-c2b0a5c431d1", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 952166, - "start": 1776194892165519054 + "duration": 378125, + "start": 1777053620597475927 }], [ { @@ -128,25 +128,25 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954c00000000", + "_dd.p.tid": "69ebafb400000000", "_dd.svc_src": "rq_worker", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", - "job.id": "8a2dd6d3-ff6e-41c5-99db-a40fcd7b23c1", + "job.id": "7a3f6cc1-7640-4a3a-9192-66e2849d0712", "job.origin": "q", "job.status": "finished", "language": "python", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "consumer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 2653916, - "start": 1776194892171504304 + "duration": 2624792, + "start": 1777053620601984885 }, { "name": "rq.job.perform", @@ -161,8 +161,8 @@ "_dd.base_service": "tests.contrib.rq", "_dd.svc_src": "rq", "component": "rq", - "job.id": "8a2dd6d3-ff6e-41c5-99db-a40fcd7b23c1" + "job.id": "7a3f6cc1-7640-4a3a-9192-66e2849d0712" }, - "duration": 338042, - "start": 1776194892172249845 + "duration": 257125, + "start": 1777053620602850135 }]] diff --git a/tests/snapshots/tests.contrib.rq.test_rq.test_worker_failing_job.json b/tests/snapshots/tests.contrib.rq.test_rq.test_worker_failing_job.json index 70d70113d52..68075eddd45 100644 --- a/tests/snapshots/tests.contrib.rq.test_rq.test_worker_failing_job.json +++ b/tests/snapshots/tests.contrib.rq.test_rq.test_worker_failing_job.json @@ -11,23 +11,77 @@ "meta": { "_dd.base_service": "tests.contrib.rq", "_dd.p.dm": "-0", - "_dd.p.tid": "69de954800000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69ebafae00000000", + "_dd.svc_src": "rq", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", "component": "rq", "job.func_name": "tests.contrib.rq.jobs.job_fail", - "job.id": "b65d1144-bc68-45d8-9460-69f3bb617f1c", + "job.id": "b3ab4392-cbf4-41f2-bc8c-15c9e938baa2", "language": "python", "queue.name": "q", - "runtime-id": "6a01082606b940feb84197d38404ca13", + "runtime-id": "c291c5d77b15483685e620c76193a901", "span.kind": "producer" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 62795.0 + "process_id": 45019.0 }, - "duration": 1249416, - "start": 1776194888091495052 - }]] + "duration": 1491792, + "start": 1777053614517613632 + }], +[ + { + "name": "rq.worker.perform_job", + "service": "rq-worker", + "resource": "tests.contrib.rq.jobs.job_fail", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "worker", + "error": 1, + "meta": { + "_dd.base_service": "tests.contrib.rq", + "_dd.p.dm": "-0", + "_dd.p.tid": "69ebafae00000000", + "_dd.svc_src": "rq_worker", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.rq", + "component": "rq", + "job.id": "b3ab4392-cbf4-41f2-bc8c-15c9e938baa2", + "job.origin": "q", + "job.status": "failed", + "language": "python", + "runtime-id": "c291c5d77b15483685e620c76193a901", + "span.kind": "consumer" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 45019.0 + }, + "duration": 4820292, + "start": 1777053614525172257 + }, + { + "name": "rq.job.perform", + "service": "rq-worker", + "resource": "tests.contrib.rq.jobs.job_fail", + "trace_id": 1, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 1, + "meta": { + "_dd.base_service": "tests.contrib.rq", + "_dd.svc_src": "rq", + "component": "rq", + "error.message": "error", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/rq/patch.py\", line 173, in traced_job_perform\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1278, in perform\n self._result = self._execute()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_pytest-randomly_rq/lib/python3.12/site-packages/rq/job.py\", line 1315, in _execute\n result = self.func(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/rq/jobs.py\", line 10, in job_fail\n raise MyException(\"error\")\ntests.contrib.rq.jobs.MyException: error\n", + "error.type": "tests.contrib.rq.jobs.MyException", + "job.id": "b3ab4392-cbf4-41f2-bc8c-15c9e938baa2" + }, + "duration": 803000, + "start": 1777053614525830924 + }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json new file mode 100644 index 00000000000..91c96352218 --- /dev/null +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json @@ -0,0 +1,29 @@ +[[ + { + "name": "internal", + "service": "tests.opentelemetry", + "resource": "async-function", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.p.dm": "-0", + "_dd.p.tid": "69ebaf3000000000", + "_dd.svc_src": "tests.opentelemetry", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", + "language": "python", + "runtime-id": "e20749b9e12e47779df8e789a0ae8079", + "test-attribute1": "before-sleep", + "test-attribute2": "after-sleep" + }, + "metrics": { + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 43109.0 + }, + "duration": 13415375, + "start": 1777053488147886963 + }]] From 04820883d2216eed8c43cf9570fc8d67cffec930 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 11:32:09 -0700 Subject: [PATCH 096/114] update a bunch of snapshots affected by the fix --- tests/contrib/django/test_django.py | 4 +- tests/contrib/flask/test_blueprint.py | 2 +- tests/contrib/flask/test_errorhandler.py | 2 +- ...ume_many_distributed_tracing_enabled].json | 10 ++--- ...sume_one_distributed_tracing_enabled].json | 6 +-- ...me_many_distributed_tracing_disabled].json | 10 ++--- ...s_does_not_generate_client_grpc_spans.json | 37 +++++++++++++++++++ 7 files changed, 54 insertions(+), 17 deletions(-) create mode 100644 tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json diff --git a/tests/contrib/django/test_django.py b/tests/contrib/django/test_django.py index 01f57936c0f..a948d56032c 100644 --- a/tests/contrib/django/test_django.py +++ b/tests/contrib/django/test_django.py @@ -1636,7 +1636,7 @@ def test_cached_view(): assert span_header.error == 0 expected_meta_view = { - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django", "django.cache.backend": "django.core.cache.backends.locmem.LocMemCache", "django.cache.key": ( @@ -1646,7 +1646,7 @@ def test_cached_view(): } expected_meta_header = { - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django", "django.cache.backend": "django.core.cache.backends.locmem.LocMemCache", "django.cache.key": "views.decorators.cache.cache_header..03cdc1cc4aab71b038a6764e5fcabb82.en-us", diff --git a/tests/contrib/flask/test_blueprint.py b/tests/contrib/flask/test_blueprint.py index cc083bcb80d..00d76d77005 100644 --- a/tests/contrib/flask/test_blueprint.py +++ b/tests/contrib/flask/test_blueprint.py @@ -47,5 +47,5 @@ def test(): self.assertEqual(span.resource, "/") self.assertNotEqual(span.parent_id, 0) self.assertEqual( - span.get_tags(), {"component": "flask", "_dd.base_service": "tests.contrib.flask", "_dd.svc_src": "m"} + span.get_tags(), {"component": "flask", "_dd.base_service": "tests.contrib.flask", "_dd.svc_src": "flask"} ) diff --git a/tests/contrib/flask/test_errorhandler.py b/tests/contrib/flask/test_errorhandler.py index 5203785a808..1b3cdeef399 100644 --- a/tests/contrib/flask/test_errorhandler.py +++ b/tests/contrib/flask/test_errorhandler.py @@ -6,7 +6,7 @@ from . import BaseFlaskTestCase -EXPECTED_METADATA = {"component": "flask", "_dd.base_service": "tests.contrib.flask", "_dd.svc_src": "m"} +EXPECTED_METADATA = {"component": "flask", "_dd.base_service": "tests.contrib.flask", "_dd.svc_src": "flask"} class FlaskErrorhandlerTestCase(BaseFlaskTestCase): diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json index 05db3e1f882..f181688672a 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e5200000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -61,7 +61,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e5100000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", @@ -94,7 +94,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "azure_eventhubs", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -119,7 +119,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92e5100000000", - "_dd.svc_src": "azure_eventhubs", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -144,7 +144,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92e5100000000", - "_dd.svc_src": "azure_eventhubs", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json index 4fb7a48aa65..a7f1a3697cb 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e3c00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -54,7 +54,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e3c00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", @@ -87,7 +87,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "azure_eventhubs", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "2e3400d9-aa1d-415f-ba66-3dcea93400e4", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json index f87c3d58bd1..fe4b692e662 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e3100000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -45,7 +45,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e3000000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", @@ -78,7 +78,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "azure_eventhubs", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -102,7 +102,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "azure_eventhubs", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -126,7 +126,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "azure_eventhubs", + "_dd.svc_src": "m", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", diff --git a/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json b/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json new file mode 100644 index 00000000000..8fc7c4254d7 --- /dev/null +++ b/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json @@ -0,0 +1,37 @@ +[[ + { + "name": "grpc", + "service": "grpc-server", + "resource": "/opentelemetry.proto.collector.logs.v1.LogsService/Export", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "grpc", + "error": 0, + "meta": { + "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.p.dm": "-0", + "_dd.p.tid": "69ebb6d400000000", + "_dd.svc_src": "grpc_server", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpp6968b9e,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "component": "grpc_server", + "grpc.method.kind": "unary", + "grpc.method.name": "Export", + "grpc.method.package": "opentelemetry.proto.collector.logs.v1", + "grpc.method.path": "/opentelemetry.proto.collector.logs.v1.LogsService/Export", + "grpc.method.service": "LogsService", + "language": "python", + "rpc.service": "opentelemetry.proto.collector.logs.v1.LogsService", + "runtime-id": "f663890b07f5442a93dbf05bbe38c269", + "span.kind": "server" + }, + "metrics": { + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 63736.0 + }, + "duration": 94291, + "start": 1777055444133299588 + }]] From a7f3cd2f77f8c1cecf491dc308e742de601cc494 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 12:06:52 -0700 Subject: [PATCH 097/114] update a bunch of snapshots affected by the fix --- tests/contrib/flask/test_views.py | 2 +- ...gger[async_consume_many_distributed_tracing_disabled].json | 4 ++-- ...igger[async_consume_one_distributed_tracing_disabled].json | 4 ++-- ...ubs_trigger[consume_many_distributed_tracing_enabled].json | 4 ++-- ...ubs_trigger[consume_one_distributed_tracing_disabled].json | 4 ++-- ...hubs_trigger[consume_one_distributed_tracing_enabled].json | 4 ++-- ...ueue_async_consume_many_distributed_tracing_disabled].json | 4 ++-- ...queue_async_consume_many_distributed_tracing_enabled].json | 4 ++-- ...queue_async_consume_one_distributed_tracing_disabled].json | 4 ++-- ...[queue_async_consume_one_distributed_tracing_enabled].json | 4 ++-- ...gger[queue_consume_many_distributed_tracing_disabled].json | 4 ++-- ...igger[queue_consume_many_distributed_tracing_enabled].json | 4 ++-- ...igger[queue_consume_one_distributed_tracing_disabled].json | 4 ++-- ...rigger[queue_consume_one_distributed_tracing_enabled].json | 2 +- ...opic_async_consume_many_distributed_tracing_disabled].json | 4 ++-- ...topic_async_consume_many_distributed_tracing_enabled].json | 4 ++-- ...topic_async_consume_one_distributed_tracing_disabled].json | 4 ++-- ...[topic_async_consume_one_distributed_tracing_enabled].json | 4 ++-- ...gger[topic_consume_many_distributed_tracing_disabled].json | 4 ++-- ...igger[topic_consume_many_distributed_tracing_enabled].json | 4 ++-- ...igger[topic_consume_one_distributed_tracing_disabled].json | 4 ++-- ...rigger[topic_consume_one_distributed_tracing_enabled].json | 4 ++-- 22 files changed, 42 insertions(+), 42 deletions(-) diff --git a/tests/contrib/flask/test_views.py b/tests/contrib/flask/test_views.py index acae520a49d..e4d3145333c 100644 --- a/tests/contrib/flask/test_views.py +++ b/tests/contrib/flask/test_views.py @@ -10,7 +10,7 @@ base_exception_name = "builtins.Exception" -EXPECTED_METADATA = {"component": "flask", "_dd.base_service": "tests.contrib.flask", "_dd.svc_src": "m"} +EXPECTED_METADATA = {"component": "flask", "_dd.base_service": "tests.contrib.flask", "_dd.svc_src": "flask"} class FlaskViewTestCase(BaseFlaskTestCase): diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json index e11ae47c037..fd008f70bbe 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e5d00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -45,7 +45,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e5d00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json index 981922d29a1..d4811691218 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e4700000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -45,7 +45,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e4700000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json index a58c814f82c..80835a35c3a 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e2600000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -61,7 +61,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e2600000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_batch", "aas.function.trigger": "Http", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json index f99141cc2ea..c7c74042928 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e1b00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -45,7 +45,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e1a00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json index de3a518367e..625800fb38b 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e1000000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "eventhub", "aas.function.trigger": "EventHubs", @@ -54,7 +54,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92e0f00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "send_event", "aas.function.trigger": "Http", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json index 683c3af61b8..4a0d000b560 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a2700000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", @@ -120,7 +120,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a2800000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json index 6518388f301..ce9c06e36e2 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a1d00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", @@ -138,7 +138,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a1e00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json index 08657e2407e..4f5eaacd066 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a1200000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a1300000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json index d48fcca0b61..e888f434381 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_async_consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a0700000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a0800000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json index f74c7344104..01f1a2bcd16 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929fd00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", @@ -120,7 +120,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929fd00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json index 7339a76c7da..7a66257d175 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929f100000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_message_batch", "aas.function.trigger": "Http", @@ -138,7 +138,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929f200000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json index 263c8559f2d..ef36ec1ccd5 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929e600000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", "aas.function.trigger": "Http", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e929e700000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebusqueue", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json index bff53fb9d6a..9903eeaaaf8 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json @@ -9,7 +9,7 @@ "type": "serverless", "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69eba56600000000", + "_dd.p.tid": "69e9293d00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "queue_send_single_message", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json index 26a41bc39a0..5bc8687b115 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92b2d00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", @@ -120,7 +120,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92b2d00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json index cd3ad2cd1cb..1a7c1e3c90f 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a7200000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", @@ -138,7 +138,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a7200000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json index 526083cf998..286c350e1e1 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a6700000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a6800000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json index 72e17feb8d9..05099ab3a37 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_async_consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a5c00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a5d00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json index 589215d67ad..8f8905d9427 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a5100000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", @@ -120,7 +120,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a5200000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json index 669600ab7a9..f58e99727f1 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_many_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a4700000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_message_batch", "aas.function.trigger": "Http", @@ -138,7 +138,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a4800000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json index 938cc928abe..953d94745f8 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_disabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a3d00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a3d00000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json index 90d0cf62f49..63ae90fd9d3 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[topic_consume_one_distributed_tracing_enabled].json @@ -10,7 +10,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a3200000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "topic_send_single_message", "aas.function.trigger": "Http", @@ -70,7 +70,7 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e92a3300000000", - "_dd.svc_src": "test-func", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "servicebustopic", "aas.function.trigger": "ServiceBus", From 4f5762bb0c7dfd435d8f57c6150c9c0273c67479 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 12:32:48 -0700 Subject: [PATCH 098/114] update a bunch of snapshots affected by the fix --- ...ger[async_consume_many_distributed_tracing_enabled].json | 6 +++--- ...gger[async_consume_one_distributed_tracing_enabled].json | 2 +- ..._trigger[consume_many_distributed_tracing_disabled].json | 6 +++--- ...gger[queue_consume_one_distributed_tracing_enabled].json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json index f181688672a..917787dca51 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_many_distributed_tracing_enabled].json @@ -94,7 +94,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -119,7 +119,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92e5100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -144,7 +144,7 @@ "meta": { "_dd.base_service": "test-func", "_dd.p.tid": "69e92e5100000000", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json index a7f1a3697cb..353d939d46c 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[async_consume_one_distributed_tracing_enabled].json @@ -87,7 +87,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.message_id": "2e3400d9-aa1d-415f-ba66-3dcea93400e4", diff --git a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json index fe4b692e662..4f68a848bd8 100644 --- a/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_eventhubs.test_azure_functions_snapshot.test_event_hubs_trigger[consume_many_distributed_tracing_disabled].json @@ -78,7 +78,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -102,7 +102,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.destination.name": "eh1", "messaging.operation": "create", @@ -126,7 +126,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_eventhubs", "component": "azure_eventhubs", "messaging.batch_count": "2", "messaging.destination.name": "eh1", diff --git a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json index 9903eeaaaf8..b8bc6141253 100644 --- a/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json +++ b/tests/snapshots/tests.contrib.azure_functions_servicebus.test_azure_functions_snapshot.test_service_bus_trigger[queue_consume_one_distributed_tracing_enabled].json @@ -43,7 +43,7 @@ "type": "worker", "meta": { "_dd.base_service": "test-func", - "_dd.svc_src": "m", + "_dd.svc_src": "azure_servicebus", "component": "azure_servicebus", "messaging.destination.name": "queue.1", "messaging.message_id": "5402356d-8ad7-42f6-a6b7-c39ad785670d", From aaa04156205b3147380ee7d8c6d274dc129604bd Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 24 Apr 2026 13:30:03 -0700 Subject: [PATCH 099/114] reno --- .../notes/svc-src-multi-defaults-8fc529fc93537b0a.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 releasenotes/notes/svc-src-multi-defaults-8fc529fc93537b0a.yaml diff --git a/releasenotes/notes/svc-src-multi-defaults-8fc529fc93537b0a.yaml b/releasenotes/notes/svc-src-multi-defaults-8fc529fc93537b0a.yaml new file mode 100644 index 00000000000..1dd2eea21ab --- /dev/null +++ b/releasenotes/notes/svc-src-multi-defaults-8fc529fc93537b0a.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + tracing: This change fixes an issue in which `svc_src` is set to `m` in cases where `service` matches the `_default_service` of an active integration config. + In such cases, the intended behavior is that it `svc_src` is equal to `service`. #17712 From 5bc977601f1a6d30e99ce7ce4d3449d583b1def3 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Mon, 27 Apr 2026 10:08:25 -0700 Subject: [PATCH 100/114] undo --- .riot/requirements/145ed9e.txt | 28 ++++++++++++++++++++++++++++ .riot/requirements/1e60e3c.txt | 28 ++++++++++++++++++++++++++++ .riot/requirements/1e62aea.txt | 30 ++++++++++++++++++++++++++++++ .riot/requirements/c2420c2.txt | 30 ++++++++++++++++++++++++++++++ riotfile.py | 2 +- 5 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 .riot/requirements/145ed9e.txt create mode 100644 .riot/requirements/1e60e3c.txt create mode 100644 .riot/requirements/1e62aea.txt create mode 100644 .riot/requirements/c2420c2.txt diff --git a/.riot/requirements/145ed9e.txt b/.riot/requirements/145ed9e.txt new file mode 100644 index 00000000000..1ed63062633 --- /dev/null +++ b/.riot/requirements/145ed9e.txt @@ -0,0 +1,28 @@ +# +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: +# +# pip-compile --allow-unsafe --no-annotate .riot/requirements/145ed9e.in +# +attrs==26.1.0 +azure-functions==1.10.1 +certifi==2026.4.22 +charset-normalizer==3.4.7 +coverage[toml]==7.10.7 +exceptiongroup==1.3.1 +hypothesis==6.45.0 +idna==3.13 +iniconfig==2.1.0 +mock==5.2.0 +opentracing==2.4.0 +packaging==26.2 +pluggy==1.6.0 +pygments==2.20.0 +pytest==8.4.2 +pytest-cov==7.1.0 +pytest-mock==3.15.1 +requests==2.32.5 +sortedcontainers==2.4.0 +tomli==2.4.1 +typing-extensions==4.15.0 +urllib3==2.6.3 diff --git a/.riot/requirements/1e60e3c.txt b/.riot/requirements/1e60e3c.txt new file mode 100644 index 00000000000..b248b3f484e --- /dev/null +++ b/.riot/requirements/1e60e3c.txt @@ -0,0 +1,28 @@ +# +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: +# +# pip-compile --allow-unsafe --no-annotate .riot/requirements/1e60e3c.in +# +attrs==26.1.0 +azure-functions==1.10.1 +certifi==2026.4.22 +charset-normalizer==3.4.7 +coverage[toml]==7.13.5 +exceptiongroup==1.3.1 +hypothesis==6.45.0 +idna==3.13 +iniconfig==2.3.0 +mock==5.2.0 +opentracing==2.4.0 +packaging==26.2 +pluggy==1.6.0 +pygments==2.20.0 +pytest==9.0.3 +pytest-cov==7.1.0 +pytest-mock==3.15.1 +requests==2.33.1 +sortedcontainers==2.4.0 +tomli==2.4.1 +typing-extensions==4.15.0 +urllib3==2.6.3 diff --git a/.riot/requirements/1e62aea.txt b/.riot/requirements/1e62aea.txt new file mode 100644 index 00000000000..65fd20f57a3 --- /dev/null +++ b/.riot/requirements/1e62aea.txt @@ -0,0 +1,30 @@ +# +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: +# +# pip-compile --allow-unsafe --no-annotate .riot/requirements/1e62aea.in +# +attrs==26.1.0 +azure-functions==1.24.0 +certifi==2026.4.22 +charset-normalizer==3.4.7 +coverage[toml]==7.13.5 +exceptiongroup==1.3.1 +hypothesis==6.45.0 +idna==3.13 +iniconfig==2.3.0 +markupsafe==3.0.3 +mock==5.2.0 +opentracing==2.4.0 +packaging==26.2 +pluggy==1.6.0 +pygments==2.20.0 +pytest==9.0.3 +pytest-cov==7.1.0 +pytest-mock==3.15.1 +requests==2.33.1 +sortedcontainers==2.4.0 +tomli==2.4.1 +typing-extensions==4.15.0 +urllib3==2.6.3 +werkzeug==3.1.8 diff --git a/.riot/requirements/c2420c2.txt b/.riot/requirements/c2420c2.txt new file mode 100644 index 00000000000..b6389da11c6 --- /dev/null +++ b/.riot/requirements/c2420c2.txt @@ -0,0 +1,30 @@ +# +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: +# +# pip-compile --allow-unsafe --no-annotate .riot/requirements/c2420c2.in +# +attrs==26.1.0 +azure-functions==1.24.0 +certifi==2026.4.22 +charset-normalizer==3.4.7 +coverage[toml]==7.10.7 +exceptiongroup==1.3.1 +hypothesis==6.45.0 +idna==3.13 +iniconfig==2.1.0 +markupsafe==3.0.3 +mock==5.2.0 +opentracing==2.4.0 +packaging==26.2 +pluggy==1.6.0 +pygments==2.20.0 +pytest==8.4.2 +pytest-cov==7.1.0 +pytest-mock==3.15.1 +requests==2.32.5 +sortedcontainers==2.4.0 +tomli==2.4.1 +typing-extensions==4.15.0 +urllib3==2.6.3 +werkzeug==3.1.8 diff --git a/riotfile.py b/riotfile.py index 645de1e27fc..934e8abd346 100644 --- a/riotfile.py +++ b/riotfile.py @@ -3345,7 +3345,7 @@ def select_pys(min_version: str = MIN_PYTHON_VERSION, max_version: str = MAX_PYT Venv( name="azure_functions", command="pytest {cmdargs} tests/contrib/azure_functions", - pys=select_pys(min_version="3.11", max_version="3.13"), + pys=select_pys(min_version="3.9", max_version="3.13"), pkgs={ "azure.functions": ["~=1.10.1", latest], "requests": latest, From 3042bf940a82f512696f4ce6bbecc643e2f38287 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Mon, 27 Apr 2026 10:10:28 -0700 Subject: [PATCH 101/114] undo --- .riot/requirements/145ed9e.txt | 24 +++++++++++------------ .riot/requirements/1e60e3c.txt | 30 ++++++++++++++-------------- .riot/requirements/1e62aea.txt | 36 +++++++++++++++++----------------- .riot/requirements/c2420c2.txt | 30 ++++++++++++++-------------- 4 files changed, 60 insertions(+), 60 deletions(-) diff --git a/.riot/requirements/145ed9e.txt b/.riot/requirements/145ed9e.txt index 1ed63062633..b50f3b331e7 100644 --- a/.riot/requirements/145ed9e.txt +++ b/.riot/requirements/145ed9e.txt @@ -4,25 +4,25 @@ # # pip-compile --allow-unsafe --no-annotate .riot/requirements/145ed9e.in # -attrs==26.1.0 +attrs==25.3.0 azure-functions==1.10.1 -certifi==2026.4.22 -charset-normalizer==3.4.7 -coverage[toml]==7.10.7 -exceptiongroup==1.3.1 +certifi==2025.8.3 +charset-normalizer==3.4.3 +coverage[toml]==7.10.6 +exceptiongroup==1.3.0 hypothesis==6.45.0 -idna==3.13 +idna==3.10 iniconfig==2.1.0 mock==5.2.0 opentracing==2.4.0 -packaging==26.2 +packaging==25.0 pluggy==1.6.0 -pygments==2.20.0 +pygments==2.19.2 pytest==8.4.2 -pytest-cov==7.1.0 -pytest-mock==3.15.1 +pytest-cov==7.0.0 +pytest-mock==3.15.0 requests==2.32.5 sortedcontainers==2.4.0 -tomli==2.4.1 +tomli==2.2.1 typing-extensions==4.15.0 -urllib3==2.6.3 +urllib3==2.5.0 diff --git a/.riot/requirements/1e60e3c.txt b/.riot/requirements/1e60e3c.txt index b248b3f484e..3c6fe32e5d6 100644 --- a/.riot/requirements/1e60e3c.txt +++ b/.riot/requirements/1e60e3c.txt @@ -4,25 +4,25 @@ # # pip-compile --allow-unsafe --no-annotate .riot/requirements/1e60e3c.in # -attrs==26.1.0 +attrs==25.3.0 azure-functions==1.10.1 -certifi==2026.4.22 -charset-normalizer==3.4.7 -coverage[toml]==7.13.5 -exceptiongroup==1.3.1 +certifi==2025.8.3 +charset-normalizer==3.4.3 +coverage[toml]==7.10.6 +exceptiongroup==1.3.0 hypothesis==6.45.0 -idna==3.13 -iniconfig==2.3.0 +idna==3.10 +iniconfig==2.1.0 mock==5.2.0 opentracing==2.4.0 -packaging==26.2 +packaging==25.0 pluggy==1.6.0 -pygments==2.20.0 -pytest==9.0.3 -pytest-cov==7.1.0 -pytest-mock==3.15.1 -requests==2.33.1 +pygments==2.19.2 +pytest==8.4.2 +pytest-cov==7.0.0 +pytest-mock==3.15.0 +requests==2.32.5 sortedcontainers==2.4.0 -tomli==2.4.1 +tomli==2.2.1 typing-extensions==4.15.0 -urllib3==2.6.3 +urllib3==2.5.0 diff --git a/.riot/requirements/1e62aea.txt b/.riot/requirements/1e62aea.txt index 65fd20f57a3..42a8f487e92 100644 --- a/.riot/requirements/1e62aea.txt +++ b/.riot/requirements/1e62aea.txt @@ -4,27 +4,27 @@ # # pip-compile --allow-unsafe --no-annotate .riot/requirements/1e62aea.in # -attrs==26.1.0 -azure-functions==1.24.0 -certifi==2026.4.22 -charset-normalizer==3.4.7 -coverage[toml]==7.13.5 -exceptiongroup==1.3.1 +attrs==25.3.0 +azure-functions==1.23.0 +certifi==2025.8.3 +charset-normalizer==3.4.3 +coverage[toml]==7.10.6 +exceptiongroup==1.3.0 hypothesis==6.45.0 -idna==3.13 -iniconfig==2.3.0 -markupsafe==3.0.3 +idna==3.10 +iniconfig==2.1.0 +markupsafe==3.0.2 mock==5.2.0 opentracing==2.4.0 -packaging==26.2 +packaging==25.0 pluggy==1.6.0 -pygments==2.20.0 -pytest==9.0.3 -pytest-cov==7.1.0 -pytest-mock==3.15.1 -requests==2.33.1 +pygments==2.19.2 +pytest==8.4.2 +pytest-cov==7.0.0 +pytest-mock==3.15.0 +requests==2.32.5 sortedcontainers==2.4.0 -tomli==2.4.1 +tomli==2.2.1 typing-extensions==4.15.0 -urllib3==2.6.3 -werkzeug==3.1.8 +urllib3==2.5.0 +werkzeug==3.1.3 diff --git a/.riot/requirements/c2420c2.txt b/.riot/requirements/c2420c2.txt index b6389da11c6..af6d5069725 100644 --- a/.riot/requirements/c2420c2.txt +++ b/.riot/requirements/c2420c2.txt @@ -4,27 +4,27 @@ # # pip-compile --allow-unsafe --no-annotate .riot/requirements/c2420c2.in # -attrs==26.1.0 -azure-functions==1.24.0 -certifi==2026.4.22 -charset-normalizer==3.4.7 -coverage[toml]==7.10.7 -exceptiongroup==1.3.1 +attrs==25.3.0 +azure-functions==1.23.0 +certifi==2025.8.3 +charset-normalizer==3.4.3 +coverage[toml]==7.10.6 +exceptiongroup==1.3.0 hypothesis==6.45.0 -idna==3.13 +idna==3.10 iniconfig==2.1.0 -markupsafe==3.0.3 +markupsafe==3.0.2 mock==5.2.0 opentracing==2.4.0 -packaging==26.2 +packaging==25.0 pluggy==1.6.0 -pygments==2.20.0 +pygments==2.19.2 pytest==8.4.2 -pytest-cov==7.1.0 -pytest-mock==3.15.1 +pytest-cov==7.0.0 +pytest-mock==3.15.0 requests==2.32.5 sortedcontainers==2.4.0 -tomli==2.4.1 +tomli==2.2.1 typing-extensions==4.15.0 -urllib3==2.6.3 -werkzeug==3.1.8 +urllib3==2.5.0 +werkzeug==3.1.3 From 7ca669962c91c711f085dd7e1ba50e7f7b4414ff Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Tue, 28 Apr 2026 10:16:53 -0700 Subject: [PATCH 102/114] don't set svc_source when service is default --- ddtrace/_trace/tracer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddtrace/_trace/tracer.py b/ddtrace/_trace/tracer.py index a69d6b87b93..2dbddb8a26e 100644 --- a/ddtrace/_trace/tracer.py +++ b/ddtrace/_trace/tracer.py @@ -506,7 +506,7 @@ def start_span( service = parent.service service_source = parent.get_tag(_SERVICE_SOURCE) or "" else: - service = service_source = config.service + service = config.service else: if service in [ getattr(conf, "_default_service", None) for conf in config._integration_configs.values() if conf From 9b20874871b7cc2decc8a633e7850064682cb8f3 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 29 Apr 2026 07:09:48 -0700 Subject: [PATCH 103/114] avoid "m" when service is default --- ddtrace/contrib/internal/trace_utils.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ddtrace/contrib/internal/trace_utils.py b/ddtrace/contrib/internal/trace_utils.py index 14c85c36e91..d0a35be989f 100644 --- a/ddtrace/contrib/internal/trace_utils.py +++ b/ddtrace/contrib/internal/trace_utils.py @@ -400,14 +400,13 @@ def set_service_and_source( span.set_tag(_SERVICE_SOURCE, "opt.split_by_domain") # NB "not service" here makes svc_src make sense in cases of service inheritance elif not service or service == int_config.get(default_service_key): - span.set_tag( - _SERVICE_SOURCE, - getattr( - int_config, - "integration_name", - int_config.get("integration_name", "m") if hasattr(int_config, "get") else "m", - ), + service_source = getattr( + int_config, + "integration_name", + int_config.get("integration_name", "") if hasattr(int_config, "get") else "", ) + if service_source: + span.set_tag(_SERVICE_SOURCE, service_source) if service: span.service = service From cdbb85604349dee7259b426c064397f8a9b07fdc Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Wed, 29 Apr 2026 10:38:16 -0700 Subject: [PATCH 104/114] update a bunch of snapshots affected by the fix --- tests/contrib/flask/test_flask_helpers.py | 1 - ...t_aiohttp_client.test_trace_parenting.json | 3 - ...nja2.test_template_rendering_snapshot.json | 1 - ...pg.test_configure_service_name_env_v0.json | 2 - ...pg.test_configure_service_name_env_v1.json | 2 - ...b.asyncpg.test_asyncpg.test_parenting.json | 5 - ..._handlers[ClassHandler-class_handler].json | 18 +- ...andlers[StaticHandler-static_handler].json | 18 +- ...d_handlers[handler2-instance_handler].json | 18 +- ...[handler3-instance_handler_with_code].json | 18 +- ...a.test_continue_on_early_trace_ending.json | 11 +- ...da.test_aws_lambda.test_file_patching.json | 11 +- ....test_aws_lambda.test_module_patching.json | 11 +- ..._aws_lambda.test_timeout_traces[-100].json | 18 +- ...t_aws_lambda.test_timeout_traces[100].json | 18 +- ...st_aws_lambda.test_timeout_traces[10].json | 18 +- ...t_aws_lambda.test_timeout_traces[200].json | 18 +- ...st_claude_agent_sdk.test_client_query.json | 4 - ...ude_agent_sdk.test_client_query_error.json | 1 - ..._sdk.test_claude_agent_sdk.test_query.json | 4 - ...est_claude_agent_sdk.test_query_error.json | 2 - ...ent_sdk.test_query_with_bash_tool_use.json | 7 - ...ent_sdk.test_query_with_grep_tool_use.json | 7 - ...ent_sdk.test_query_with_read_tool_use.json | 7 - ...ib.crewai.test_crewai.test_basic_crew.json | 13 - ....crewai.test_crewai.test_complex_flow.json | 16 - ...wai.test_crewai.test_conditional_crew.json | 14 - ...est_crewai.test_crew_with_async_tasks.json | 14 - ...rewai.test_crewai.test_crew_with_tool.json | 8 - ...ai.test_crewai.test_hierarchical_crew.json | 34 -- ...b.crewai.test_crewai.test_simple_flow.json | 7 - ...aceAPITestCase.test_current_root_span.json | 18 +- ....DDTraceAPITestCase.test_current_span.json | 11 +- ...TraceAPITestCase.test_exc_info_caught.json | 11 +- ....DDTraceAPITestCase.test_set_exc_info.json | 11 +- ...tion.DDTraceAPITestCase.test_set_tags.json | 11 +- ...DDTraceAPITestCase.test_set_traceback.json | 11 +- ...n.DDTraceAPITestCase.test_span_finish.json | 11 +- ...tCase.test_span_finish_with_ancestors.json | 18 +- ...on.DDTraceAPITestCase.test_start_span.json | 11 +- ...gration.DDTraceAPITestCase.test_trace.json | 11 +- ...TraceAPITestCase.test_tracer_set_tags.json | 11 +- ...egration.DDTraceAPITestCase.test_wrap.json | 11 +- ..._appsec_snapshots.test_appsec_enabled.json | 50 +- ..._snapshots.test_appsec_enabled_attack.json | 50 +- ...pshots.test_request_ipblock_match_403.json | 50 +- ...s.test_request_ipblock_match_403_json.json | 50 +- ...hots.test_request_ipblock_nomatch_200.json | 50 +- ..._django_snapshots.test_404_exceptions.json | 156 +++--- ...go_snapshots.test_404_exceptions_111x.json | 307 ----------- ...ngo_snapshots.test_404_exceptions_18x.json | 258 --------- ...ngo_snapshots.test_404_exceptions_21x.json | 499 ----------------- ...est_django_snapshots.test_asgi_200_3x.json | 141 +++-- ...go_snapshots.test_asgi_200_simple_app.json | 1 - ...shots.test_asgi_200_traced_simple_app.json | 11 +- ...est_django_snapshots.test_asgi_500_3x.json | 158 +++--- ...napshots.test_django_resource_handler.json | 516 ------------------ ...apshots.test_djangoq_dd_trace_methods.json | 151 ++--- ...s.test_middleware_trace_callable_view.json | 136 +++-- ...t_middleware_trace_callable_view_111x.json | 291 ---------- ...st_middleware_trace_callable_view_21x.json | 435 --------------- ...t_middleware_trace_partial_based_view.json | 167 +++--- ...dleware_trace_partial_based_view_111x.json | 291 ---------- ...ddleware_trace_partial_based_view_21x.json | 435 --------------- ...snapshots.test_psycopg2_query_default.json | 44 +- ...ts.test_psycopg2_query_default[False].json | 37 -- ...ots.test_psycopg2_query_default[True].json | 37 -- ...snapshots.test_psycopg3_query_default.json | 44 +- ...o_snapshots.test_safe_string_encoding.json | 161 +++--- ...pshots.test_safe_string_encoding_111x.json | 344 ------------ ...t_django_snapshots.test_streamed_file.json | 136 +++-- ..._snapshots.test_templates_disabled_3x.json | 146 +++-- ...o_snapshots.test_templates_enabled_3x.json | 151 ++--- ...go_snapshots.test_urlpatterns_include.json | 136 +++-- ...cloud_pubsub.test_pubsub.test_publish.json | 4 - ...test_pubsub.test_publish_future_error.json | 2 - ..._pubsub.test_subscribe_callback_error.json | 6 - ...be_propagation_as_span_links_disabled.json | 9 +- ...ibe_propagation_as_span_links_enabled.json | 6 - ...b.test_subscribe_propagation_disabled.json | 6 - ...sh_subscription_creates_inferred_span.json | 3 - ...ion_error_propagates_to_inferred_span.json | 2 - ...ubscription_propagation_as_span_links.json | 3 - ...i.test_google_genai_chat_send_message.json | 1 - ...genai.test_google_genai_embed_content.json | 1 - ...test_google_genai_embed_content_error.json | 1 - ...ai.test_google_genai_generate_content.json | 1 - ...t_google_genai_generate_content_error.json | 1 - ..._google_genai_generate_content_stream.json | 1 - ...e_genai_generate_content_stream_error.json | 1 - ...gle_genai_generate_content_with_tools.json | 2 - ...rib.graphql.test_graphql.test_graphql.json | 4 - ...aphql.test_graphql.test_graphql_error.json | 3 - ....test_graphql_execute_with_middleware.json | 12 +- ...ql.test_graphql.test_graphql_fail_2.x.json | 6 - ...raphql_with_document_with_no_location.json | 2 - ...hql.test_graphql_with_traced_resolver.json | 5 - ...l.test_span_schematization[None-None].json | 4 - ...hql.test_span_schematization[None-v0].json | 4 - ...hql.test_span_schematization[None-v1].json | 4 - ..._span_schematization[my-service-None].json | 4 - ...st_span_schematization[my-service-v0].json | 4 - ...st_span_schematization[my-service-v1].json | 4 - ....contrib.kafka.test_kafka.test_commit.json | 2 - ...st_commit_with_consume_single_message.json | 2 - ...t_with_consume_with_multiple_messages.json | 3 - ...ka.test_kafka.test_commit_with_offset.json | 2 - ...kafka.test_commit_with_only_async_arg.json | 2 - ....kafka.test_kafka.test_message[False].json | 1 - ...b.kafka.test_kafka.test_message[True].json | 1 - ...span_service_and_operation[None-None].json | 2 - ...pan_service_and_operation[None-mysvc].json | 2 - ...d_span_service_and_operation[v0-None].json | 2 - ..._span_service_and_operation[v0-mysvc].json | 2 - ...d_span_service_and_operation[v1-None].json | 2 - ..._span_service_and_operation[v1-mysvc].json | 2 - ...afka.test_kafka.test_service_override.json | 2 - ...t_kafka.test_service_override_env_var.json | 2 - ...a_dsm.test_data_streams_kafka_enabled.json | 2 - ....test_langchain.test_base_tool_invoke.json | 1 - ...l_invoke_non_json_serializable_config.json | 1 - ....test_langchain.test_lcel_chain_batch.json | 2 - ...langchain.test_lcel_chain_batch_async.json | 2 - ...langchain.test_lcel_chain_complicated.json | 2 - ...gchain.test_lcel_chain_non_dict_input.json | 7 - ...test_langchain.test_lcel_chain_simple.json | 2 - ...angchain.test_lcel_chain_simple_async.json | 2 - ...gchain.test_lcel_with_tools_anthropic.json | 1 - ...langchain.test_lcel_with_tools_openai.json | 1 - ...test_openai_chat_model_async_generate.json | 1 - ...chat_model_sync_call_langchain_openai.json | 1 - ...odel_sync_call_langchain_openai_async.json | 1 - ....test_openai_chat_model_sync_generate.json | 1 - ...gchain.test_openai_embedding_document.json | 1 - ...langchain.test_openai_embedding_query.json | 1 - ....test_langchain.test_openai_llm_async.json | 1 - ....test_langchain.test_openai_llm_error.json | 1 - ...n.test_langchain.test_openai_llm_sync.json | 1 - ...test_openai_llm_sync_multiple_prompts.json | 1 - ...langchain.test_runnable_lambda_abatch.json | 10 - ...angchain.test_runnable_lambda_ainvoke.json | 1 - ..._langchain.test_runnable_lambda_batch.json | 10 - ...langchain.test_runnable_lambda_invoke.json | 1 - ...in.test_langchain.test_streamed_chain.json | 2 - ...ain.test_langchain.test_streamed_chat.json | 1 - ...st_streamed_chat_model_with_no_output.json | 1 - ...hain.test_streamed_json_output_parser.json | 2 - ...hain.test_langchain.test_streamed_llm.json | 1 - ...in.test_vectorstore_similarity_search.json | 3 - ....test_litellm.test_litellm_completion.json | 1 - ...itellm.test_litellm_router_completion.json | 2 - ...lflow.test_mlflow_context_manager_run.json | 3 - ....test_mlflow.test_mlflow_error_in_run.json | 2 - ...ow.test_mlflow.test_mlflow_manual_run.json | 3 - ...est_mlflow.test_mlflow_multiple_steps.json | 4 - ...ow.test_mlflow.test_mlflow_nested_run.json | 6 - ...ates_mlflow_tracing_and_log_injection.json | 2 - ...w_multithreaded_steps_on_the_same_run.json | 6 - ...ultithreaded_steps_specifying_new_run.json | 10 - ...ltithreaded_steps_specifying_same_run.json | 6 - ..._without_explicit_run_id_global_stack.json | 6 - ..._without_explicit_run_id_thread_local.json | 8 - ...b.openai.test_openai.test_acompletion.json | 1 - ...nai.test_azure_openai_chat_completion.json | 1 - ...t_openai.test_azure_openai_completion.json | 1 - ...st_openai.test_azure_openai_embedding.json | 1 - ...enai.test_openai.test_chat_completion.json | 1 - ...test_chat_completion_function_calling.json | 1 - ...enai.test_chat_completion_image_input.json | 1 - ...st_openai.test_chat_completion_stream.json | 1 - ...ib.openai.test_openai.test_completion.json | 1 - ...ai.test_openai.test_completion_stream.json | 1 - ...ai.test_openai.test_create_moderation.json | 1 - ...rib.openai.test_openai.test_embedding.json | 1 - ....test_embedding_array_of_token_arrays.json | 1 - ...st_openai.test_embedding_string_array.json | 1 - ...est_openai.test_embedding_token_array.json | 1 - ...b.openai.test_openai.test_file_create.json | 1 - ...b.openai.test_openai.test_file_delete.json | 1 - ...openai.test_openai.test_file_download.json | 1 - ...rib.openai.test_openai.test_file_list.json | 1 - ...openai.test_openai.test_file_retrieve.json | 1 - ...t_openai.test_image_b64_json_response.json | 1 - ....openai.test_openai.test_image_create.json | 1 - ...ontrib.openai.test_openai.test_misuse.json | 1 - ...st_openai.test_model_alist_pagination.json | 1 - ....openai.test_openai.test_model_delete.json | 1 - ...ib.openai.test_openai.test_model_list.json | 1 - ...est_openai.test_model_list_pagination.json | 1 - ...penai.test_openai.test_model_retrieve.json | 1 - ...trib.openai.test_openai.test_response.json | 1 - ...penai.test_openai.test_response_error.json | 1 - ...enai.test_openai.test_response_stream.json | 1 - ...penai.test_openai.test_response_tools.json | 1 - ...est_openai.test_response_tools_stream.json | 1 - ...enai.test_span_finish_on_stream_error.json | 1 - ..._openai_v1.test_chat_completion_parse.json | 1 - ...streamed_chat_completion_resp_returns.json | 1 - ...mpty_streamed_completion_resp_returns.json | 1 - ..._empty_streamed_response_resp_returns.json | 1 - ...test_openai_v1.test_integration_async.json | 1 - ...t_integration_service_name[None-None].json | 1 - ...est_integration_service_name[None-v0].json | 1 - ...est_integration_service_name[None-v1].json | 1 - ..._integration_service_name[mysvc-None].json | 1 - ...st_integration_service_name[mysvc-v0].json | 1 - ...st_integration_service_name[mysvc-v1].json | 1 - ....test_openai_v1.test_integration_sync.json | 1 - ...ai.test_openai_v1.test_response_parse.json | 1 - ...test_openai_agents.test_openai_agents.json | 7 - ...i_agents.test_openai_agents_streaming.json | 7 - ...openai_agents.test_openai_agents_sync.json | 7 - ...ts.test_openai_agents_with_tool_error.json | 13 - ...ic_ai.test_pydantic_ai.test_agent_run.json | 1 - ...test_pydantic_ai.test_agent_run_error.json | 1 - ...est_pydantic_ai.test_agent_with_tools.json | 4 - ...ont_include_lines_pct_if_report_empty.json | 118 ++-- ...e.test_starlette.test_background_task.json | 3 - ...ette.test_subapp_nested_call_snapshot.json | 2 - ...starlette.test_subapp_nested_snapshot.json | 3 - ...e.test_starlette.test_subapp_snapshot.json | 2 - ...st_starlette.test_subapp_two_snapshot.json | 2 - ...t_starlette.test_table_query_snapshot.json | 4 - ...est_vertexai.test_vertexai_completion.json | 1 - ...rtexai.test_vertexai_completion_error.json | 1 - ...vertexai_completion_multiple_messages.json | 1 - ...texai.test_vertexai_completion_stream.json | 1 - ...test_vertexai_completion_stream_error.json | 1 - ....test_vertexai_completion_stream_tool.json | 1 - ...est_vertexai_completion_system_prompt.json | 1 - ...ertexai.test_vertexai_completion_tool.json | 1 - ...t_snapshots.test_context_multiprocess.json | 22 +- ...al_flush_finished_counter_out_of_sync.json | 18 +- ...an_with_large_string_attributes[v0.4].json | 11 +- ...an_with_large_string_attributes[v0.5].json | 11 +- ...large_unicode_string_attributes[v0.4].json | 11 +- ...large_unicode_string_attributes[v0.5].json | 11 +- ...t_integration_snapshots.test_env_vars.json | 11 +- ...st_flush_spans_before_writer_recreate.json | 26 +- ...metrics_generates_no_error_logs[v0.4].json | 11 +- ...metrics_generates_no_error_logs[v0.5].json | 11 +- ...ignal_shutdown_flushes_traces_nostats.json | 17 +- ..._signal_shutdown_flushes_traces_stats.json | 13 +- ...tdown_flushes_traces_stats_tracestats.json | 2 +- ...tracetagsprocessor_only_adds_new_tags.json | 13 +- ..._sampling.test_agent_sample_rate_keep.json | 22 +- ...ampling.test_agent_sample_rate_reject.json | 22 +- ...ion.test_sampling_decision_downstream.json | 9 +- ...pling_float_special_case_do_not_match.json | 13 +- ...ampling_float_special_case_match_star.json | 39 +- ...est_extended_sampling_glob_multi_rule.json | 13 +- ...pling.test_extended_sampling_resource.json | 26 +- ..._extended_sampling_string_sample_rate.json | 13 +- ..._sampling.test_extended_sampling_tags.json | 26 +- ..._extended_sampling_tags_and_name_glob.json | 52 +- ...t_extended_sampling_tags_and_resource.json | 52 +- ...ended_sampling_tags_and_resource_glob.json | 52 +- ...tended_sampling_tags_and_service_glob.json | 52 +- ...ling.test_extended_sampling_tags_glob.json | 26 +- ...ling_tags_glob_insensitive_case_match.json | 26 +- ..._extended_sampling_tags_partial_match.json | 26 +- ...ng.test_extended_sampling_w_None_meta.json | 39 +- ...ling.test_extended_sampling_w_metrics.json | 39 +- ..._sampling.test_sampling_with_defaults.json | 20 +- ...pling.test_sampling_with_rate_limit_3.json | 20 +- ...e_sampling_match_non_root_span[false].json | 34 +- ...ce_sampling_match_non_root_span[true].json | 11 +- ..._match_non_root_span[true]_tracestats.json | 2 +- ...tch_root_span_partial_flushing[false].json | 22 +- ...atch_root_span_partial_flushing[true].json | 13 +- ...pan_partial_flushing[true]_tracestats.json | 2 +- ...n.test_trace_stats.test_measured_span.json | 200 ++----- ...t_trace_stats.test_sampling_rate[0.0].json | 110 ++-- ...ts.test_sampling_rate[0.0]_tracestats.json | 4 +- ...t_trace_stats.test_sampling_rate[1.0].json | 110 ++-- ...ts.test_sampling_rate[1.0]_tracestats.json | 4 +- ...ration.test_trace_stats.test_stats_30.json | 210 +++---- ...ion.test_trace_stats.test_stats_aggrs.json | 49 +- ...ace_stats.test_stats_aggrs_tracestats.json | 4 +- ...on.test_trace_stats.test_stats_errors.json | 210 +++---- ...ation.test_trace_stats.test_top_level.json | 300 ++++------ ....test_ddtrace_run_trace_methods_async.json | 44 +- ...s.test_ddtrace_run_trace_methods_sync.json | 75 ++- ...cess_tags.test_process_tags_activated.json | 4 - ...cess_tags.test_process_tags_edge_case.json | 1 - ..._process_tags.test_process_tags_error.json | 1 - ..._tags.test_process_tags_partial_flush.json | 5 - ...est_process_tags_user_defined_service.json | 4 - ...ext.test_otel_ddtrace_mixed_parenting.json | 16 - ...test_context.test_otel_multithreading.json | 29 - ...test_context.test_otel_span_parenting.json | 12 - ...start_as_current_span_decorator_async.json | 1 - ...t_context.test_otel_trace_across_fork.json | 2 - ...t.test_otel_trace_multiple_coroutines.json | 13 - ...cisions_across_processes[manual.drop].json | 2 - ...cisions_across_processes[manual.keep].json | 2 - ...s_does_not_generate_client_grpc_spans.json | 1 - ...y.test_span.test_otel_span_attributes.json | 3 - ..._span_attributes_overrides[override0].json | 1 - ..._span_attributes_overrides[override1].json | 1 - ..._span_attributes_overrides[override2].json | 1 - ..._span_attributes_overrides[override3].json | 1 - ..._span_attributes_overrides[override4].json | 1 - ...metry.test_span.test_otel_span_events.json | 2 - ...lemetry.test_span.test_otel_span_kind.json | 5 - ...race_with_flask_app[with_ddtrace_run].json | 14 +- ...sk_app[with_opentelemetry_instrument].json | 1 - ..._otel_start_as_current_span_decorator.json | 11 +- ..._start_current_span_with_default_args.json | 1 - ...art_current_span_without_default_args.json | 2 - ...est_otel_start_span_ignore_exceptions.json | 1 - ...test_otel_start_span_record_exception.json | 2 - ..._otel_start_span_without_default_args.json | 2 - 313 files changed, 2270 insertions(+), 6453 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_111x.json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_18x.json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_21x.json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_simple_app.json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_django_resource_handler.json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view_111x.json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view_21x.json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view_111x.json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view_21x.json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default[False].json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default[True].json delete mode 100644 tests/snapshots/tests.contrib.django.test_django_snapshots.test_safe_string_encoding_111x.json diff --git a/tests/contrib/flask/test_flask_helpers.py b/tests/contrib/flask/test_flask_helpers.py index 79ac414746a..54acc59bc82 100644 --- a/tests/contrib/flask/test_flask_helpers.py +++ b/tests/contrib/flask/test_flask_helpers.py @@ -54,7 +54,6 @@ def test_jsonify(self): assert set(spans[0].get_tags().keys()) == { "runtime-id", "_dd.p.dm", - "_dd.svc_src", "_dd.p.tid", "component", "language", diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json index 9688657a3e2..d05d1cb6bb2 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de729100000000", - "_dd.svc_src": "tests.contrib.aiohttp", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "language": "python", "runtime-id": "ee9feda0416e4d809184aae62cb36e25" @@ -35,7 +34,6 @@ "type": "http", "error": 0, "meta": { - "_dd.svc_src": "aiohttp_client", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -58,7 +56,6 @@ "error": 0, "meta": { "_dd.p.tid": "69de729100000000", - "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, "duration": 1111458, diff --git a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot.json b/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot.json index 5a2f013855c..3625697585d 100644 --- a/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot.json +++ b/tests/snapshots/tests.contrib.aiohttp_jinja2.test_aiohttp_jinja2.test_template_rendering_snapshot.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de72c200000000", - "_dd.svc_src": "tests.contrib.aiohttp_jinja2", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp_jinja2", "aiohttp.template": "/template.jinja2", "component": "aiohttp_jinja2", diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v0.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v0.json index b9893eb375b..a2e4c3d305d 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v0.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v0.json @@ -12,7 +12,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e127ce00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", @@ -48,7 +47,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69e127ce00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v1.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v1.json index a33fc4c35ff..7776a045bff 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v1.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_configure_service_name_env_v1.json @@ -13,7 +13,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e127ce00000000", "_dd.peer.service.source": "db.name", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", @@ -51,7 +50,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e127ce00000000", "_dd.peer.service.source": "db.name", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "asyncpg", "db.name": "postgres", diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json index f42b3e70bea..a73ce2d269d 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", "_dd.p.tid": "69e127cd00000000", - "_dd.svc_src": "asyncpg", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", @@ -47,7 +46,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e127cd00000000", - "_dd.svc_src": "tests.contrib.asyncpg", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "language": "python", "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2" @@ -72,7 +70,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.asyncpg", - "_dd.svc_src": "asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", @@ -102,7 +99,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e127cd00000000", - "_dd.svc_src": "tests.contrib.asyncpg", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "language": "python", "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2" @@ -130,7 +126,6 @@ "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", "_dd.p.tid": "69e127cd00000000", - "_dd.svc_src": "asyncpg", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[ClassHandler-class_handler].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[ClassHandler-class_handler].json index f235b805960..a77ddb14504 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[ClassHandler-class_handler].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[ClassHandler-class_handler].json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea42100000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c7c00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 276167, - "start": 1776198689257913925 + "duration": 157584, + "start": 1777482876496063666 }, { "name": "result-trace", @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.aws_lambda" - }, - "duration": 49000, - "start": 1776198689258092550 + "duration": 26667, + "start": 1777482876496167083 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[StaticHandler-static_handler].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[StaticHandler-static_handler].json index 49ad151775a..b1df66c0d96 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[StaticHandler-static_handler].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[StaticHandler-static_handler].json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea41700000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c7600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 420625, - "start": 1776198679667419670 + "duration": 274917, + "start": 1777482870409769553 }, { "name": "result-trace", @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.aws_lambda" - }, - "duration": 42166, - "start": 1776198679667738254 + "duration": 50584, + "start": 1777482870409953261 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler2-instance_handler].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler2-instance_handler].json index 52b5b117b05..bc5e50ab30c 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler2-instance_handler].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler2-instance_handler].json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea42100000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c7600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 223250, - "start": 1776198689295257508 + "duration": 195834, + "start": 1777482870425523261 }, { "name": "result-trace", @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.aws_lambda" - }, - "duration": 31583, - "start": 1776198689295413967 + "duration": 38083, + "start": 1777482870425647470 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler3-instance_handler_with_code].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler3-instance_handler_with_code].json index cfd146af8ed..0f2811eb555 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler3-instance_handler_with_code].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_class_based_handlers[handler3-instance_handler_with_code].json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea42100000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c8200000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 234666, - "start": 1776198689279849092 + "duration": 169583, + "start": 1777482882543120711 }, { "name": "result-trace", @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.aws_lambda" - }, - "duration": 38958, - "start": 1776198689280006925 + "duration": 24000, + "start": 1777482882543236836 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_continue_on_early_trace_ending.json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_continue_on_early_trace_ending.json index 2d95b986696..0a15b1498fc 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_continue_on_early_trace_ending.json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_continue_on_early_trace_ending.json @@ -10,18 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea41a00000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c7500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 214875, - "start": 1776198682696422339 + "duration": 289708, + "start": 1777482869884479011 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_file_patching.json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_file_patching.json index 5bde44ed7d5..2fc5655c23e 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_file_patching.json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_file_patching.json @@ -10,18 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea42100000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c8200000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 81250, - "start": 1776198689325546300 + "duration": 98000, + "start": 1777482882530744378 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_module_patching.json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_module_patching.json index d4f89cc486f..3ff982841d3 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_module_patching.json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_module_patching.json @@ -10,18 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea42100000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c7900000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 60334, - "start": 1776198689314807633 + "duration": 68791, + "start": 1777482873470514888 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[-100].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[-100].json index e81af2c3329..1950f1e54db 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[-100].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[-100].json @@ -10,22 +10,21 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea41b00000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c7900000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "error.message": "Datadog detected an Impending Timeout", "error.type": "Impending Timeout", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 207480917, - "start": 1776198683212460005 + "duration": 201103167, + "start": 1777482873482411596 }, { "name": "timeout", @@ -36,9 +35,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.aws_lambda" - }, - "duration": 207097584, - "start": 1776198683212727172 + "duration": 200919584, + "start": 1777482873482543679 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[100].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[100].json index 6af0a7e2222..5b3bf3b7e70 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[100].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[100].json @@ -10,22 +10,21 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea41e00000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c7c00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "error.message": "Datadog detected an Impending Timeout", "error.type": "Impending Timeout", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 204914125, - "start": 1776198686235209965 + "duration": 200498792, + "start": 1777482876508917291 }, { "name": "timeout", @@ -36,9 +35,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.aws_lambda" - }, - "duration": 204127750, - "start": 1776198686235705924 + "duration": 200307083, + "start": 1777482876509062375 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[10].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[10].json index 3adcaa977cd..58cb1efd398 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[10].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[10].json @@ -10,22 +10,21 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea42100000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c7600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "error.message": "Datadog detected an Impending Timeout", "error.type": "Impending Timeout", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 298035291, - "start": 1776198689336126842 + "duration": 292736458, + "start": 1777482870439059345 }, { "name": "timeout", @@ -36,9 +35,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.aws_lambda" - }, - "duration": 297748708, - "start": 1776198689336295842 + "duration": 292407709, + "start": 1777482870439188011 }]] diff --git a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[200].json b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[200].json index 3ce61721a50..a3a22bdfece 100644 --- a/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[200].json +++ b/tests/snapshots/tests.contrib.aws_lambda.test_aws_lambda.test_timeout_traces[200].json @@ -10,22 +10,21 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dea41700000000", - "_dd.svc_src": "tests.contrib.aws_lambda", + "_dd.p.tid": "69f23c7f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aws_lambda", "error.message": "Datadog detected an Impending Timeout", "error.type": "Impending Timeout", "language": "python", - "runtime-id": "a684e05d0a384664989624077f99be0b" + "runtime-id": "435578c192ea463496f59e205b1cdaa9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 88660.0 + "process_id": 39235.0 }, - "duration": 102742375, - "start": 1776198679679804379 + "duration": 100943125, + "start": 1777482879519520335 }, { "name": "timeout", @@ -36,9 +35,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.aws_lambda" - }, - "duration": 102551667, - "start": 1776198679679944295 + "duration": 100719666, + "start": 1777482879519690335 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json index 91edf82d8a8..f18a7342c8b 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6993800000000", - "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", @@ -36,9 +35,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json index add0b444992..8ede2d4f391 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6993800000000", - "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "error.message": "Mocked transport error for testing", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 84, in traced_client_query\n return await func(*wrapped_args, **wrapped_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/utils.py\", line 16, in _retrieve_context\n await instance.query(\"/context\")\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 58, in traced_client_query\n return await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\nValueError: Mocked transport error for testing\n", diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json index 4e646c49bbf..06ee3bb0d62 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6993800000000", - "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", @@ -36,9 +35,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json index 689490070be..2bcbc48e564 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6993800000000", - "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "error.message": "Connection failed", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/home/bits/project/tests/contrib/claude_agent_sdk/conftest.py\", line 136, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", @@ -39,7 +38,6 @@ "type": "", "error": 1, "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk", "error.message": "Connection failed", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/home/bits/project/tests/contrib/claude_agent_sdk/conftest.py\", line 136, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", "error.type": "builtins.ValueError" diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json index 3926ab8260a..3fb74044990 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6993800000000", - "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", @@ -36,9 +35,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, @@ -54,9 +50,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json index 5141968ba4d..dea0f5a9916 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6993800000000", - "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", @@ -36,9 +35,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, @@ -54,9 +50,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json index 8e7d822f638..f0a54328cd1 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6993800000000", - "_dd.svc_src": "tests.contrib.claude_agent_sdk", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", @@ -36,9 +35,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, @@ -54,9 +50,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_basic_crew.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_basic_crew.json index 812f62a3a4a..995049eff25 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_basic_crew.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_basic_crew.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6428c00000000", - "_dd.svc_src": "tests.contrib.crewai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -71,9 +64,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -89,9 +79,6 @@ "parent_id": 3, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_complex_flow.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_complex_flow.json index 5420ed097ea..35ebd4ea4d5 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_complex_flow.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_complex_flow.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6428e00000000", - "_dd.svc_src": "tests.contrib.crewai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -71,9 +64,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -89,9 +79,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -107,9 +94,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_conditional_crew.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_conditional_crew.json index 92beaa24457..b2a44ac69e1 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_conditional_crew.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_conditional_crew.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6428d00000000", - "_dd.svc_src": "tests.contrib.crewai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" @@ -36,7 +35,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.crewai", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { @@ -56,9 +54,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -74,9 +69,6 @@ "parent_id": 4, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -92,9 +84,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -110,9 +99,6 @@ "parent_id": 3, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_async_tasks.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_async_tasks.json index 38e65f50d2b..45cb14112da 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_async_tasks.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_async_tasks.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6428d00000000", - "_dd.svc_src": "tests.contrib.crewai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" @@ -36,7 +35,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.crewai", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { @@ -56,9 +54,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -74,9 +69,6 @@ "parent_id": 4, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -92,9 +84,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -110,9 +99,6 @@ "parent_id": 3, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_tool.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_tool.json index fc952017e3e..5b6bf38c28f 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_tool.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_crew_with_tool.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6428c00000000", - "_dd.svc_src": "tests.contrib.crewai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" @@ -36,7 +35,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.crewai", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" }, "metrics": { @@ -56,9 +54,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -74,9 +69,6 @@ "parent_id": 3, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_hierarchical_crew.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_hierarchical_crew.json index e3e7cd679b1..1458c684476 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_hierarchical_crew.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_hierarchical_crew.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6428d00000000", - "_dd.svc_src": "tests.contrib.crewai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -71,9 +64,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -89,9 +79,6 @@ "parent_id": 3, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -107,9 +94,6 @@ "parent_id": 6, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -125,9 +109,6 @@ "parent_id": 8, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -143,9 +124,6 @@ "parent_id": 10, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -161,9 +139,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -179,9 +154,6 @@ "parent_id": 4, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -197,9 +169,6 @@ "parent_id": 7, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -215,9 +184,6 @@ "parent_id": 9, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.crewai.test_crewai.test_simple_flow.json b/tests/snapshots/tests.contrib.crewai.test_crewai.test_simple_flow.json index 372a25f28d2..e492e7c0dc9 100644 --- a/tests/snapshots/tests.contrib.crewai.test_crewai.test_simple_flow.json +++ b/tests/snapshots/tests.contrib.crewai.test_crewai.test_simple_flow.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6428d00000000", - "_dd.svc_src": "tests.contrib.crewai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.crewai", "language": "python", "runtime-id": "6779cc59a5b84839a09ffe339a3c6f1c" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.crewai" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_root_span.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_root_span.json index d423655fca4..65f2144c111 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_root_span.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_root_span.json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 840250, - "start": 1776193187092345084 + "duration": 781125, + "start": 1777483030835190169 }, { "name": "web.other.request", @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.ddtrace_api" - }, - "duration": 218250, - "start": 1776193187092885417 + "duration": 211750, + "start": 1777483030835654877 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_span.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_span.json index e3b3935baf2..8e3ca7e58b4 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_span.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_current_span.json @@ -10,19 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "foobar": "banana", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 305875, - "start": 1776193187134855917 + "duration": 340250, + "start": 1777483030915767002 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_exc_info_caught.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_exc_info_caught.json index 6a7638415a0..7b146c6a82d 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_exc_info_caught.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_exc_info_caught.json @@ -10,21 +10,20 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "error.message": "", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/ddtrace_api/test_integration.py\", line 117, in test_exc_info_caught\n raise Exception\nException\n", "error.type": "builtins.Exception", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 582041, - "start": 1776193187175237584 + "duration": 559500, + "start": 1777483030982115127 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_exc_info.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_exc_info.json index 7d5f3cba43b..aa99d2d5f83 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_exc_info.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_exc_info.json @@ -10,21 +10,20 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "error.message": "", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/ddtrace_api/test_integration.py\", line 105, in test_set_exc_info\n raise Exception\nException\n", "error.type": "builtins.Exception", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 383167, - "start": 1776193187216256000 + "duration": 598416, + "start": 1777483031052791044 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_tags.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_tags.json index 727d7017dc1..49389155ed9 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_tags.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_tags.json @@ -10,11 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c", + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5", "tag1": "value1", "tag2": "value2" }, @@ -22,8 +21,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 234542, - "start": 1776193187260548000 + "duration": 271583, + "start": 1777483031125229919 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_traceback.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_traceback.json index 14f30becc77..3304c4401ba 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_traceback.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_set_traceback.json @@ -10,21 +10,20 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "error.message": "", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/ddtrace_api/test_integration.py\", line 95, in test_set_traceback\n raise Exception\nException\n", "error.type": "builtins.Exception", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 439333, - "start": 1776193187304303042 + "duration": 406083, + "start": 1777483031193579127 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish.json index 762d2785b2b..aa6bf5431f9 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish.json @@ -10,18 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 133791, - "start": 1776193187347583709 + "duration": 124667, + "start": 1777483031262191627 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish_with_ancestors.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish_with_ancestors.json index 6b2bb188856..eefabba6386 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish_with_ancestors.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_span_finish_with_ancestors.json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 317125, - "start": 1776193187389647875 + "duration": 252334, + "start": 1777483031333118335 }, { "name": "web.request", @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.ddtrace_api" - }, - "duration": 116583, - "start": 1776193187389820959 + "duration": 96375, + "start": 1777483031333251335 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_start_span.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_start_span.json index 6b072936e36..e155b3d31a0 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_start_span.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_start_span.json @@ -10,18 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 248708, - "start": 1776193187432477834 + "duration": 166584, + "start": 1777483031406992085 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_trace.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_trace.json index 1402b83290c..05ef2a67f88 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_trace.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_trace.json @@ -10,18 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 188500, - "start": 1776193187477085917 + "duration": 177042, + "start": 1777483031481462752 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_tracer_set_tags.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_tracer_set_tags.json index 857d9a5498e..070fe4b6220 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_tracer_set_tags.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_tracer_set_tags.json @@ -10,11 +10,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c", + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5", "tag1": "value1", "tag2": "value2" }, @@ -22,8 +21,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 138583, - "start": 1776193187522418209 + "duration": 100500, + "start": 1777483031558510669 }]] diff --git a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_wrap.json b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_wrap.json index 34749448c70..6de1d063ed2 100644 --- a/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_wrap.json +++ b/tests/snapshots/tests.contrib.ddtrace_api.test_integration.DDTraceAPITestCase.test_wrap.json @@ -10,18 +10,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de8ea300000000", - "_dd.svc_src": "tests.contrib.ddtrace_api", + "_dd.p.tid": "69f23d1700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.ddtrace_api", "language": "python", - "runtime-id": "b7b4ee4841414860848ed1877ed3798c" + "runtime-id": "d5b4970d4de945f3b5f0a1d4ed0ba9e5" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 55850.0 + "process_id": 39857.0 }, - "duration": 153917, - "start": 1776193187601615459 + "duration": 159375, + "start": 1777483031691740794 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled.json index 5b1c8df4d7d..d158ec0b875 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled.json @@ -69,7 +69,7 @@ "parent_id": 1, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1380333, @@ -84,7 +84,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 26000, @@ -99,7 +99,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1265292, @@ -114,7 +114,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 23834, @@ -129,7 +129,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1172875, @@ -144,7 +144,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 13709, @@ -159,7 +159,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1097292, @@ -174,7 +174,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 45375, @@ -189,7 +189,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1013041, @@ -204,7 +204,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 31125, @@ -219,7 +219,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 918541, @@ -234,7 +234,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 864833, @@ -249,7 +249,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 13125, @@ -264,7 +264,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 773500, @@ -279,7 +279,7 @@ "parent_id": 20, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 750542, @@ -294,7 +294,7 @@ "parent_id": 22, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 719000, @@ -309,7 +309,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 26667, @@ -324,7 +324,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 20209, @@ -339,7 +339,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 40625, @@ -354,7 +354,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 25250, @@ -369,7 +369,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 16750, @@ -384,7 +384,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 14042, @@ -399,7 +399,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 13000, @@ -414,7 +414,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 18250, @@ -429,7 +429,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 18875, diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled_attack.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled_attack.json index 05b7406e056..4969c60ea8d 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled_attack.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_appsec_enabled_attack.json @@ -126,7 +126,7 @@ "parent_id": 1, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 11457500, @@ -141,7 +141,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 34375, @@ -156,7 +156,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 11310084, @@ -171,7 +171,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 28375, @@ -186,7 +186,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 11119458, @@ -201,7 +201,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 15084, @@ -216,7 +216,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 11033583, @@ -231,7 +231,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 55125, @@ -246,7 +246,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 10935333, @@ -261,7 +261,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 38833, @@ -276,7 +276,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 10803375, @@ -291,7 +291,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 10731458, @@ -306,7 +306,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 14125, @@ -321,7 +321,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 10619375, @@ -336,7 +336,7 @@ "parent_id": 20, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 10593791, @@ -351,7 +351,7 @@ "parent_id": 22, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 10554000, @@ -366,7 +366,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 39666, @@ -381,7 +381,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 18834, @@ -396,7 +396,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 40084, @@ -411,7 +411,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 33125, @@ -426,7 +426,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 20042, @@ -441,7 +441,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 16583, @@ -456,7 +456,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 13750, @@ -471,7 +471,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 99250, @@ -486,7 +486,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 24083, diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403.json index afee52f74af..414665ea4df 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403.json @@ -108,7 +108,7 @@ "parent_id": 1, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1503000, @@ -123,7 +123,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 28500, @@ -138,7 +138,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1374750, @@ -153,7 +153,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 26833, @@ -168,7 +168,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1271958, @@ -183,7 +183,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 16542, @@ -198,7 +198,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1186750, @@ -213,7 +213,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 49667, @@ -228,7 +228,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1091042, @@ -243,7 +243,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 35625, @@ -258,7 +258,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 980625, @@ -273,7 +273,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 919833, @@ -288,7 +288,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 14833, @@ -303,7 +303,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 819875, @@ -318,7 +318,7 @@ "parent_id": 20, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 794333, @@ -333,7 +333,7 @@ "parent_id": 22, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 761333, @@ -348,7 +348,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 40625, @@ -363,7 +363,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 22000, @@ -378,7 +378,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 41083, @@ -393,7 +393,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 26459, @@ -408,7 +408,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 18584, @@ -423,7 +423,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 15542, @@ -438,7 +438,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 14250, @@ -453,7 +453,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 17708, @@ -468,7 +468,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 20833, diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403_json.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403_json.json index d9b97294587..e4deed98553 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403_json.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_match_403_json.json @@ -108,7 +108,7 @@ "parent_id": 1, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1535291, @@ -123,7 +123,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 30417, @@ -138,7 +138,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1399667, @@ -153,7 +153,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 27334, @@ -168,7 +168,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1292334, @@ -183,7 +183,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 16041, @@ -198,7 +198,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1204959, @@ -213,7 +213,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 51333, @@ -228,7 +228,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1106833, @@ -243,7 +243,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 49709, @@ -258,7 +258,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 977292, @@ -273,7 +273,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 898250, @@ -288,7 +288,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 15000, @@ -303,7 +303,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 797541, @@ -318,7 +318,7 @@ "parent_id": 20, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 771750, @@ -333,7 +333,7 @@ "parent_id": 22, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 738875, @@ -348,7 +348,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 29084, @@ -363,7 +363,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 22583, @@ -378,7 +378,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 41958, @@ -393,7 +393,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 27583, @@ -408,7 +408,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 35666, @@ -423,7 +423,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 17625, @@ -438,7 +438,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 14542, @@ -453,7 +453,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 18042, @@ -468,7 +468,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 21625, diff --git a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_nomatch_200.json b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_nomatch_200.json index b53008eac6c..4debbbc9fb5 100644 --- a/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_nomatch_200.json +++ b/tests/snapshots/tests.contrib.django.test_django_appsec_snapshots.test_request_ipblock_nomatch_200.json @@ -66,7 +66,7 @@ "parent_id": 1, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1502416, @@ -81,7 +81,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 28917, @@ -96,7 +96,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1373125, @@ -111,7 +111,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 25834, @@ -126,7 +126,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1270833, @@ -141,7 +141,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 15167, @@ -156,7 +156,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1188666, @@ -171,7 +171,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 46125, @@ -186,7 +186,7 @@ "parent_id": 10, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 1098792, @@ -201,7 +201,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 32333, @@ -216,7 +216,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 996375, @@ -231,7 +231,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 935000, @@ -246,7 +246,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 13542, @@ -261,7 +261,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 837541, @@ -276,7 +276,7 @@ "parent_id": 20, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 809542, @@ -291,7 +291,7 @@ "parent_id": 22, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 776791, @@ -306,7 +306,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 34958, @@ -321,7 +321,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 24709, @@ -336,7 +336,7 @@ "parent_id": 23, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 41584, @@ -351,7 +351,7 @@ "parent_id": 17, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 26291, @@ -366,7 +366,7 @@ "parent_id": 15, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 18084, @@ -381,7 +381,7 @@ "parent_id": 13, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 15458, @@ -396,7 +396,7 @@ "parent_id": 7, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 14084, @@ -411,7 +411,7 @@ "parent_id": 4, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 17750, @@ -426,7 +426,7 @@ "parent_id": 2, "meta": { "_dd.base_service": "", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, "duration": 20542, diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions.json index d370c941fe6..239b2b89577 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.django", "_dd.p.dm": "-0", - "_dd.p.tid": "699d707600000000", + "_dd.p.tid": "69f240ae00000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.django", "component": "django", "django.request.class": "django.core.handlers.wsgi.WSGIRequest", "django.response.class": "django.http.response.HttpResponseNotFound", @@ -23,7 +24,7 @@ "http.status_code": "404", "http.url": "http://testserver/404-view/", "language": "python", - "runtime-id": "e7c92b7f14ae4c4494117b59624f651c", + "runtime-id": "4c98917997474893bdbaf69a9b946bdc", "span.kind": "server" }, "metrics": { @@ -31,10 +32,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44289.0 + "process_id": 42212.0 }, - "duration": 13180459, - "start": 1771925622241443126 + "duration": 13373958, + "start": 1777483950448835886 }, { "name": "django.middleware", @@ -47,10 +48,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 8898458, - "start": 1771925622245157335 + "duration": 8549166, + "start": 1777483950453327803 }, { "name": "django.middleware", @@ -63,10 +65,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 103083, - "start": 1771925622245296960 + "duration": 52917, + "start": 1777483950453410219 }, { "name": "django.middleware", @@ -79,10 +82,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 8420959, - "start": 1771925622245483001 + "duration": 8269375, + "start": 1777483950453508553 }, { "name": "django.middleware", @@ -95,10 +99,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 105542, - "start": 1771925622245576543 + "duration": 59583, + "start": 1777483950453560386 }, { "name": "django.middleware", @@ -111,10 +116,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 7963083, - "start": 1771925622245776710 + "duration": 7962042, + "start": 1777483950453716261 }, { "name": "django.middleware", @@ -127,10 +133,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 63584, - "start": 1771925622245866876 + "duration": 40958, + "start": 1777483950453808178 }, { "name": "django.middleware", @@ -143,10 +150,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 7592250, - "start": 1771925622245998918 + "duration": 7705625, + "start": 1777483950453891803 }, { "name": "django.middleware", @@ -159,10 +167,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 82041, - "start": 1771925622246086710 + "duration": 39292, + "start": 1777483950453941844 }, { "name": "django.middleware", @@ -175,10 +184,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 7329583, - "start": 1771925622246230793 + "duration": 7563667, + "start": 1777483950454015011 }, { "name": "django.middleware", @@ -191,10 +201,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 155208, - "start": 1771925622246318793 + "duration": 69625, + "start": 1777483950454061969 }, { "name": "django.middleware", @@ -207,10 +218,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 6878583, - "start": 1771925622246538668 + "duration": 7327417, + "start": 1777483950454166511 }, { "name": "django.middleware", @@ -223,10 +235,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 6631333, - "start": 1771925622246631210 + "duration": 7176833, + "start": 1777483950454226136 }, { "name": "django.middleware", @@ -239,10 +252,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 54708, - "start": 1771925622246737418 + "duration": 30292, + "start": 1777483950454273761 }, { "name": "django.middleware", @@ -255,10 +269,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 6237375, - "start": 1771925622246856543 + "duration": 6962667, + "start": 1777483950454337886 }, { "name": "django.middleware", @@ -271,10 +286,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 6129333, - "start": 1771925622246934418 + "duration": 6901042, + "start": 1777483950454380886 }, { "name": "django.middleware", @@ -287,10 +303,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 6018083, - "start": 1771925622247013585 + "duration": 6834959, + "start": 1777483950454426719 }, { "name": "django.middleware", @@ -303,10 +320,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 61250, - "start": 1771925622247208376 + "duration": 33250, + "start": 1777483950454537053 }, { "name": "django.middleware", @@ -319,10 +337,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 51375, - "start": 1771925622247335210 + "duration": 29000, + "start": 1777483950454603094 }, { "name": "django.view", @@ -335,10 +354,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 75917, - "start": 1771925622247500043 + "duration": 45542, + "start": 1777483950454689136 }, { "name": "django.middleware", @@ -351,10 +371,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 65875, - "start": 1771925622247813335 + "duration": 31750, + "start": 1777483950454782844 }, { "name": "django.middleware", @@ -367,10 +388,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 106791, - "start": 1771925622251078460 + "duration": 53000, + "start": 1777483950458985511 }, { "name": "django.middleware", @@ -383,10 +405,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 54625, - "start": 1771925622251268585 + "duration": 34334, + "start": 1777483950459081094 }, { "name": "django.middleware", @@ -399,10 +422,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 62209, - "start": 1771925622252926126 + "duration": 64708, + "start": 1777483950461167678 }, { "name": "django.middleware", @@ -415,10 +439,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 72208, - "start": 1771925622253159210 + "duration": 45292, + "start": 1777483950461338469 }, { "name": "django.middleware", @@ -431,10 +456,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 62625, - "start": 1771925622253324501 + "duration": 37875, + "start": 1777483950461436678 }, { "name": "django.middleware", @@ -447,10 +473,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 52292, - "start": 1771925622253477876 + "duration": 31750, + "start": 1777483950461528261 }, { "name": "django.middleware", @@ -463,10 +490,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 46667, - "start": 1771925622253651126 + "duration": 29334, + "start": 1777483950461630344 }, { "name": "django.middleware", @@ -479,10 +507,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 70792, - "start": 1771925622253801751 + "duration": 47375, + "start": 1777483950461711178 }, { "name": "django.middleware", @@ -495,8 +524,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 58042, - "start": 1771925622253968043 + "duration": 37250, + "start": 1777483950461820761 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_111x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_111x.json deleted file mode 100644 index b7e2592aee8..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_111x.json +++ /dev/null @@ -1,307 +0,0 @@ -[[ - { - "name": "django.request", - "service": "django", - "resource": "GET 404", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "django", - "django.request.class": "django.core.handlers.wsgi.WSGIRequest", - "django.response.class": "django.http.response.HttpResponseNotFound", - "django.user.is_authenticated": "False", - "http.method": "GET", - "http.status_code": "404", - "http.url": "http://testserver/404-view/", - "language": "python", - "runtime-id": "c1d23bbd4985408db83cd1e7ff579898", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 44521 - }, - "duration": 7380000, - "start": 1692907166408337000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 98000, - "start": 1692907166408463000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_request", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 57000, - "start": 1692907166408593000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 4, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 30000, - "start": 1692907166408675000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 5, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 32000, - "start": 1692907166408729000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.SessionAuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 6, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 25000, - "start": 1692907166408784000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request", - "trace_id": 0, - "span_id": 7, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 44000, - "start": 1692907166408832000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_request", - "trace_id": 0, - "span_id": 8, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 28000, - "start": 1692907166408899000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 9, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 105000, - "start": 1692907166412240000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 10, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 38000, - "start": 1692907166412379000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 11, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 38000, - "start": 1692907166414659000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_response", - "trace_id": 0, - "span_id": 12, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 30000, - "start": 1692907166414730000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response", - "trace_id": 0, - "span_id": 13, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 35000, - "start": 1692907166414785000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response", - "trace_id": 0, - "span_id": 14, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 30000, - "start": 1692907166414845000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 15, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 26000, - "start": 1692907166414897000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_response", - "trace_id": 0, - "span_id": 16, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 34000, - "start": 1692907166414946000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response", - "trace_id": 0, - "span_id": 17, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 30000, - "start": 1692907166415003000 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_18x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_18x.json deleted file mode 100644 index a6d758cdc41..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_18x.json +++ /dev/null @@ -1,258 +0,0 @@ -[[ - { - "name": "django.request", - "service": "django", - "resource": "GET 404", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "django", - "django.request.class": "django.core.handlers.wsgi.WSGIRequest", - "django.response.class": "django.http.response.HttpResponseNotFound", - "django.user.is_authenticated": "False", - "http.method": "GET", - "http.status_code": "404", - "http.url": "http://testserver/404-view/", - "language": "python", - "runtime-id": "b527629f069c46a0b05ad2664effeeed", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 2392 - }, - "duration": 6524000, - "start": 1633584190406099000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 82000, - "start": 1633584190406274000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_request", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 65000, - "start": 1633584190406427000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 4, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 42000, - "start": 1633584190406553000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.SessionAuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 5, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 35000, - "start": 1633584190406652000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request", - "trace_id": 0, - "span_id": 6, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 72000, - "start": 1633584190406744000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_request", - "trace_id": 0, - "span_id": 7, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 37000, - "start": 1633584190406874000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 8, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 325000, - "start": 1633584190407138000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 9, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 43000, - "start": 1633584190411205000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_response", - "trace_id": 0, - "span_id": 10, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 37000, - "start": 1633584190411316000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response", - "trace_id": 0, - "span_id": 11, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 50000, - "start": 1633584190411414000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response", - "trace_id": 0, - "span_id": 12, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 39000, - "start": 1633584190411524000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 13, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 37000, - "start": 1633584190411621000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_response", - "trace_id": 0, - "span_id": 14, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 39000, - "start": 1633584190411963000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response", - "trace_id": 0, - "span_id": 15, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 47000, - "start": 1633584190412061000 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_21x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_21x.json deleted file mode 100644 index 82fa6e505cd..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_404_exceptions_21x.json +++ /dev/null @@ -1,499 +0,0 @@ -[[ - { - "name": "django.request", - "service": "django", - "resource": "GET tests.contrib.django.views.not_found_view", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "django", - "django.request.class": "django.core.handlers.wsgi.WSGIRequest", - "django.response.class": "django.http.response.HttpResponseNotFound", - "django.user.is_authenticated": "False", - "django.view": "404-view", - "http.method": "GET", - "http.status_code": "404", - "http.url": "http://testserver/404-view/", - "language": "python", - "runtime-id": "54fcb6332fb64604a63577be804e6d35", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11217 - }, - "duration": 1826000, - "start": 1669648104159130000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1418000, - "start": 1669648104159205000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 35000, - "start": 1669648104159227000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.__call__", - "trace_id": 0, - "span_id": 4, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1302000, - "start": 1669648104159285000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_request", - "trace_id": 0, - "span_id": 6, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 31000, - "start": 1669648104159304000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.__call__", - "trace_id": 0, - "span_id": 7, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1195000, - "start": 1669648104159353000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 9, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 11000, - "start": 1669648104159371000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.__call__", - "trace_id": 0, - "span_id": 10, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1118000, - "start": 1669648104159398000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 12, - "parent_id": 10, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 13000, - "start": 1669648104159416000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.__call__", - "trace_id": 0, - "span_id": 13, - "parent_id": 10, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1064000, - "start": 1669648104159445000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request", - "trace_id": 0, - "span_id": 14, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 33000, - "start": 1669648104159462000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.__call__", - "trace_id": 0, - "span_id": 15, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 964000, - "start": 1669648104159511000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.__call__", - "trace_id": 0, - "span_id": 17, - "parent_id": 15, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 910000, - "start": 1669648104159529000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_request", - "trace_id": 0, - "span_id": 19, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 11000, - "start": 1669648104159546000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.ClsMiddleware.__call__", - "trace_id": 0, - "span_id": 20, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 834000, - "start": 1669648104159572000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.fn_middleware", - "trace_id": 0, - "span_id": 22, - "parent_id": 20, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 811000, - "start": 1669648104159589000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.EverythingMiddleware.__call__", - "trace_id": 0, - "span_id": 23, - "parent_id": 22, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 785000, - "start": 1669648104159607000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 24, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 14000, - "start": 1669648104159687000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.EverythingMiddleware.process_view", - "trace_id": 0, - "span_id": 25, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 10000, - "start": 1669648104159717000 - }, - { - "name": "django.view", - "service": "django", - "resource": "tests.contrib.django.views.not_found_view", - "trace_id": 0, - "span_id": 26, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 23000, - "start": 1669648104159753000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.EverythingMiddleware.process_exception", - "trace_id": 0, - "span_id": 27, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 10000, - "start": 1669648104159798000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 28, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 11000, - "start": 1669648104159854000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 29, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 9000, - "start": 1669648104159881000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 30, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 13000, - "start": 1669648104160370000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_response", - "trace_id": 0, - "span_id": 21, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 10000, - "start": 1669648104160422000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response", - "trace_id": 0, - "span_id": 18, - "parent_id": 15, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 15000, - "start": 1669648104160453000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response", - "trace_id": 0, - "span_id": 16, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 11000, - "start": 1669648104160491000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 11, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 10000, - "start": 1669648104160531000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_response", - "trace_id": 0, - "span_id": 8, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 16000, - "start": 1669648104160563000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response", - "trace_id": 0, - "span_id": 5, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 14000, - "start": 1669648104160602000 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_3x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_3x.json index b2e6cd777cc..3a31a825747 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_3x.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_3x.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "699d707c00000000", + "_dd.p.tid": "69f240a600000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "asgi.version": "3.0", "component": "django", "django.request.class": "django.core.handlers.asgi.ASGIRequest", @@ -26,7 +27,7 @@ "http.useragent": "python-requests/2.32.3", "http.version": "1.1", "language": "python", - "runtime-id": "3f0f66aef7df4f1582e552b01d6846ec", + "runtime-id": "93063ae8f90a4e0dba5a6d74b57b7f17", "span.kind": "server" }, "metrics": { @@ -34,10 +35,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44365.0 + "process_id": 42224.0 }, - "duration": 4485667, - "start": 1771925628576441004 + "duration": 2232791, + "start": 1777483942124319049 }, { "name": "django.middleware", @@ -50,10 +51,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2354208, - "start": 1771925628577905546 + "duration": 1381666, + "start": 1777483942124825049 }, { "name": "django.middleware", @@ -66,10 +68,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2281291, - "start": 1771925628577969838 + "duration": 1219750, + "start": 1777483942124983257 }, { "name": "django.middleware", @@ -82,10 +85,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 45625, - "start": 1771925628578014588 + "duration": 20333, + "start": 1777483942125003924 }, { "name": "django.middleware", @@ -98,10 +102,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2103875, - "start": 1771925628578092713 + "duration": 1140584, + "start": 1777483942125039590 }, { "name": "django.middleware", @@ -114,10 +119,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 51292, - "start": 1771925628578129296 + "duration": 25625, + "start": 1777483942125056632 }, { "name": "django.middleware", @@ -130,10 +136,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1929791, - "start": 1771925628578214088 + "duration": 1062250, + "start": 1777483942125095340 }, { "name": "django.middleware", @@ -146,10 +153,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 25791, - "start": 1771925628578249088 + "duration": 9042, + "start": 1777483942125109507 }, { "name": "django.middleware", @@ -162,10 +170,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1799125, - "start": 1771925628578297796 + "duration": 1009792, + "start": 1777483942125127840 }, { "name": "django.middleware", @@ -178,10 +187,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 26917, - "start": 1771925628578331046 + "duration": 11709, + "start": 1777483942125140340 }, { "name": "django.middleware", @@ -194,10 +204,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1706041, - "start": 1771925628578381838 + "duration": 972333, + "start": 1777483942125161132 }, { "name": "django.middleware", @@ -210,10 +221,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 62958, - "start": 1771925628578414713 + "duration": 26250, + "start": 1777483942125174340 }, { "name": "django.middleware", @@ -226,10 +238,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1529750, - "start": 1771925628578508379 + "duration": 903709, + "start": 1777483942125209465 }, { "name": "django.middleware", @@ -242,10 +255,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1433666, - "start": 1771925628578543463 + "duration": 851667, + "start": 1777483942125234757 }, { "name": "django.middleware", @@ -258,10 +272,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17417, - "start": 1771925628578577296 + "duration": 7334, + "start": 1777483942125246465 }, { "name": "django.middleware", @@ -274,10 +289,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1284375, - "start": 1771925628578616004 + "duration": 787916, + "start": 1777483942125262674 }, { "name": "django.middleware", @@ -290,10 +306,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1245250, - "start": 1771925628578645296 + "duration": 773375, + "start": 1777483942125273174 }, { "name": "django.middleware", @@ -306,10 +323,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1198375, - "start": 1771925628578675546 + "duration": 752125, + "start": 1777483942125285799 }, { "name": "django.middleware", @@ -322,10 +340,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 42083, - "start": 1771925628579093838 + "duration": 18000, + "start": 1777483942125518674 }, { "name": "django.middleware", @@ -338,10 +357,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 26875, - "start": 1771925628579350588 + "duration": 12208, + "start": 1777483942125672924 }, { "name": "django.view", @@ -354,10 +374,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 71834, - "start": 1771925628579626379 + "duration": 38625, + "start": 1777483942125869924 }, { "name": "django.middleware", @@ -370,10 +391,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 39458, - "start": 1771925628579927046 + "duration": 19209, + "start": 1777483942126062465 }, { "name": "django.middleware", @@ -386,10 +408,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 28250, - "start": 1771925628579999129 + "duration": 11209, + "start": 1777483942126097590 }, { "name": "django.middleware", @@ -402,10 +425,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 19291, - "start": 1771925628580059213 + "duration": 7875, + "start": 1777483942126121465 }, { "name": "django.middleware", @@ -418,10 +442,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17792, - "start": 1771925628580116879 + "duration": 7250, + "start": 1777483942126146174 }, { "name": "django.middleware", @@ -434,10 +459,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 23042, - "start": 1771925628580163296 + "duration": 10334, + "start": 1777483942126165715 }, { "name": "django.middleware", @@ -450,8 +476,9 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 25084, - "start": 1771925628580216379 + "duration": 10834, + "start": 1777483942126188215 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_simple_app.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_simple_app.json deleted file mode 100644 index fe51488c706..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_simple_app.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_traced_simple_app.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_traced_simple_app.json index 49160408169..f0c08d2c0a7 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_traced_simple_app.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_200_traced_simple_app.json @@ -10,8 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699d707e00000000", + "_dd.p.tid": "69f240ac00000000", "_dd.svc_src": "asgi", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "asgi.version": "3.0", "component": "asgi", "http.method": "GET", @@ -20,15 +21,15 @@ "http.useragent": "python-requests/2.32.3", "http.version": "1.1", "language": "python", - "runtime-id": "c3d5f72daa874a0d98aa27ea3439e587", + "runtime-id": "ae44a838e5b84b3397a10032ce5efe17", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44384.0 + "process_id": 42286.0 }, - "duration": 874666, - "start": 1771925630716977214 + "duration": 257417, + "start": 1777483948352755468 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_500_3x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_500_3x.json index 13121f0751a..01341c9338e 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_500_3x.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_asgi_500_3x.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "699d707600000000", + "_dd.p.tid": "69f240b600000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "asgi.version": "3.0", "component": "django", "django.request.class": "django.core.handlers.asgi.ASGIRequest", @@ -26,7 +27,7 @@ "http.useragent": "python-requests/2.32.3", "http.version": "1.1", "language": "python", - "runtime-id": "6fb8b5a8ed2e496399e53007d98c367f", + "runtime-id": "d777a522f9b741d1966c12c40f4fee48", "span.kind": "server" }, "metrics": { @@ -34,10 +35,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44304.0 + "process_id": 42381.0 }, - "duration": 46212667, - "start": 1771925622132844876 + "duration": 35396542, + "start": 1777483958145771167 }, { "name": "django.middleware", @@ -50,10 +51,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 43443542, - "start": 1771925622134200668 + "duration": 33953084, + "start": 1777483958146268667 }, { "name": "django.middleware", @@ -66,10 +68,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 42584, - "start": 1771925622134263751 + "duration": 39958, + "start": 1777483958146296542 }, { "name": "django.middleware", @@ -82,10 +85,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 43237250, - "start": 1771925622134338960 + "duration": 33838959, + "start": 1777483958146352250 }, { "name": "django.middleware", @@ -98,10 +102,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 49125, - "start": 1771925622134374085 + "duration": 51500, + "start": 1777483958146367792 }, { "name": "django.middleware", @@ -114,10 +119,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 43069000, - "start": 1771925622134454793 + "duration": 33724959, + "start": 1777483958146442000 }, { "name": "django.middleware", @@ -130,10 +136,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 21833, - "start": 1771925622134494418 + "duration": 10333, + "start": 1777483958146465042 }, { "name": "django.middleware", @@ -146,10 +153,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 42927750, - "start": 1771925622134545460 + "duration": 33659459, + "start": 1777483958146485500 }, { "name": "django.middleware", @@ -162,10 +170,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 28458, - "start": 1771925622134576335 + "duration": 11375, + "start": 1777483958146498459 }, { "name": "django.middleware", @@ -178,10 +187,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 42835667, - "start": 1771925622134628168 + "duration": 33620792, + "start": 1777483958146519375 }, { "name": "django.middleware", @@ -194,10 +204,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 63875, - "start": 1771925622134659376 + "duration": 25708, + "start": 1777483958146530917 }, { "name": "django.middleware", @@ -210,10 +221,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 42661542, - "start": 1771925622134748543 + "duration": 33548875, + "start": 1777483958146566334 }, { "name": "django.middleware", @@ -226,10 +238,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 42561833, - "start": 1771925622134783043 + "duration": 33503167, + "start": 1777483958146579167 }, { "name": "django.middleware", @@ -242,10 +255,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17750, - "start": 1771925622134813251 + "duration": 7250, + "start": 1777483958146591709 }, { "name": "django.middleware", @@ -258,10 +272,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 42360458, - "start": 1771925622134877960 + "duration": 33403333, + "start": 1777483958146607084 }, { "name": "django.middleware", @@ -274,10 +289,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 42264417, - "start": 1771925622134962793 + "duration": 33387792, + "start": 1777483958146617084 }, { "name": "django.middleware", @@ -290,10 +306,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 41955708, - "start": 1771925622135240043 + "duration": 33354251, + "start": 1777483958146627625 }, { "name": "django.middleware", @@ -306,10 +323,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 40208, - "start": 1771925622136297335 + "duration": 17458, + "start": 1777483958147207042 }, { "name": "django.middleware", @@ -322,10 +340,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 22958, - "start": 1771925622136551293 + "duration": 15292, + "start": 1777483958147373250 }, { "name": "django.view", @@ -338,13 +357,14 @@ "error": 1, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django", "error.message": "Error 500", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/django/patch.py\", line 177, in wrapped\n return func(*args, **kwargs)\n File \"/home/bits/project/./tests/contrib/django/views.py\", line 67, in error_500\n raise Exception(\"Error 500\")\nException: Error 500\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/django/patch.py\", line 226, in wrapped\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/django/views.py\", line 67, in error_500\n raise Exception(\"Error 500\")\nException: Error 500\n", "error.type": "builtins.Exception" }, - "duration": 1503667, - "start": 1771925622136813751 + "duration": 895208, + "start": 1777483958147545917 }, { "name": "django.middleware", @@ -357,10 +377,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 47166, - "start": 1771925622138788585 + "duration": 16959, + "start": 1777483958148610125 }, { "name": "django.middleware", @@ -373,10 +394,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 50500, - "start": 1771925622141253668 + "duration": 19084, + "start": 1777483958149992500 }, { "name": "django.middleware", @@ -389,10 +411,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 22375, - "start": 1771925622141338668 + "duration": 8708, + "start": 1777483958150024042 }, { "name": "django.middleware", @@ -405,10 +428,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 57500, - "start": 1771925622152609210 + "duration": 38458, + "start": 1777483958159546334 }, { "name": "django.middleware", @@ -421,10 +445,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 53917, - "start": 1771925622177279001 + "duration": 35375, + "start": 1777483958180041042 }, { "name": "django.middleware", @@ -437,10 +462,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 28959, - "start": 1771925622177371001 + "duration": 15666, + "start": 1777483958180094751 }, { "name": "django.middleware", @@ -453,10 +479,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 20208, - "start": 1771925622177433668 + "duration": 10459, + "start": 1777483958180125417 }, { "name": "django.middleware", @@ -469,10 +496,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 19083, - "start": 1771925622177495918 + "duration": 7708, + "start": 1777483958180155126 }, { "name": "django.middleware", @@ -485,10 +513,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 23667, - "start": 1771925622177543293 + "duration": 10917, + "start": 1777483958180175834 }, { "name": "django.middleware", @@ -501,8 +530,9 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 33042, - "start": 1771925622177598126 + "duration": 16375, + "start": 1777483958180200209 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_django_resource_handler.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_django_resource_handler.json deleted file mode 100644 index dcf893a28ad..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_django_resource_handler.json +++ /dev/null @@ -1,516 +0,0 @@ -[[ - { - "name": "django.request", - "service": "django", - "resource": "GET tests.contrib.django.views.BasicView", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "asgi.version": "3.0", - "component": "django", - "django.request.class": "django.core.handlers.asgi.ASGIRequest", - "django.response.class": "django.http.response.HttpResponse", - "django.user.is_authenticated": "False", - "django.view": "tests.contrib.django.views.BasicView", - "http.method": "GET", - "http.route": "^simple/$", - "http.status_code": "200", - "http.url": "http://localhost:8000/simple/", - "http.useragent": "python-requests/2.28.2", - "http.version": "1.1", - "language": "python", - "runtime-id": "27a27704de81461cb885f6075d208d66", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 20398 - }, - "duration": 2900875, - "start": 1692647440834537584 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 2089750, - "start": 1692647440834999334 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 27167, - "start": 1692647440835027167 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.__call__", - "trace_id": 0, - "span_id": 4, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1996125, - "start": 1692647440835067167 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_request", - "trace_id": 0, - "span_id": 6, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 21459, - "start": 1692647440835083875 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.__call__", - "trace_id": 0, - "span_id": 7, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1918958, - "start": 1692647440835117917 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 9, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 11333, - "start": 1692647440835133292 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.__call__", - "trace_id": 0, - "span_id": 10, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1860166, - "start": 1692647440835153834 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 12, - "parent_id": 10, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 15959, - "start": 1692647440835175375 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.__call__", - "trace_id": 0, - "span_id": 13, - "parent_id": 10, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1809167, - "start": 1692647440835200042 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request", - "trace_id": 0, - "span_id": 14, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 27667, - "start": 1692647440835213542 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.__call__", - "trace_id": 0, - "span_id": 15, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1728042, - "start": 1692647440835254167 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.__call__", - "trace_id": 0, - "span_id": 17, - "parent_id": 15, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1682667, - "start": 1692647440835268125 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_request", - "trace_id": 0, - "span_id": 19, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 9792, - "start": 1692647440835281375 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.ClsMiddleware.__call__", - "trace_id": 0, - "span_id": 20, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1598208, - "start": 1692647440835303292 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.fn_middleware", - "trace_id": 0, - "span_id": 22, - "parent_id": 20, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1578333, - "start": 1692647440835316959 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.EverythingMiddleware.__call__", - "trace_id": 0, - "span_id": 23, - "parent_id": 22, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1551834, - "start": 1692647440835330250 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 24, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 22834, - "start": 1692647440836210750 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.EverythingMiddleware.process_view", - "trace_id": 0, - "span_id": 25, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 18250, - "start": 1692647440836377042 - }, - { - "name": "django.view", - "service": "django", - "resource": "tests.contrib.django.views.BasicView", - "trace_id": 0, - "span_id": 26, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 104500, - "start": 1692647440836541667 - }, - { - "name": "django.view.setup", - "service": "django", - "resource": "django.views.generic.base.View.setup", - "trace_id": 0, - "span_id": 27, - "parent_id": 26, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 13333, - "start": 1692647440836568417 - }, - { - "name": "django.view.dispatch", - "service": "django", - "resource": "django.views.generic.base.View.dispatch", - "trace_id": 0, - "span_id": 28, - "parent_id": 26, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 49167, - "start": 1692647440836591792 - }, - { - "name": "django.view.get", - "service": "django", - "resource": "tests.contrib.django.views.BasicView.get", - "trace_id": 0, - "span_id": 29, - "parent_id": 28, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 26750, - "start": 1692647440836607417 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_response", - "trace_id": 0, - "span_id": 21, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 27458, - "start": 1692647440836915959 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response", - "trace_id": 0, - "span_id": 18, - "parent_id": 15, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 15708, - "start": 1692647440836960459 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response", - "trace_id": 0, - "span_id": 16, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 10917, - "start": 1692647440836993000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 11, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 9792, - "start": 1692647440837021917 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_response", - "trace_id": 0, - "span_id": 8, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 13083, - "start": 1692647440837044834 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response", - "trace_id": 0, - "span_id": 5, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 12500, - "start": 1692647440837071250 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_djangoq_dd_trace_methods.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_djangoq_dd_trace_methods.json index 31ec42bf703..ad8f0343a12 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_djangoq_dd_trace_methods.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_djangoq_dd_trace_methods.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "699d708000000000", + "_dd.p.tid": "69f240b100000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "asgi.version": "3.0", "component": "django", "django.request.class": "django.core.handlers.asgi.ASGIRequest", @@ -26,7 +27,7 @@ "http.useragent": "python-requests/2.32.3", "http.version": "1.1", "language": "python", - "runtime-id": "f8a44dc711484d1098bd361b2fa6a3ce", + "runtime-id": "101e7ffbd61d49f8b4cf885f08f5bb2c", "span.kind": "server" }, "metrics": { @@ -34,10 +35,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44402.0 + "process_id": 42343.0 }, - "duration": 4924542, - "start": 1771925632872589548 + "duration": 2249375, + "start": 1777483953844588804 }, { "name": "django.middleware", @@ -50,10 +51,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2843084, - "start": 1771925632873969881 + "duration": 1401750, + "start": 1777483953845126596 }, { "name": "django.middleware", @@ -66,10 +68,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 48167, - "start": 1771925632874028048 + "duration": 23208, + "start": 1777483953845154971 }, { "name": "django.middleware", @@ -82,10 +85,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2641375, - "start": 1771925632874110173 + "duration": 1312375, + "start": 1777483953845193221 }, { "name": "django.middleware", @@ -98,10 +102,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 51750, - "start": 1771925632874148298 + "duration": 58708, + "start": 1777483953845206888 }, { "name": "django.middleware", @@ -114,10 +119,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2448167, - "start": 1771925632874232298 + "duration": 1206500, + "start": 1777483953845277596 }, { "name": "django.middleware", @@ -130,10 +136,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 23458, - "start": 1771925632874271423 + "duration": 10041, + "start": 1777483953845290888 }, { "name": "django.middleware", @@ -146,10 +153,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2307542, - "start": 1771925632874321631 + "duration": 1155375, + "start": 1777483953845310221 }, { "name": "django.middleware", @@ -162,10 +170,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 24042, - "start": 1771925632874353173 + "duration": 12375, + "start": 1777483953845322888 }, { "name": "django.middleware", @@ -178,10 +187,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2217042, - "start": 1771925632874402631 + "duration": 1117125, + "start": 1777483953845344429 }, { "name": "django.middleware", @@ -194,10 +204,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 54959, - "start": 1771925632874434506 + "duration": 24416, + "start": 1777483953845355513 }, { "name": "django.middleware", @@ -210,10 +221,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2053041, - "start": 1771925632874515965 + "duration": 1050375, + "start": 1777483953845390221 }, { "name": "django.middleware", @@ -226,10 +238,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1960834, - "start": 1771925632874547381 + "duration": 1012333, + "start": 1777483953845403638 }, { "name": "django.middleware", @@ -242,10 +255,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 22333, - "start": 1771925632874577715 + "duration": 7125, + "start": 1777483953845415179 }, { "name": "django.middleware", @@ -258,10 +272,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1809708, - "start": 1771925632874621965 + "duration": 948583, + "start": 1777483953845430971 }, { "name": "django.middleware", @@ -274,10 +289,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1765166, - "start": 1771925632874656090 + "duration": 933583, + "start": 1777483953845441888 }, { "name": "django.middleware", @@ -290,10 +306,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1720792, - "start": 1771925632874683131 + "duration": 915375, + "start": 1777483953845451346 }, { "name": "django.middleware", @@ -306,10 +323,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 40125, - "start": 1771925632875386798 + "duration": 19000, + "start": 1777483953845810721 }, { "name": "django.middleware", @@ -322,10 +340,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 28667, - "start": 1771925632875666298 + "duration": 16833, + "start": 1777483953845962263 }, { "name": "django.view", @@ -338,10 +357,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 257084, - "start": 1771925632875980506 + "duration": 118208, + "start": 1777483953846130638 }, { "name": "django.view.setup", @@ -354,10 +374,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 27667, - "start": 1771925632876042298 + "duration": 10875, + "start": 1777483953846156138 }, { "name": "django.view.dispatch", @@ -370,10 +391,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 119208, - "start": 1771925632876107590 + "duration": 63875, + "start": 1777483953846181013 }, { "name": "django.view.get", @@ -386,10 +408,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 62042, - "start": 1771925632876149548 + "duration": 39959, + "start": 1777483953846198804 }, { "name": "django.middleware", @@ -402,10 +425,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 38083, - "start": 1771925632876458423 + "duration": 18750, + "start": 1777483953846392263 }, { "name": "django.middleware", @@ -418,10 +442,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 28875, - "start": 1771925632876529881 + "duration": 11042, + "start": 1777483953846425471 }, { "name": "django.middleware", @@ -434,10 +459,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 19916, - "start": 1771925632876589965 + "duration": 8333, + "start": 1777483953846449346 }, { "name": "django.middleware", @@ -450,10 +476,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17792, - "start": 1771925632876653048 + "duration": 6834, + "start": 1777483953846473429 }, { "name": "django.middleware", @@ -466,10 +493,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 36208, - "start": 1771925632876705298 + "duration": 9833, + "start": 1777483953846491888 }, { "name": "django.middleware", @@ -482,8 +510,9 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 28541, - "start": 1771925632876773840 + "duration": 10875, + "start": 1777483953846513429 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view.json index 22888407b4e..3f5174f88ea 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.django", "_dd.p.dm": "-0", - "_dd.p.tid": "699d707800000000", + "_dd.p.tid": "69f240a800000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.django", "component": "django", "django.request.class": "django.core.handlers.wsgi.WSGIRequest", "django.response.class": "django.http.response.HttpResponse", @@ -23,7 +24,7 @@ "http.status_code": "200", "http.url": "http://testserver/feed-view/", "language": "python", - "runtime-id": "e7c92b7f14ae4c4494117b59624f651c", + "runtime-id": "4c98917997474893bdbaf69a9b946bdc", "span.kind": "server" }, "metrics": { @@ -31,10 +32,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44289.0 + "process_id": 42212.0 }, - "duration": 6502125, - "start": 1771925624404929752 + "duration": 4380833, + "start": 1777483944262742217 }, { "name": "django.middleware", @@ -47,10 +48,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 5667833, - "start": 1771925624405353794 + "duration": 3891833, + "start": 1777483944262977550 }, { "name": "django.middleware", @@ -63,10 +65,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 78041, - "start": 1771925624405465461 + "duration": 45917, + "start": 1777483944263039675 }, { "name": "django.middleware", @@ -79,10 +82,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 5231083, - "start": 1771925624405621544 + "duration": 3648792, + "start": 1777483944263127883 }, { "name": "django.middleware", @@ -95,10 +99,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 96416, - "start": 1771925624405727461 + "duration": 67542, + "start": 1777483944263176758 }, { "name": "django.middleware", @@ -111,10 +116,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 4778459, - "start": 1771925624405893752 + "duration": 3402750, + "start": 1777483944263281925 }, { "name": "django.middleware", @@ -127,10 +133,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 57125, - "start": 1771925624405989419 + "duration": 35166, + "start": 1777483944263332842 }, { "name": "django.middleware", @@ -143,10 +150,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 4412708, - "start": 1771925624406111294 + "duration": 3194791, + "start": 1777483944263402967 }, { "name": "django.middleware", @@ -159,10 +167,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 71292, - "start": 1771925624406204377 + "duration": 1067834, + "start": 1777483944263453633 }, { "name": "django.middleware", @@ -175,10 +184,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 4149708, - "start": 1771925624406341461 + "duration": 2002083, + "start": 1777483944264575425 }, { "name": "django.middleware", @@ -191,10 +201,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 119292, - "start": 1771925624406440627 + "duration": 75000, + "start": 1777483944264639300 }, { "name": "django.middleware", @@ -207,10 +218,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3707167, - "start": 1771925624406629127 + "duration": 1736083, + "start": 1777483944264752925 }, { "name": "django.middleware", @@ -223,10 +235,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3427916, - "start": 1771925624406735211 + "duration": 1552167, + "start": 1777483944264839550 }, { "name": "django.middleware", @@ -239,10 +252,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 54333, - "start": 1771925624406830461 + "duration": 34041, + "start": 1777483944264892842 }, { "name": "django.middleware", @@ -255,10 +269,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2968541, - "start": 1771925624406951961 + "duration": 1300333, + "start": 1777483944264963842 }, { "name": "django.middleware", @@ -271,10 +286,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2858750, - "start": 1771925624407028377 + "duration": 1231583, + "start": 1777483944265011675 }, { "name": "django.middleware", @@ -287,10 +303,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2740792, - "start": 1771925624407108377 + "duration": 1145167, + "start": 1777483944265059383 }, { "name": "django.middleware", @@ -303,10 +320,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 64083, - "start": 1771925624407278086 + "duration": 38375, + "start": 1777483944265164133 }, { "name": "django.middleware", @@ -319,10 +337,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 49042, - "start": 1771925624407407377 + "duration": 32625, + "start": 1777483944265254883 }, { "name": "django.view", @@ -335,10 +354,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2169542, - "start": 1771925624407582044 + "duration": 783083, + "start": 1777483944265366050 }, { "name": "django.middleware", @@ -351,10 +371,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 104625, - "start": 1771925624410022544 + "duration": 57125, + "start": 1777483944266313842 }, { "name": "django.middleware", @@ -367,10 +388,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 71375, - "start": 1771925624410232461 + "duration": 41167, + "start": 1777483944266428008 }, { "name": "django.middleware", @@ -383,10 +405,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 56083, - "start": 1771925624410403169 + "duration": 33416, + "start": 1777483944266524592 }, { "name": "django.middleware", @@ -399,10 +422,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 50917, - "start": 1771925624410590127 + "duration": 31833, + "start": 1777483944266633550 }, { "name": "django.middleware", @@ -415,10 +439,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 70791, - "start": 1771925624410748836 + "duration": 38709, + "start": 1777483944266718633 }, { "name": "django.middleware", @@ -431,8 +456,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 67458, - "start": 1771925624410922419 + "duration": 38750, + "start": 1777483944266811008 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view_111x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view_111x.json deleted file mode 100644 index 68c8a7323e7..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view_111x.json +++ /dev/null @@ -1,291 +0,0 @@ -[[ - { - "name": "django.request", - "service": "django", - "resource": "GET tests.contrib.django.views.FeedView", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "django", - "django.request.class": "django.core.handlers.wsgi.WSGIRequest", - "django.response.class": "django.http.response.HttpResponse", - "django.user.is_authenticated": "False", - "django.view": "feed-view", - "http.method": "GET", - "http.status_code": "200", - "http.url": "http://testserver/feed-view/", - "language": "python", - "runtime-id": "c1d23bbd4985408db83cd1e7ff579898", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 44521 - }, - "duration": 7168000, - "start": 1692907166380899000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 61000, - "start": 1692907166381022000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_request", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 56000, - "start": 1692907166381114000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 4, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 29000, - "start": 1692907166381195000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 5, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 33000, - "start": 1692907166381247000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.SessionAuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 6, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 25000, - "start": 1692907166381303000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request", - "trace_id": 0, - "span_id": 7, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 50000, - "start": 1692907166381350000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_request", - "trace_id": 0, - "span_id": 8, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 28000, - "start": 1692907166381422000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 9, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 36000, - "start": 1692907166381790000 - }, - { - "name": "django.view", - "service": "django", - "resource": "tests.contrib.django.views.FeedView", - "trace_id": 0, - "span_id": 10, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 5634000, - "start": 1692907166381863000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_response", - "trace_id": 0, - "span_id": 11, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 48000, - "start": 1692907166387561000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response", - "trace_id": 0, - "span_id": 12, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 41000, - "start": 1692907166387635000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response", - "trace_id": 0, - "span_id": 13, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 31000, - "start": 1692907166387700000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 14, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 27000, - "start": 1692907166387753000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_response", - "trace_id": 0, - "span_id": 15, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 32000, - "start": 1692907166387801000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response", - "trace_id": 0, - "span_id": 16, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 29000, - "start": 1692907166387854000 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view_21x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view_21x.json deleted file mode 100644 index 4079caa1501..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_callable_view_21x.json +++ /dev/null @@ -1,435 +0,0 @@ -[[ - { - "name": "django.request", - "service": "django", - "resource": "GET tests.contrib.django.views.FeedView", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "django", - "django.request.class": "django.core.handlers.wsgi.WSGIRequest", - "django.response.class": "django.http.response.HttpResponse", - "django.user.is_authenticated": "False", - "django.view": "feed-view", - "http.method": "GET", - "http.status_code": "200", - "http.url": "http://testserver/feed-view/", - "language": "python", - "runtime-id": "7e33e1368c9c47b2b70b4364370a7902", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11217 - }, - "duration": 2369000, - "start": 1669648104105001000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 2131000, - "start": 1669648104105086000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 40000, - "start": 1669648104105109000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.__call__", - "trace_id": 0, - "span_id": 4, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 2006000, - "start": 1669648104105174000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_request", - "trace_id": 0, - "span_id": 6, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 48000, - "start": 1669648104105194000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.__call__", - "trace_id": 0, - "span_id": 7, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1878000, - "start": 1669648104105262000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 9, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 12000, - "start": 1669648104105281000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.__call__", - "trace_id": 0, - "span_id": 10, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1796000, - "start": 1669648104105310000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 12, - "parent_id": 10, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 14000, - "start": 1669648104105328000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.__call__", - "trace_id": 0, - "span_id": 13, - "parent_id": 10, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1739000, - "start": 1669648104105359000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request", - "trace_id": 0, - "span_id": 14, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 36000, - "start": 1669648104105377000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.__call__", - "trace_id": 0, - "span_id": 15, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1633000, - "start": 1669648104105430000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.__call__", - "trace_id": 0, - "span_id": 17, - "parent_id": 15, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1574000, - "start": 1669648104105449000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_request", - "trace_id": 0, - "span_id": 19, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 11000, - "start": 1669648104105466000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.ClsMiddleware.__call__", - "trace_id": 0, - "span_id": 20, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1489000, - "start": 1669648104105493000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.fn_middleware", - "trace_id": 0, - "span_id": 22, - "parent_id": 20, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1463000, - "start": 1669648104105511000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.EverythingMiddleware.__call__", - "trace_id": 0, - "span_id": 23, - "parent_id": 22, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1293000, - "start": 1669648104105673000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 24, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 14000, - "start": 1669648104105739000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.EverythingMiddleware.process_view", - "trace_id": 0, - "span_id": 25, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 10000, - "start": 1669648104105770000 - }, - { - "name": "django.view", - "service": "django", - "resource": "tests.contrib.django.views.FeedView", - "trace_id": 0, - "span_id": 26, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 1142000, - "start": 1669648104105809000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_response", - "trace_id": 0, - "span_id": 21, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 13000, - "start": 1669648104107002000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response", - "trace_id": 0, - "span_id": 18, - "parent_id": 15, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 17000, - "start": 1669648104107039000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response", - "trace_id": 0, - "span_id": 16, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 12000, - "start": 1669648104107079000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 11, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 12000, - "start": 1669648104107121000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_response", - "trace_id": 0, - "span_id": 8, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 17000, - "start": 1669648104107156000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response", - "trace_id": 0, - "span_id": 5, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 14000, - "start": 1669648104107195000 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view.json index 14bbe281f86..daf5d711c9a 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.django", "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", + "_dd.p.tid": "69f241ce00000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.django", "component": "django", "django.request.class": "django.core.handlers.wsgi.WSGIRequest", "django.response.class": "django.http.response.HttpResponse", @@ -23,18 +24,18 @@ "http.status_code": "200", "http.url": "http://testserver/partial-view/", "language": "python", - "runtime-id": "5f1251d265904185ae371a48d5cfc7f4", + "runtime-id": "ef0344cc3ad743d787a1b77ce83492fa", "span.kind": "server" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19970 + "_sampling_priority_v1": 1.0, + "process_id": 45952.0 }, - "duration": 1751125, - "start": 1692647428218584759 + "duration": 3432458, + "start": 1777484238213148297 }, { "name": "django.middleware", @@ -47,11 +48,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1434500, - "start": 1692647428218709842 + "duration": 2533875, + "start": 1777484238213671755 }, { "name": "django.middleware", @@ -64,11 +65,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 46417, - "start": 1692647428218749592 + "duration": 89584, + "start": 1777484238213763880 }, { "name": "django.middleware", @@ -81,11 +82,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1267791, - "start": 1692647428218823634 + "duration": 2187542, + "start": 1777484238213911880 }, { "name": "django.middleware", @@ -98,11 +99,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 46625, - "start": 1692647428218865675 + "duration": 75375, + "start": 1777484238213971047 }, { "name": "django.middleware", @@ -115,11 +116,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1105625, - "start": 1692647428218932509 + "duration": 1897834, + "start": 1777484238214093255 }, { "name": "django.middleware", @@ -132,11 +133,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 24708, - "start": 1692647428218961259 + "duration": 45250, + "start": 1777484238214151880 }, { "name": "django.middleware", @@ -149,11 +150,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 986042, - "start": 1692647428219004467 + "duration": 1655959, + "start": 1777484238214238130 }, { "name": "django.middleware", @@ -166,11 +167,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 27166, - "start": 1692647428219032509 + "duration": 59917, + "start": 1777484238214298255 }, { "name": "django.middleware", @@ -183,11 +184,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 901459, - "start": 1692647428219078050 + "duration": 1472375, + "start": 1777484238214399089 }, { "name": "django.middleware", @@ -200,11 +201,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 62916, - "start": 1692647428219105884 + "duration": 135041, + "start": 1777484238214474464 }, { "name": "django.middleware", @@ -217,11 +218,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 740292, - "start": 1692647428219188300 + "duration": 1111458, + "start": 1777484238214653464 }, { "name": "django.middleware", @@ -234,11 +235,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 654334, - "start": 1692647428219216925 + "duration": 915584, + "start": 1777484238214739255 }, { "name": "django.middleware", @@ -251,11 +252,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 20416, - "start": 1692647428219244634 + "duration": 39875, + "start": 1777484238214798964 }, { "name": "django.middleware", @@ -268,11 +269,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 508875, - "start": 1692647428219282717 + "duration": 653084, + "start": 1777484238214880380 }, { "name": "django.middleware", @@ -285,11 +286,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 472375, - "start": 1692647428219308425 + "duration": 578291, + "start": 1777484238214932839 }, { "name": "django.middleware", @@ -302,11 +303,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 435500, - "start": 1692647428219333634 + "duration": 496708, + "start": 1777484238214990797 }, { "name": "django.middleware", @@ -319,11 +320,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 25542, - "start": 1692647428219426217 + "duration": 54750, + "start": 1777484238215105339 }, { "name": "django.middleware", @@ -336,11 +337,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 19875, - "start": 1692647428219469884 + "duration": 36833, + "start": 1777484238215201172 }, { "name": "django.view", @@ -353,11 +354,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 229416, - "start": 1692647428219519134 + "duration": 117458, + "start": 1777484238215311172 }, { "name": "django.middleware", @@ -370,11 +371,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 33708, - "start": 1692647428219812717 + "duration": 54167, + "start": 1777484238215577630 }, { "name": "django.middleware", @@ -387,11 +388,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 27208, - "start": 1692647428219889467 + "duration": 48708, + "start": 1777484238215694047 }, { "name": "django.middleware", @@ -404,11 +405,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 23000, - "start": 1692647428219945300 + "duration": 45791, + "start": 1777484238215803339 }, { "name": "django.middleware", @@ -421,11 +422,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 19792, - "start": 1692647428220007425 + "duration": 37208, + "start": 1777484238215932464 }, { "name": "django.middleware", @@ -438,11 +439,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 25583, - "start": 1692647428220054717 + "duration": 47542, + "start": 1777484238216029422 }, { "name": "django.middleware", @@ -455,9 +456,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", - "_dd.p.tid": "654a694400000000", + "_dd.svc_src": "django", "component": "django" }, - "duration": 25291, - "start": 1692647428220108259 + "duration": 45083, + "start": 1777484238216138839 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view_111x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view_111x.json deleted file mode 100644 index 12cce6feb5d..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view_111x.json +++ /dev/null @@ -1,291 +0,0 @@ -[[ - { - "name": "django.request", - "service": "django", - "resource": "GET partial", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "django", - "django.request.class": "django.core.handlers.wsgi.WSGIRequest", - "django.response.class": "django.http.response.HttpResponse", - "django.user.is_authenticated": "False", - "django.view": "partial-view", - "http.method": "GET", - "http.status_code": "200", - "http.url": "http://testserver/partial-view/", - "language": "python", - "runtime-id": "c1d23bbd4985408db83cd1e7ff579898", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 44521 - }, - "duration": 1363000, - "start": 1692907166397589000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 76000, - "start": 1692907166397742000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_request", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 57000, - "start": 1692907166397849000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 4, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 29000, - "start": 1692907166397930000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 5, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 34000, - "start": 1692907166397983000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.SessionAuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 6, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 25000, - "start": 1692907166398039000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request", - "trace_id": 0, - "span_id": 7, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 43000, - "start": 1692907166398085000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_request", - "trace_id": 0, - "span_id": 8, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 31000, - "start": 1692907166398150000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 9, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 32000, - "start": 1692907166398335000 - }, - { - "name": "django.view", - "service": "django", - "resource": "partial", - "trace_id": 0, - "span_id": 10, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 49000, - "start": 1692907166398408000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_response", - "trace_id": 0, - "span_id": 11, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 27000, - "start": 1692907166398493000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response", - "trace_id": 0, - "span_id": 12, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 32000, - "start": 1692907166398542000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response", - "trace_id": 0, - "span_id": 13, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 26000, - "start": 1692907166398596000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 14, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 28000, - "start": 1692907166398643000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_response", - "trace_id": 0, - "span_id": 15, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 33000, - "start": 1692907166398693000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response", - "trace_id": 0, - "span_id": 16, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 28000, - "start": 1692907166398747000 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view_21x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view_21x.json deleted file mode 100644 index 6aecc2acbf8..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_middleware_trace_partial_based_view_21x.json +++ /dev/null @@ -1,435 +0,0 @@ -[[ - { - "name": "django.request", - "service": "django", - "resource": "GET partial", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "django", - "django.request.class": "django.core.handlers.wsgi.WSGIRequest", - "django.response.class": "django.http.response.HttpResponse", - "django.user.is_authenticated": "False", - "django.view": "partial-view", - "http.method": "GET", - "http.status_code": "200", - "http.url": "http://testserver/partial-view/", - "language": "python", - "runtime-id": "7e33e1368c9c47b2b70b4364370a7902", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 11217 - }, - "duration": 1002000, - "start": 1669648104132465000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.__call__", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 784000, - "start": 1669648104132542000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request", - "trace_id": 0, - "span_id": 3, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 38000, - "start": 1669648104132565000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.__call__", - "trace_id": 0, - "span_id": 4, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 664000, - "start": 1669648104132628000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_request", - "trace_id": 0, - "span_id": 6, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 30000, - "start": 1669648104132647000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.__call__", - "trace_id": 0, - "span_id": 7, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 562000, - "start": 1669648104132695000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 9, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 12000, - "start": 1669648104132713000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.__call__", - "trace_id": 0, - "span_id": 10, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 484000, - "start": 1669648104132742000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 12, - "parent_id": 10, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 13000, - "start": 1669648104132759000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.__call__", - "trace_id": 0, - "span_id": 13, - "parent_id": 10, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 432000, - "start": 1669648104132787000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request", - "trace_id": 0, - "span_id": 14, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 33000, - "start": 1669648104132804000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.__call__", - "trace_id": 0, - "span_id": 15, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 335000, - "start": 1669648104132852000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.__call__", - "trace_id": 0, - "span_id": 17, - "parent_id": 15, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 281000, - "start": 1669648104132870000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_request", - "trace_id": 0, - "span_id": 19, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 9000, - "start": 1669648104132887000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.ClsMiddleware.__call__", - "trace_id": 0, - "span_id": 20, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 208000, - "start": 1669648104132911000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.fn_middleware", - "trace_id": 0, - "span_id": 22, - "parent_id": 20, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 184000, - "start": 1669648104132928000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.EverythingMiddleware.__call__", - "trace_id": 0, - "span_id": 23, - "parent_id": 22, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 159000, - "start": 1669648104132946000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 24, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 13000, - "start": 1669648104133004000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "tests.contrib.django.middleware.EverythingMiddleware.process_view", - "trace_id": 0, - "span_id": 25, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 10000, - "start": 1669648104133033000 - }, - { - "name": "django.view", - "service": "django", - "resource": "partial", - "trace_id": 0, - "span_id": 26, - "parent_id": 23, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 30000, - "start": 1669648104133067000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_response", - "trace_id": 0, - "span_id": 21, - "parent_id": 17, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 10000, - "start": 1669648104133134000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response", - "trace_id": 0, - "span_id": 18, - "parent_id": 15, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 14000, - "start": 1669648104133166000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response", - "trace_id": 0, - "span_id": 16, - "parent_id": 13, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 11000, - "start": 1669648104133201000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 11, - "parent_id": 7, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 10000, - "start": 1669648104133240000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_response", - "trace_id": 0, - "span_id": 8, - "parent_id": 4, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 14000, - "start": 1669648104133271000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response", - "trace_id": 0, - "span_id": 5, - "parent_id": 2, - "type": "", - "error": 0, - "meta": { - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 13000, - "start": 1669648104133306000 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default.json index ba0e74330d6..7ab194cd567 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "6913a9ec00000000", + "_dd.p.tid": "69f241da00000000", + "_dd.svc_src": "postgres", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpzgl3jooh,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -21,21 +23,21 @@ "django.db.vendor": "postgresql", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "425ea5115eb047fa9fcaeafd3e15afdc", + "runtime-id": "49d0fde1b1ef49cab7a2a3a6d9e3ab2f", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 1416 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 5432.0, + "process_id": 46277.0 }, - "duration": 531542, - "start": 1762896364850910298 + "duration": 632541, + "start": 1777484250271733428 }], [ { @@ -50,7 +52,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "6913a9ec00000000", + "_dd.p.tid": "69f241da00000000", + "_dd.svc_src": "postgres", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpzgl3jooh,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -60,19 +64,19 @@ "django.db.vendor": "postgresql", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "425ea5115eb047fa9fcaeafd3e15afdc", + "runtime-id": "49d0fde1b1ef49cab7a2a3a6d9e3ab2f", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 1416 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 5432.0, + "process_id": 46277.0 }, - "duration": 126333, - "start": 1762896364851734590 + "duration": 217916, + "start": 1777484250273522178 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default[False].json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default[False].json deleted file mode 100644 index b516f62e5ff..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default[False].json +++ /dev/null @@ -1,37 +0,0 @@ -[[ - { - "name": "postgres.query", - "service": "postgres", - "resource": "select 'one' as x", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.django", - "_dd.p.dm": "-0", - "_dd.p.tid": "68a35bc500000000", - "component": "psycopg", - "db.application": "None", - "db.name": "test_postgres", - "db.system": "postgresql", - "db.user": "postgres", - "language": "python", - "out.host": "127.0.0.1", - "runtime-id": "b29b553f30da448fa6e487f751a456fc", - "server.address": "127.0.0.1", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 0.9986859395532195, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 3558 - }, - "duration": 164833, - "start": 1755536325605389094 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default[True].json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default[True].json deleted file mode 100644 index 6ff5a0918d2..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg2_query_default[True].json +++ /dev/null @@ -1,37 +0,0 @@ -[[ - { - "name": "postgres.query", - "service": "postgres", - "resource": "select 'one' as x", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "sql", - "error": 0, - "meta": { - "_dd.base_service": "tests.contrib.django", - "_dd.p.dm": "-0", - "_dd.p.tid": "68a371a500000000", - "component": "psycopg", - "db.application": "None", - "db.name": "test_postgres", - "db.system": "postgresql", - "db.user": "postgres", - "language": "python", - "out.host": "127.0.0.1", - "runtime-id": "989125d097ec4fc3a5c7572974347510", - "server.address": "127.0.0.1", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 495 - }, - "duration": 1153250, - "start": 1755541925158261419 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg3_query_default.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg3_query_default.json index 2447d089992..9919dd42901 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg3_query_default.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_psycopg3_query_default.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "6913a07500000000", + "_dd.p.tid": "69f240af00000000", + "_dd.svc_src": "postgres", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpjxc6gvtu,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -21,21 +23,21 @@ "django.db.vendor": "postgresql", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "29c5e48f968f4341ab5038f9a3a40e5a", + "runtime-id": "ea0d41ad873f4124b323065a4700f9a6", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 690 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 5432.0, + "process_id": 42327.0 }, - "duration": 512000, - "start": 1762893941787372760 + "duration": 685792, + "start": 1777483951679768803 }], [ { @@ -50,7 +52,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "6913a07500000000", + "_dd.p.tid": "69f240af00000000", + "_dd.svc_src": "postgres", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpjxc6gvtu,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "psycopg", "db.application": "None", "db.name": "postgres", @@ -60,19 +64,19 @@ "django.db.vendor": "postgresql", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "29c5e48f968f4341ab5038f9a3a40e5a", + "runtime-id": "ea0d41ad873f4124b323065a4700f9a6", "server.address": "127.0.0.1", "span.kind": "client" }, "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "db.row_count": 1, - "network.destination.port": 5432, - "process_id": 690 + "_sampling_priority_v1": 1.0, + "db.row_count": 1.0, + "network.destination.port": 5432.0, + "process_id": 42327.0 }, - "duration": 162000, - "start": 1762893941788237219 + "duration": 213167, + "start": 1777483951680801970 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_safe_string_encoding.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_safe_string_encoding.json index 0cdb62e983e..93df891bf9a 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_safe_string_encoding.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_safe_string_encoding.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.django", "_dd.p.dm": "-0", - "_dd.p.tid": "699d707300000000", + "_dd.p.tid": "69f240a400000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.django", "component": "django", "django.request.class": "django.core.handlers.wsgi.WSGIRequest", "django.response.class": "django.template.response.TemplateResponse", @@ -25,7 +26,7 @@ "http.status_code": "200", "http.url": "http://testserver/safe-template/", "language": "python", - "runtime-id": "e7c92b7f14ae4c4494117b59624f651c", + "runtime-id": "4c98917997474893bdbaf69a9b946bdc", "span.kind": "server" }, "metrics": { @@ -33,10 +34,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44289.0 + "process_id": 42212.0 }, - "duration": 5887709, - "start": 1771925619939622250 + "duration": 3145666, + "start": 1777483940092717715 }, { "name": "django.middleware", @@ -49,10 +50,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 5144500, - "start": 1771925619940040667 + "duration": 2718667, + "start": 1777483940092931798 }, { "name": "django.middleware", @@ -65,10 +67,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 85667, - "start": 1771925619940165250 + "duration": 49666, + "start": 1777483940093000590 }, { "name": "django.middleware", @@ -81,10 +84,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 4701625, - "start": 1771925619940331209 + "duration": 2466042, + "start": 1777483940093092048 }, { "name": "django.middleware", @@ -97,10 +101,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 98542, - "start": 1771925619940427375 + "duration": 63917, + "start": 1777483940093143173 }, { "name": "django.middleware", @@ -113,10 +118,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 4212542, - "start": 1771925619940672042 + "duration": 2203583, + "start": 1777483940093256340 }, { "name": "django.middleware", @@ -129,10 +135,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 66708, - "start": 1771925619940799417 + "duration": 34375, + "start": 1777483940093306673 }, { "name": "django.middleware", @@ -145,10 +152,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3812083, - "start": 1771925619940935167 + "duration": 1975083, + "start": 1777483940093376298 }, { "name": "django.middleware", @@ -161,10 +169,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 66709, - "start": 1771925619941036500 + "duration": 39459, + "start": 1777483940093427256 }, { "name": "django.middleware", @@ -177,10 +186,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3536375, - "start": 1771925619941169667 + "duration": 1791875, + "start": 1777483940093501965 }, { "name": "django.middleware", @@ -193,10 +203,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 130458, - "start": 1771925619941278834 + "duration": 67000, + "start": 1777483940093552423 }, { "name": "django.middleware", @@ -209,10 +220,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3089500, - "start": 1771925619941476250 + "duration": 1538000, + "start": 1777483940093655506 }, { "name": "django.middleware", @@ -225,10 +237,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2846584, - "start": 1771925619941566250 + "duration": 1390625, + "start": 1777483940093705381 }, { "name": "django.middleware", @@ -241,10 +254,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 51708, - "start": 1771925619941655834 + "duration": 31625, + "start": 1777483940093754381 }, { "name": "django.middleware", @@ -257,10 +271,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2458084, - "start": 1771925619941781000 + "duration": 1170458, + "start": 1777483940093821840 }, { "name": "django.middleware", @@ -273,10 +288,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2352500, - "start": 1771925619941856584 + "duration": 1107833, + "start": 1777483940093865215 }, { "name": "django.middleware", @@ -289,10 +305,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2233875, - "start": 1771925619941942792 + "duration": 1033792, + "start": 1777483940093919048 }, { "name": "django.middleware", @@ -305,10 +322,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 57083, - "start": 1771925619942093959 + "duration": 35916, + "start": 1777483940093993590 }, { "name": "django.middleware", @@ -321,10 +339,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 46833, - "start": 1771925619942213459 + "duration": 30500, + "start": 1777483940094064506 }, { "name": "django.view", @@ -337,10 +356,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 564417, - "start": 1771925619942363042 + "duration": 421083, + "start": 1777483940094152590 }, { "name": "django.view.setup", @@ -353,10 +373,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 55875, - "start": 1771925619942465542 + "duration": 32375, + "start": 1777483940094223965 }, { "name": "django.view.dispatch", @@ -369,10 +390,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 304500, - "start": 1771925619942595000 + "duration": 258208, + "start": 1777483940094299340 }, { "name": "django.view.get", @@ -385,10 +407,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 178709, - "start": 1771925619942689125 + "duration": 174916, + "start": 1777483940094356215 }, { "name": "django.middleware", @@ -401,10 +424,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 48542, - "start": 1771925619943003250 + "duration": 32042, + "start": 1777483940094618131 }, { "name": "django.response.render", @@ -417,10 +441,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1001875, - "start": 1771925619943126667 + "duration": 221167, + "start": 1777483940094700756 }, { "name": "django.middleware", @@ -433,10 +458,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 75041, - "start": 1771925619944306709 + "duration": 46333, + "start": 1777483940095029965 }, { "name": "django.middleware", @@ -449,10 +475,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 61417, - "start": 1771925619944474167 + "duration": 44333, + "start": 1777483940095129673 }, { "name": "django.middleware", @@ -465,10 +492,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 50208, - "start": 1771925619944626209 + "duration": 38333, + "start": 1777483940095236048 }, { "name": "django.middleware", @@ -481,10 +509,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 47083, - "start": 1771925619944808084 + "duration": 40250, + "start": 1777483940095399131 }, { "name": "django.middleware", @@ -497,10 +526,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 58250, - "start": 1771925619944944500 + "duration": 41458, + "start": 1777483940095496173 }, { "name": "django.middleware", @@ -513,8 +543,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 62625, - "start": 1771925619945092834 + "duration": 38708, + "start": 1777483940095592965 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_safe_string_encoding_111x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_safe_string_encoding_111x.json deleted file mode 100644 index 8c7f8015692..00000000000 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_safe_string_encoding_111x.json +++ /dev/null @@ -1,344 +0,0 @@ -[[ - { - "name": "django.request", - "service": "django", - "resource": "GET tests.contrib.django.views.SafeTemplateUserList", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "web", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.dm": "-0", - "_dd.p.tid": "654a694400000000", - "component": "django", - "django.request.class": "django.core.handlers.wsgi.WSGIRequest", - "django.response.class": "django.template.response.TemplateResponse", - "django.response.template.0": "cached_list.html", - "django.response.template.1": "auth/user_list.html", - "django.user.is_authenticated": "False", - "django.view": "safe-template-list", - "http.method": "GET", - "http.status_code": "200", - "http.url": "http://testserver/safe-template/", - "language": "python", - "runtime-id": "42a636918c6145d1bb8e8a353a6cabe8", - "span.kind": "server" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 44209 - }, - "duration": 2040000, - "start": 1692907039014618000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_request", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 57000, - "start": 1692907039014707000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_request", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 49000, - "start": 1692907039014803000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_request", - "trace_id": 0, - "span_id": 4, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 28000, - "start": 1692907039014876000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.AuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 5, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 29000, - "start": 1692907039014927000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.auth.middleware.SessionAuthenticationMiddleware.process_request", - "trace_id": 0, - "span_id": 6, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 26000, - "start": 1692907039014979000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_request", - "trace_id": 0, - "span_id": 7, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 42000, - "start": 1692907039015027000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_request", - "trace_id": 0, - "span_id": 8, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 224000, - "start": 1692907039015092000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_view", - "trace_id": 0, - "span_id": 9, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 30000, - "start": 1692907039015380000 - }, - { - "name": "django.view", - "service": "django", - "resource": "tests.contrib.django.views.SafeTemplateUserList", - "trace_id": 0, - "span_id": 10, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 182000, - "start": 1692907039015447000 - }, - { - "name": "django.view.dispatch", - "service": "django", - "resource": "django.views.generic.base.View.dispatch", - "trace_id": 0, - "span_id": 18, - "parent_id": 10, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 131000, - "start": 1692907039015484000 - }, - { - "name": "django.view.get", - "service": "django", - "resource": "django.views.generic.list.BaseListView.get", - "trace_id": 0, - "span_id": 19, - "parent_id": 18, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 78000, - "start": 1692907039015520000 - }, - { - "name": "django.response.render", - "service": "django", - "resource": "django.template.response.TemplateResponse.render", - "trace_id": 0, - "span_id": 11, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 459000, - "start": 1692907039015655000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.security.SecurityMiddleware.process_response", - "trace_id": 0, - "span_id": 12, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 44000, - "start": 1692907039016151000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.clickjacking.XFrameOptionsMiddleware.process_response", - "trace_id": 0, - "span_id": 13, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 47000, - "start": 1692907039016222000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.messages.middleware.MessageMiddleware.process_response", - "trace_id": 0, - "span_id": 14, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 39000, - "start": 1692907039016298000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.csrf.CsrfViewMiddleware.process_response", - "trace_id": 0, - "span_id": 15, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 28000, - "start": 1692907039016382000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.middleware.common.CommonMiddleware.process_response", - "trace_id": 0, - "span_id": 16, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 33000, - "start": 1692907039016431000 - }, - { - "name": "django.middleware", - "service": "django", - "resource": "django.contrib.sessions.middleware.SessionMiddleware.process_response", - "trace_id": 0, - "span_id": 17, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "", - "_dd.p.tid": "654a694400000000", - "component": "django" - }, - "duration": 28000, - "start": 1692907039016486000 - }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_streamed_file.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_streamed_file.json index e6909cb27bb..249b370d3c9 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_streamed_file.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_streamed_file.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.django", "_dd.p.dm": "-0", - "_dd.p.tid": "699d707800000000", + "_dd.p.tid": "69f240ae00000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.django", "component": "django", "django.request.class": "django.core.handlers.wsgi.WSGIRequest", "django.response.class": "django.http.response.FileResponse", @@ -23,7 +24,7 @@ "http.status_code": "200", "http.url": "http://testserver/stream-file/", "language": "python", - "runtime-id": "e7c92b7f14ae4c4494117b59624f651c", + "runtime-id": "4c98917997474893bdbaf69a9b946bdc", "span.kind": "server" }, "metrics": { @@ -31,10 +32,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44289.0 + "process_id": 42212.0 }, - "duration": 6152792, - "start": 1771925624379836877 + "duration": 3440417, + "start": 1777483950425908969 }, { "name": "django.middleware", @@ -47,10 +48,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 5039875, - "start": 1771925624380422836 + "duration": 2915542, + "start": 1777483950426152469 }, { "name": "django.middleware", @@ -63,10 +65,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 99417, - "start": 1771925624380542544 + "duration": 49167, + "start": 1777483950426229094 }, { "name": "django.middleware", @@ -79,10 +82,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 4538625, - "start": 1771925624380746252 + "duration": 2656042, + "start": 1777483950426320386 }, { "name": "django.middleware", @@ -95,10 +99,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 108958, - "start": 1771925624380843211 + "duration": 55167, + "start": 1777483950426370969 }, { "name": "django.middleware", @@ -111,10 +116,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3933667, - "start": 1771925624381022377 + "duration": 2430834, + "start": 1777483950426462844 }, { "name": "django.middleware", @@ -127,10 +133,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 60042, - "start": 1771925624381114877 + "duration": 35583, + "start": 1777483950426511386 }, { "name": "django.middleware", @@ -143,10 +150,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3570041, - "start": 1771925624381240461 + "duration": 2227083, + "start": 1777483950426581678 }, { "name": "django.middleware", @@ -159,10 +167,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 83291, - "start": 1771925624381373336 + "duration": 39375, + "start": 1777483950426630761 }, { "name": "django.middleware", @@ -175,10 +184,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3251750, - "start": 1771925624381524919 + "duration": 2083750, + "start": 1777483950426705844 }, { "name": "django.middleware", @@ -191,10 +201,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 180834, - "start": 1771925624381620627 + "duration": 122375, + "start": 1777483950426755344 }, { "name": "django.middleware", @@ -207,10 +218,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2726791, - "start": 1771925624381878586 + "duration": 1762291, + "start": 1777483950426938803 }, { "name": "django.middleware", @@ -223,10 +235,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2465667, - "start": 1771925624381976044 + "duration": 1598542, + "start": 1777483950427005761 }, { "name": "django.middleware", @@ -239,10 +252,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 376958, - "start": 1771925624382071044 + "duration": 33584, + "start": 1777483950427057594 }, { "name": "django.middleware", @@ -255,10 +269,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1730708, - "start": 1771925624382525044 + "duration": 1357541, + "start": 1777483950427129053 }, { "name": "django.middleware", @@ -271,10 +286,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1617333, - "start": 1771925624382606169 + "duration": 1289709, + "start": 1777483950427176219 }, { "name": "django.middleware", @@ -287,10 +303,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1499708, - "start": 1771925624382687461 + "duration": 1203333, + "start": 1777483950427238886 }, { "name": "django.middleware", @@ -303,10 +320,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 70875, - "start": 1771925624382902586 + "duration": 330083, + "start": 1777483950427345261 }, { "name": "django.middleware", @@ -319,10 +337,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 127583, - "start": 1771925624383174669 + "duration": 50292, + "start": 1777483950427761636 }, { "name": "django.view", @@ -335,10 +354,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 646667, - "start": 1771925624383460127 + "duration": 495583, + "start": 1777483950427891928 }, { "name": "django.middleware", @@ -351,10 +371,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 80041, - "start": 1771925624384329586 + "duration": 52417, + "start": 1777483950428532011 }, { "name": "django.middleware", @@ -367,10 +388,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 68334, - "start": 1771925624384505877 + "duration": 41083, + "start": 1777483950428641053 }, { "name": "django.middleware", @@ -383,10 +405,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 74833, - "start": 1771925624384667919 + "duration": 33584, + "start": 1777483950428737094 }, { "name": "django.middleware", @@ -399,10 +422,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 49875, - "start": 1771925624384874044 + "duration": 30875, + "start": 1777483950428844303 }, { "name": "django.middleware", @@ -415,10 +439,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 59708, - "start": 1771925624385190919 + "duration": 30459, + "start": 1777483950428927594 }, { "name": "django.middleware", @@ -431,8 +456,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 69500, - "start": 1771925624385360877 + "duration": 38959, + "start": 1777483950429010594 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_templates_disabled_3x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_templates_disabled_3x.json index 632c7f88567..8e1fe2664eb 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_templates_disabled_3x.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_templates_disabled_3x.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "699d708300000000", + "_dd.p.tid": "69f240a800000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "asgi.version": "3.0", "component": "django", "django.request.class": "django.core.handlers.asgi.ASGIRequest", @@ -27,7 +28,7 @@ "http.useragent": "python-requests/2.32.3", "http.version": "1.1", "language": "python", - "runtime-id": "0e2b792772804c3497d07b653d0f7b78", + "runtime-id": "508d6ae3c1454e9db287b205ab5b7785", "span.kind": "server" }, "metrics": { @@ -35,10 +36,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44420.0 + "process_id": 42244.0 }, - "duration": 18970166, - "start": 1771925635155316883 + "duration": 11829458, + "start": 1777483944182101550 }, { "name": "django.middleware", @@ -51,10 +52,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17080125, - "start": 1771925635156545841 + "duration": 10944625, + "start": 1777483944182634800 }, { "name": "django.middleware", @@ -67,10 +69,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 46959, - "start": 1771925635156601299 + "duration": 22625, + "start": 1777483944182664133 }, { "name": "django.middleware", @@ -83,10 +86,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 16888209, - "start": 1771925635156679299 + "duration": 10849708, + "start": 1777483944182702800 }, { "name": "django.middleware", @@ -99,10 +103,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 47458, - "start": 1771925635156725216 + "duration": 26041, + "start": 1777483944182718425 }, { "name": "django.middleware", @@ -115,10 +120,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 16693958, - "start": 1771925635156801091 + "duration": 10760708, + "start": 1777483944182756508 }, { "name": "django.middleware", @@ -131,10 +137,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 20584, - "start": 1771925635156832924 + "duration": 8625, + "start": 1777483944182769425 }, { "name": "django.middleware", @@ -147,10 +154,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 16518000, - "start": 1771925635156882758 + "duration": 10708583, + "start": 1777483944182787008 }, { "name": "django.middleware", @@ -163,10 +171,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 30584, - "start": 1771925635156914049 + "duration": 11375, + "start": 1777483944182799591 }, { "name": "django.middleware", @@ -179,10 +188,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 16414834, - "start": 1771925635156967924 + "duration": 10671250, + "start": 1777483944182819800 }, { "name": "django.middleware", @@ -195,10 +205,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 54667, - "start": 1771925635156998466 + "duration": 26375, + "start": 1777483944182833841 }, { "name": "django.middleware", @@ -211,10 +222,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 16185833, - "start": 1771925635157079716 + "duration": 10596833, + "start": 1777483944182871175 }, { "name": "django.middleware", @@ -227,10 +239,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 16089166, - "start": 1771925635157114633 + "duration": 10555458, + "start": 1777483944182883550 }, { "name": "django.middleware", @@ -243,10 +256,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17458, - "start": 1771925635157151966 + "duration": 8541, + "start": 1777483944182894550 }, { "name": "django.middleware", @@ -259,10 +273,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 15905375, - "start": 1771925635157191883 + "duration": 10482375, + "start": 1777483944182911466 }, { "name": "django.middleware", @@ -275,10 +290,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 15868917, - "start": 1771925635157217216 + "duration": 10463875, + "start": 1777483944182921716 }, { "name": "django.middleware", @@ -291,10 +307,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 15620083, - "start": 1771925635157445133 + "duration": 10444500, + "start": 1777483944182933216 }, { "name": "django.middleware", @@ -307,10 +324,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 35500, - "start": 1771925635158479133 + "duration": 25625, + "start": 1777483944183513925 }, { "name": "django.middleware", @@ -323,10 +341,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 24666, - "start": 1771925635158729258 + "duration": 15416, + "start": 1777483944183677175 }, { "name": "django.view", @@ -339,10 +358,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 11666500, - "start": 1771925635159011174 + "duration": 8043416, + "start": 1777483944183877300 }, { "name": "django.middleware", @@ -355,10 +375,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 39083, - "start": 1771925635171037633 + "duration": 21000, + "start": 1777483944192085175 }, { "name": "django.response.render", @@ -371,10 +392,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 1570750, - "start": 1771925635171283133 + "duration": 1090041, + "start": 1777483944192210925 }, { "name": "django.middleware", @@ -387,10 +409,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 49458, - "start": 1771925635173142883 + "duration": 21792, + "start": 1777483944193412258 }, { "name": "django.middleware", @@ -403,10 +426,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 27500, - "start": 1771925635173227799 + "duration": 13041, + "start": 1777483944193450550 }, { "name": "django.middleware", @@ -419,10 +443,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 22333, - "start": 1771925635173287716 + "duration": 9166, + "start": 1777483944193477800 }, { "name": "django.middleware", @@ -435,10 +460,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 37458, - "start": 1771925635173446466 + "duration": 7917, + "start": 1777483944193505383 }, { "name": "django.middleware", @@ -451,10 +477,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 37917, - "start": 1771925635173518924 + "duration": 16625, + "start": 1777483944193531091 }, { "name": "django.middleware", @@ -467,8 +494,9 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 27000, - "start": 1771925635173589133 + "duration": 13208, + "start": 1777483944193562050 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_templates_enabled_3x.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_templates_enabled_3x.json index 0567dc829f2..b128995d8bc 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_templates_enabled_3x.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_templates_enabled_3x.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "699d708700000000", + "_dd.p.tid": "69f240aa00000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:daphne,entrypoint.type:script,entrypoint.workdir:project,svc.auto:daphne", "asgi.version": "3.0", "component": "django", "django.request.class": "django.core.handlers.asgi.ASGIRequest", @@ -27,7 +28,7 @@ "http.useragent": "python-requests/2.32.3", "http.version": "1.1", "language": "python", - "runtime-id": "6c45311dd03c421ca8ca8d68850633f4", + "runtime-id": "4a8cfc6adc074ddfb7c2b88ce0ba8acc", "span.kind": "server" }, "metrics": { @@ -35,10 +36,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44456.0 + "process_id": 42267.0 }, - "duration": 19892834, - "start": 1771925639435514176 + "duration": 13342708, + "start": 1777483946295600551 }, { "name": "django.middleware", @@ -51,10 +52,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 18219208, - "start": 1771925639436587843 + "duration": 12203584, + "start": 1777483946296349092 }, { "name": "django.middleware", @@ -67,10 +69,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 36625, - "start": 1771925639436639343 + "duration": 23625, + "start": 1777483946296376301 }, { "name": "django.middleware", @@ -83,10 +86,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 18047709, - "start": 1771925639436705926 + "duration": 12107375, + "start": 1777483946296415426 }, { "name": "django.middleware", @@ -99,10 +103,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 39167, - "start": 1771925639436752843 + "duration": 26125, + "start": 1777483946296429634 }, { "name": "django.middleware", @@ -115,10 +120,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17866375, - "start": 1771925639436816010 + "duration": 12020083, + "start": 1777483946296467676 }, { "name": "django.middleware", @@ -131,10 +137,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 19708, - "start": 1771925639436845760 + "duration": 9167, + "start": 1777483946296479884 }, { "name": "django.middleware", @@ -147,10 +154,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17747458, - "start": 1771925639436890010 + "duration": 11960209, + "start": 1777483946296499842 }, { "name": "django.middleware", @@ -163,10 +171,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 22833, - "start": 1771925639436918718 + "duration": 10666, + "start": 1777483946296512301 }, { "name": "django.middleware", @@ -179,10 +188,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17666083, - "start": 1771925639436962135 + "duration": 11922625, + "start": 1777483946296532509 }, { "name": "django.middleware", @@ -195,10 +205,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 45333, - "start": 1771925639436991260 + "duration": 26375, + "start": 1777483946296544676 }, { "name": "django.middleware", @@ -211,10 +222,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17521083, - "start": 1771925639437058468 + "duration": 11792042, + "start": 1777483946296581759 }, { "name": "django.middleware", @@ -227,10 +239,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17428125, - "start": 1771925639437088676 + "duration": 11748709, + "start": 1777483946296593967 }, { "name": "django.middleware", @@ -243,10 +256,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17000, - "start": 1771925639437116301 + "duration": 7541, + "start": 1777483946296605176 }, { "name": "django.middleware", @@ -259,10 +273,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17275291, - "start": 1771925639437152760 + "duration": 11665167, + "start": 1777483946296621009 }, { "name": "django.middleware", @@ -275,10 +290,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17242084, - "start": 1771925639437175551 + "duration": 11649083, + "start": 1777483946296632051 }, { "name": "django.middleware", @@ -291,10 +307,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 17040917, - "start": 1771925639437360718 + "duration": 11624625, + "start": 1777483946296644134 }, { "name": "django.middleware", @@ -307,10 +324,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 33416, - "start": 1771925639438303010 + "duration": 33458, + "start": 1777483946297309134 }, { "name": "django.middleware", @@ -323,10 +341,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 22500, - "start": 1771925639438531135 + "duration": 20583, + "start": 1777483946297490676 }, { "name": "django.view", @@ -339,10 +358,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 12513250, - "start": 1771925639438786301 + "duration": 8459042, + "start": 1777483946297726634 }, { "name": "django.middleware", @@ -355,10 +375,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 52667, - "start": 1771925639451873801 + "duration": 23334, + "start": 1777483946306387342 }, { "name": "django.response.render", @@ -371,10 +392,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2035792, - "start": 1771925639452183801 + "duration": 1603625, + "start": 1777483946306521051 }, { "name": "django.template.render", @@ -387,12 +409,13 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django", "django.template.engine.class": "django.template.engine.Engine", "django.template.name": "basic.html" }, - "duration": 1894916, - "start": 1771925639452267885 + "duration": 1466208, + "start": 1777483946306567926 }, { "name": "django.middleware", @@ -405,10 +428,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 43292, - "start": 1771925639454462843 + "duration": 29250, + "start": 1777483946308308009 }, { "name": "django.middleware", @@ -421,10 +445,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 29167, - "start": 1771925639454539926 + "duration": 15042, + "start": 1777483946308354134 }, { "name": "django.middleware", @@ -437,10 +462,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 19084, - "start": 1771925639454600051 + "duration": 21208, + "start": 1777483946308426301 }, { "name": "django.middleware", @@ -453,10 +479,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 16000, - "start": 1771925639454657676 + "duration": 9875, + "start": 1777483946308473551 }, { "name": "django.middleware", @@ -469,10 +496,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 42375, - "start": 1771925639454701010 + "duration": 20458, + "start": 1777483946308497676 }, { "name": "django.middleware", @@ -485,8 +513,9 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "django", "component": "django" }, - "duration": 24083, - "start": 1771925639454774135 + "duration": 15750, + "start": 1777483946308532759 }]] diff --git a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_urlpatterns_include.json b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_urlpatterns_include.json index c2d6cf520be..1e17589bb60 100644 --- a/tests/snapshots/tests.contrib.django.test_django_snapshots.test_urlpatterns_include.json +++ b/tests/snapshots/tests.contrib.django.test_django_snapshots.test_urlpatterns_include.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.django", "_dd.p.dm": "-0", - "_dd.p.tid": "699d707800000000", + "_dd.p.tid": "69f240a800000000", "_dd.svc_src": "django", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.django", "component": "django", "django.request.class": "django.core.handlers.wsgi.WSGIRequest", "django.response.class": "django.http.response.HttpResponse", @@ -23,7 +24,7 @@ "http.status_code": "200", "http.url": "http://testserver/include/test/", "language": "python", - "runtime-id": "e7c92b7f14ae4c4494117b59624f651c", + "runtime-id": "4c98917997474893bdbaf69a9b946bdc", "span.kind": "server" }, "metrics": { @@ -31,10 +32,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 44289.0 + "process_id": 42212.0 }, - "duration": 5188584, - "start": 1771925624431470252 + "duration": 14588500, + "start": 1777483944229865133 }, { "name": "django.middleware", @@ -47,10 +48,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 4239875, - "start": 1771925624432086086 + "duration": 2246958, + "start": 1777483944241929217 }, { "name": "django.middleware", @@ -63,10 +65,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 75792, - "start": 1771925624432198127 + "duration": 54666, + "start": 1777483944242027717 }, { "name": "django.middleware", @@ -79,10 +82,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3828833, - "start": 1771925624432349211 + "duration": 1955000, + "start": 1777483944242128258 }, { "name": "django.middleware", @@ -95,10 +99,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 92917, - "start": 1771925624432444877 + "duration": 74833, + "start": 1777483944242183925 }, { "name": "django.middleware", @@ -111,10 +116,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3421667, - "start": 1771925624432608127 + "duration": 1694125, + "start": 1777483944242298342 }, { "name": "django.middleware", @@ -127,10 +133,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 74708, - "start": 1771925624432703461 + "duration": 35208, + "start": 1777483944242349842 }, { "name": "django.middleware", @@ -143,10 +150,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3047958, - "start": 1771925624432844544 + "duration": 1488167, + "start": 1777483944242419883 }, { "name": "django.middleware", @@ -159,10 +167,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 67167, - "start": 1771925624432939169 + "duration": 40625, + "start": 1777483944242470758 }, { "name": "django.middleware", @@ -175,10 +184,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2788875, - "start": 1771925624433073169 + "duration": 1340667, + "start": 1777483944242547383 }, { "name": "django.middleware", @@ -191,10 +201,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 122500, - "start": 1771925624433167252 + "duration": 68875, + "start": 1777483944242596508 }, { "name": "django.middleware", @@ -207,10 +218,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2360416, - "start": 1771925624433358836 + "duration": 1101250, + "start": 1777483944242700967 }, { "name": "django.middleware", @@ -223,10 +235,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 2105417, - "start": 1771925624433452252 + "duration": 958000, + "start": 1777483944242750342 }, { "name": "django.middleware", @@ -239,10 +252,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 62375, - "start": 1771925624434366127 + "duration": 30959, + "start": 1777483944242800133 }, { "name": "django.middleware", @@ -255,10 +269,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 887791, - "start": 1771925624434505711 + "duration": 737333, + "start": 1777483944242866300 }, { "name": "django.middleware", @@ -271,10 +286,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 778125, - "start": 1771925624434585669 + "duration": 672333, + "start": 1777483944242911425 }, { "name": "django.middleware", @@ -287,10 +303,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 665333, - "start": 1771925624434667086 + "duration": 600417, + "start": 1777483944242961675 }, { "name": "django.middleware", @@ -303,10 +320,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 62916, - "start": 1771925624434908336 + "duration": 95375, + "start": 1777483944243183758 }, { "name": "django.middleware", @@ -319,10 +337,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 51042, - "start": 1771925624435040127 + "duration": 35375, + "start": 1777483944243327758 }, { "name": "django.view", @@ -335,10 +354,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 95042, - "start": 1771925624435192502 + "duration": 76667, + "start": 1777483944243442383 }, { "name": "django.middleware", @@ -351,10 +371,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 70000, - "start": 1771925624435456002 + "duration": 46333, + "start": 1777483944243641925 }, { "name": "django.middleware", @@ -367,10 +388,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 61125, - "start": 1771925624435619127 + "duration": 39791, + "start": 1777483944243743092 }, { "name": "django.middleware", @@ -383,10 +405,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 50125, - "start": 1771925624435781794 + "duration": 32750, + "start": 1777483944243836467 }, { "name": "django.middleware", @@ -399,10 +422,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 46750, - "start": 1771925624435953336 + "duration": 30666, + "start": 1777483944243942967 }, { "name": "django.middleware", @@ -415,10 +439,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 57708, - "start": 1771925624436090294 + "duration": 37209, + "start": 1777483944244026758 }, { "name": "django.middleware", @@ -431,8 +456,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django", + "_dd.svc_src": "django", "component": "django" }, - "duration": 57917, - "start": 1771925624436238127 + "duration": 39458, + "start": 1777483944244117675 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json index 88fe74dc7cc..5a4963c859d 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -43,7 +42,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" @@ -67,7 +65,6 @@ "type": "worker", "error": 0, "meta": { - "_dd.svc_src": "m", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "messaging.destination.name": "test-topic", @@ -95,7 +92,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json index d8abf6ecae4..1cb51572e12 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" @@ -35,7 +34,6 @@ "type": "worker", "error": 1, "meta": { - "_dd.svc_src": "m", "component": "google_cloud_pubsub", "error.message": "404 Topic not found", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 55, in error_remapped_callable\n return callable_(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/grpc/_channel.py\", line 1159, in __call__\n return _end_unary_response_blocking(state, call, False, None)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/grpc/_channel.py\", line 990, in _end_unary_response_blocking\n raise _InactiveRpcError(state) # pytype: disable=not-instantiable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ngrpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.NOT_FOUND\n\tdetails = \"Topic not found\"\n\tdebug_error_string = \"UNKNOWN:Error received from peer {grpc_status:5, grpc_message:\"Topic not found\"}\"\n>\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_cloud_pubsub/patch.py\", line 233, in sent_callback\n message_id = future.result()\n ^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/futures.py\", line 66, in result\n return super().result(timeout=timeout)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 449, in result\n return self.__get_result()\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/concurrent/futures/_base.py\", line 401, in __get_result\n raise self._exception\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/_batch/thread.py\", line 274, in _commit\n response = self._client._gapic_publish(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/client.py\", line 267, in _gapic_publish\n return super().publish(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/pubsub_v1/services/publisher/client.py\", line 794, in publish\n response = rpc(\n ^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py\", line 128, in __call__\n return wrapped_func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 294, in retry_wrapped_func\n return retry_target(\n ^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 156, in retry_target\n next_sleep = _retry_error_helper(\n ^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_base.py\", line 216, in _retry_error_helper\n raise final_exc from source_exc\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py\", line 147, in retry_target\n result = target()\n ^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/timeout.py\", line 130, in func_with_timeout\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_falcon_setuptools82_google-cloud-pubsub2140/lib/python3.12/site-packages/google/api_core/grpc_helpers.py\", line 57, in error_remapped_callable\n raise exceptions.from_grpc_error(exc) from exc\ngoogle.api_core.exceptions.NotFound: 404 Topic not found\n", diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json index e9fd22392ea..bae97ffb11a 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -43,7 +42,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -75,7 +73,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -109,7 +106,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "error.message": "callback error", @@ -148,7 +144,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -180,7 +175,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json index ba9b2009930..28f358a855c 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -43,7 +42,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -75,7 +73,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -109,7 +106,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -142,8 +138,7 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m" + "_dd.p.tid": "69e1290900000000" }, "duration": 63500, "start": 1776363785566501303 @@ -161,7 +156,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -193,7 +187,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json index 341119c7718..5ae4c27738e 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -43,7 +42,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -75,7 +73,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -107,7 +104,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -139,7 +135,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -175,7 +170,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e1290900000000", "_dd.span_links": "[{\"trace_id\": \"69e12909000000007567961e50918926\", \"span_id\": \"bea7fa6bfe46fb12\", \"tracestate\": \"dd=t.tid:69e1290900000000\", \"flags\": 0}]", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json index 68d2fc69570..a091060836b 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -43,7 +42,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -75,7 +73,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -107,7 +104,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -139,7 +135,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -174,7 +169,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1290a00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json index 479ea4c4f34..f3067c51f0d 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1291900000000", - "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" @@ -37,7 +36,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1291900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -74,7 +72,6 @@ "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", "_dd.p.tid": "69e1291900000000", - "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", "http.route": "/push", diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json index 7a28e02cdc0..0041ea03489 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1291900000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -46,7 +45,6 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", - "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", "http.route": "/push", diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json index 98a6f5ea39c..7c5aff294f7 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e1291900000000", - "_dd.svc_src": "tests.contrib.google_cloud_pubsub", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" @@ -39,7 +38,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69e1291900000000", "_dd.span_links": "[{\"trace_id\": \"69e1291900000000f24b2377555ae4dc\", \"span_id\": \"db5ddb5b07588db2\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e1291900000000\", \"flags\": 1}]", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -74,7 +72,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", - "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", "http.route": "/push", diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_chat_send_message.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_chat_send_message.json index 975c0088191..7164705b689 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_chat_send_message.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_chat_send_message.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6430000000000", - "_dd.svc_src": "tests.contrib.google_genai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content.json index 6d77036e0db..affc5c48c51 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6430000000000", - "_dd.svc_src": "tests.contrib.google_genai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "text-embedding-004", "google_genai.request.provider": "google", diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content_error.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content_error.json index 0015d27018f..ae47b1712b6 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content_error.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_embed_content_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6430000000000", - "_dd.svc_src": "tests.contrib.google_genai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "error.message": "Models.embed_content() got an unexpected keyword argument 'not_an_argument'", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_genai/patch.py\", line 109, in traced_embed_content\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: Models.embed_content() got an unexpected keyword argument 'not_an_argument'\n", diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content.json index d02209d666a..b7c7f4bd663 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e642ff00000000", - "_dd.svc_src": "tests.contrib.google_genai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_error.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_error.json index dccf3f93eb6..4abd5951259 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_error.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e642ff00000000", - "_dd.svc_src": "tests.contrib.google_genai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "error.message": "Models.generate_content() got an unexpected keyword argument 'not_an_argument'", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_genai/patch.py\", line 37, in traced_generate\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: Models.generate_content() got an unexpected keyword argument 'not_an_argument'\n", diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream.json index 46034d39d55..ee44cf497f7 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e642ff00000000", - "_dd.svc_src": "tests.contrib.google_genai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream_error.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream_error.json index 51184da2202..5f2113e134a 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream_error.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_stream_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e642ff00000000", - "_dd.svc_src": "tests.contrib.google_genai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "error.message": "Models.generate_content_stream() got an unexpected keyword argument 'not_an_argument'", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/google_genai/patch.py\", line 70, in traced_generate_stream\n resp = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: Models.generate_content_stream() got an unexpected keyword argument 'not_an_argument'\n", diff --git a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_with_tools.json b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_with_tools.json index 2bb784fb153..af9a6454083 100644 --- a/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_with_tools.json +++ b/tests/snapshots/tests.contrib.google_genai.test_google_genai.test_google_genai_generate_content_with_tools.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e642ff00000000", - "_dd.svc_src": "tests.contrib.google_genai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", @@ -41,7 +40,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e642ff00000000", - "_dd.svc_src": "tests.contrib.google_genai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_genai", "google_genai.request.model": "gemini-2.0-flash-001", "google_genai.request.provider": "google", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json index 74c22f35720..970da17b40d 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", "_dd.p.tid": "69de9e3e00000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "language": "python", @@ -39,7 +38,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -57,7 +55,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -75,7 +72,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json index f7529a9d048..d54a42040e5 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4000000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "error.message": "Cannot query field 'invalid_schema' on type 'RootQueryType'.\n\nGraphQL request:1:17\n1 | query my_query{ invalid_schema }\n | ^", @@ -42,7 +41,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query my_query{ invalid_schema }" }, @@ -60,7 +58,6 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "error.message": "Cannot query field 'invalid_schema' on type 'RootQueryType'.\n\nGraphQL request:1:17\n1 | query my_query{ invalid_schema }\n | ^", "error.type": "graphql.error.graphql_error.GraphQLError", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json index 7198317c6c2..59d143b2769 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4000000000", - "_dd.svc_src": "tests.contrib.graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "language": "python", "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" @@ -36,7 +35,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -57,7 +55,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -81,7 +78,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql" }, "duration": 65041, @@ -97,8 +93,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql" + "_dd.base_service": "tests.contrib.graphql" }, "duration": 18416, "start": 1776197184147216798 @@ -114,7 +109,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -138,7 +132,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql" }, "duration": 47917, @@ -154,8 +147,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql" + "_dd.base_service": "tests.contrib.graphql" }, "duration": 15334, "start": 1776197184147416089 diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json index 69e8176a1a8..78fa554dcb0 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4300000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "graphql.source": "type Query { fail: String }", @@ -42,7 +41,6 @@ "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4300000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "error.message": "'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }", @@ -73,7 +71,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query { fail }" }, @@ -91,7 +88,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query { fail }" }, @@ -109,7 +105,6 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "error.message": "'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.9/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", @@ -135,7 +130,6 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "error.message": "'NoneType' object has no attribute 'name'", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\nAttributeError: 'NoneType' object has no attribute 'name'\n", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json index 9c3d0ae5067..9145ca65e34 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4000000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "graphql.source": "query HELLO { hello }", @@ -42,7 +41,6 @@ "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4000000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "graphql.operation.name": "HELLO", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json index 0244cfbdd74..528545aa541 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4000000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "language": "python", @@ -39,7 +38,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -57,7 +55,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -75,7 +72,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -98,7 +94,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", - "_dd.svc_src": "graphql", "component": "graphql" }, "duration": 24875, diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json index 2b9573651bd..be9d40c705f 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json @@ -12,7 +12,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4100000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "language": "python", @@ -39,7 +38,6 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -57,7 +55,6 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -75,7 +72,6 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json index 07cff00b2f4..ab94b884518 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json @@ -12,7 +12,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4100000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "language": "python", @@ -39,7 +38,6 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -57,7 +55,6 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -75,7 +72,6 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", - "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json index 13ac2071e9a..bd634bac4fa 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4300000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "language": "python", @@ -37,7 +36,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -54,7 +52,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -71,7 +68,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json index 9684b03cea7..9b5ad019b22 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4200000000", - "_dd.svc_src": "my-service", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "graphql", "language": "python", @@ -37,7 +36,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "my-service", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -54,7 +52,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "my-service", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -71,7 +68,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "my-service", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json index f6babe4993a..7a0b9e6e881 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de9e4000000000", - "_dd.svc_src": "my-service", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "graphql", "language": "python", @@ -37,7 +36,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "my-service", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -54,7 +52,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "my-service", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -71,7 +68,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "my-service", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json index 4e039e3083f..2f9000f093b 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de9e3f00000000", - "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "graphql", "language": "python", @@ -37,7 +36,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -54,7 +52,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, @@ -71,7 +68,6 @@ "type": "graphql", "error": 0, "meta": { - "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit.json index a6ea88a4347..57b15fa421f 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da63b00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da63700000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_single_message.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_single_message.json index 6e2d4e4a77e..b2e26906d07 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_single_message.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_single_message.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da63e00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da63b00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_with_multiple_messages.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_with_multiple_messages.json index b6d80c964bc..c9b48ddf924 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_with_multiple_messages.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_with_multiple_messages.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da66f00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da66c00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -92,7 +90,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da66c00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_offset.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_offset.json index 0cb34c736a2..058fe4a471d 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_offset.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_offset.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da64600000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da64200000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_only_async_arg.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_only_async_arg.json index 6f8c75b46f0..4c8eb92b4b3 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_only_async_arg.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_only_async_arg.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da66b00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da66800000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[False].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[False].json index 636c75dcde5..c1fc7a8eb1d 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[False].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[False].json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da68a00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[True].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[True].json index 52f2c59b052..3e05795bd79 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[True].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[True].json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "699da67b00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-None].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-None].json index e2cdf8ac7a5..a2f2623edb4 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-None].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-None].json @@ -12,7 +12,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "699da64d00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "699da64a00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-mysvc].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-mysvc].json index a77fb3bae06..fd23bca3bb6 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-mysvc].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-mysvc].json @@ -12,7 +12,6 @@ "_dd.base_service": "mysvc", "_dd.p.dm": "-0", "_dd.p.tid": "699da65800000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "mysvc", "_dd.p.dm": "-0", "_dd.p.tid": "699da65500000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-None].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-None].json index cb6736d8044..b748a735cc4 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-None].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-None].json @@ -12,7 +12,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "699da6ea00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "699da6e600000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-mysvc].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-mysvc].json index ed957c25a46..a011e32d971 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-mysvc].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-mysvc].json @@ -12,7 +12,6 @@ "_dd.base_service": "mysvc", "_dd.p.dm": "-0", "_dd.p.tid": "699da65e00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "mysvc", "_dd.p.dm": "-0", "_dd.p.tid": "699da65a00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-None].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-None].json index abf77f5a2ba..0b0e133c4cb 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-None].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-None].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "699da68200000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -52,7 +51,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "699da67e00000000", "_dd.peer.service.source": "messaging.kafka.bootstrap.servers", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-mysvc].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-mysvc].json index b10cfc9afef..07a0d82a85a 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-mysvc].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-mysvc].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "699da67500000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -52,7 +51,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "699da67100000000", "_dd.peer.service.source": "messaging.kafka.bootstrap.servers", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json index 2fb5d1d480d..b34b69fbf63 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "69de789b00000000", - "_dd.svc_src": "tests.contrib.kafka", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", @@ -54,7 +53,6 @@ "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", "_dd.p.tid": "69de789800000000", - "_dd.svc_src": "tests.contrib.kafka", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json index dc895963fb1..ca9dac5e296 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json @@ -12,7 +12,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69de789f00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", @@ -54,7 +53,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69de789c00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka_dsm.test_data_streams_kafka_enabled.json b/tests/snapshots/tests.contrib.kafka.test_kafka_dsm.test_data_streams_kafka_enabled.json index ca38de6a2aa..5ca7a0fa5ea 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka_dsm.test_data_streams_kafka_enabled.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka_dsm.test_data_streams_kafka_enabled.json @@ -12,7 +12,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "699da61100000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -53,7 +52,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "699da60e00000000", - "_dd.svc_src": "kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json index 04daab2b767..6d61f5a9ed0 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json index b0a371ca62e..42254c0e491 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de495f00000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json index bfaa67e7b1d..99d0a583e97 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" @@ -36,7 +35,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai" }, diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json index 32329377b5e..b1e32c32eb8 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" @@ -36,7 +35,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai" }, diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json index 9ca19044c7e..495ddda166f 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de495f00000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" @@ -36,7 +35,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai" }, diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json index 57389927923..1c55980dc56 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de495f00000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.langchain" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.langchain" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json index a46603f23c7..76684204353 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" @@ -36,7 +35,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai" }, diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json index df67b4a643b..8c4cbec4b95 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" @@ -36,7 +35,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai" }, diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json index 4e01ea9ee86..cfc829dd5ca 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de49c500000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "claude-3-opus-20240229", "langchain.request.provider": "anthropic", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json index 4d3da43bf92..03c514312f6 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-0125", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json index 2845713794b..e3f9c82746e 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de49c000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json index 97c069a5198..5aae10c04c0 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de495e00000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json index d1a11a85fff..fad66ab7953 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json index 42eceeb2596..e9b4b754a2e 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de49c000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json index e9e7913298c..af5a08c16bb 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json index f98180c4101..54f96744a87 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json index 83f3f008d57..e18107bc78b 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json index 3c86e34ab5a..37838735ad2 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "error.message": "Error code: 400 - {'error': {'message': 'Invalid token in prompt: 123456. Minimum value is 0, maximum value is 100257 (inclusive).', 'type': 'invalid_request_error', 'param': None, 'code': None}}", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/langchain/patch.py\", line 72, in traced_llm_generate\n completions = func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/llms.py\", line 803, in generate\n output = self._generate_helper(\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/llms.py\", line 670, in _generate_helper\n raise e\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/llms.py\", line 657, in _generate_helper\n self._generate(\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_openai/llms/base.py\", line 350, in _generate\n response = self.client.create(prompt=_prompts, **params)\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/resources/completions.py\", line 541, in create\n return self._post(\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 1047, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': {'message': 'Invalid token in prompt: 123456. Minimum value is 0, maximum value is 100257 (inclusive).', 'type': 'invalid_request_error', 'param': None, 'code': None}}\n", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json index df12c9a2fb7..643d2602c63 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json index 1a6a9a0aeee..a5035eed899 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json index c922333f3aa..6f536753ad4 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.langchain" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.langchain" - }, "metrics": { "_dd.measured": 1.0 }, @@ -71,9 +64,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.langchain" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json index c2f7f9acf85..c8fa2b6e7b0 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json index 5cbb66d9254..2868ac61b12 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.langchain" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.langchain" - }, "metrics": { "_dd.measured": 1.0 }, @@ -71,9 +64,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.langchain" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json index 084f76a13e5..3d8dd566f50 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496100000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", "runtime-id": "5d52c01e8808486cb32b3d08c8e2c347" diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json index 949d1ed0be0..3affc26cd86 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de495f00000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.stream": "True", "language": "python", @@ -37,7 +36,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True" diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json index 9917496c8ed..4fea54217fc 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de495f00000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai-chat", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json index 1230c87add7..b4fc3c35de8 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de495e00000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "error.message": "Request timed out.", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1092, in __call__\n return self._mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1096, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1151, in _execute_mock_call\n raise effect\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1092, in __call__\n return self._mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1096, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1151, in _execute_mock_call\n raise effect\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1092, in __call__\n return self._mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1096, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n File \"/home/bits/.pyenv/versions/3.9.25/lib/python3.9/unittest/mock.py\", line 1151, in _execute_mock_call\n raise effect\nhttpx.ReadTimeout: Request timed out.\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 153, in __next__\n chunk = self._self_stream_iter.__next__()\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/chat_models.py\", line 249, in stream\n raise e\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_core/language_models/chat_models.py\", line 229, in stream\n for chunk in self._stream(messages, stop=stop, **kwargs):\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/langchain_openai/chat_models/base.py\", line 480, in _stream\n with self.client.create(messages=message_dicts, **params) as response:\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/resources/chat/completions/completions.py\", line 1147, in create\n return self._post(\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n File \"/home/bits/project/.riot/venv_py3925_176838af7a41f69b/lib/python3.9/site-packages/openai/_base_client.py\", line 1000, in request\n raise APITimeoutError(request=request) from err\nopenai.APITimeoutError: Request timed out.\n", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json index f1ef78c2c20..058cae3171b 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.stream": "True", "language": "python", @@ -37,7 +36,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "gpt-4o", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True" diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json index d70707eb42e..46dd456de5b 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de496000000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json index 5064eb922ac..d416a8e8660 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de49c500000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai", @@ -41,7 +40,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de49c500000000", - "_dd.svc_src": "tests.contrib.langchain", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.provider": "inmemoryvectorstore", "language": "python", @@ -67,7 +65,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai" }, diff --git a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_completion.json b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_completion.json index 0796d7f6dc4..b7bbc5d1653 100644 --- a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_completion.json +++ b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_completion.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6434900000000", - "_dd.svc_src": "tests.contrib.litellm", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.litellm", "language": "python", "litellm.request.model": "gpt-3.5-turbo", diff --git a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json index 1004c6f8509..956428b9708 100644 --- a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json +++ b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6434a00000000", - "_dd.svc_src": "tests.contrib.litellm", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.litellm", "language": "python", "litellm.request.model": "gpt-3.5-turbo", @@ -37,7 +36,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.contrib.litellm", "litellm.request.model": "gpt-3.5-turbo" }, "metrics": { diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_context_manager_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_context_manager_run.json index ff154901fec..6fe77733249 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_context_manager_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_context_manager_run.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea222500000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", @@ -41,7 +40,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "b441583091954b95abf2f0ee092e0ffc", "mlflow.step": "0", @@ -61,7 +59,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "mlflow.run_id": "b441583091954b95abf2f0ee092e0ffc" }, "duration": 30708, diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_error_in_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_error_in_run.json index 5d2f9e3ca87..51c6386a463 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_error_in_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_error_in_run.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea222500000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "error.message": "this is an error", @@ -43,7 +42,6 @@ "error": 1, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "error.message": "this is an error", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/mlflow/test_mlflow.py\", line 63, in test_mlflow_error_in_run\n raise ValueError(\"this is an error\")\nValueError: this is an error\n", diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_manual_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_manual_run.json index 073d3ad5719..ec7446e72f1 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_manual_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_manual_run.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea222500000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", @@ -41,7 +40,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "4a2d26c584634b599f5496e88a0800c8", "mlflow.step": "0", @@ -61,7 +59,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "mlflow.run_id": "4a2d26c584634b599f5496e88a0800c8" }, "duration": 34166, diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_multiple_steps.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_multiple_steps.json index 6cc98ac80e2..452ca470b38 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_multiple_steps.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_multiple_steps.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea222200000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", @@ -40,7 +39,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.my_param": "value", "mlflow.run_id": "926c0d76ed48445388668a712b0f8bcf", @@ -64,7 +62,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.my_param": "value", "mlflow.run_id": "926c0d76ed48445388668a712b0f8bcf", @@ -88,7 +85,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "926c0d76ed48445388668a712b0f8bcf", "span.kind": "internal" diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_nested_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_nested_run.json index dbc2f6dee2e..b7e15e94e98 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_nested_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_mlflow_nested_run.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea222500000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", @@ -41,7 +40,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.p": "1", "mlflow.run_id": "494ef8c492204ff3881f59e5d8a528fd", @@ -62,7 +60,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ce4f16e0ef644b069a6cdb60e156831c", "mlflow.run_name": "child_1", @@ -82,7 +79,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.c1": "10", "mlflow.run_id": "ce4f16e0ef644b069a6cdb60e156831c", @@ -103,7 +99,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "3d35330fede5427fbb33e0aefab6ab65", "mlflow.run_name": "child_2", @@ -123,7 +118,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.params.c2": "20", "mlflow.run_id": "3d35330fede5427fbb33e0aefab6ab65", diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_model_lab_enabled_activates_mlflow_tracing_and_log_injection.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_model_lab_enabled_activates_mlflow_tracing_and_log_injection.json index 5e9b1c34402..70b806f66ea 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_model_lab_enabled_activates_mlflow_tracing_and_log_injection.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow.test_model_lab_enabled_activates_mlflow_tracing_and_log_injection.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea222800000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpq02bb67,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mlflow", "language": "python", @@ -40,7 +39,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "b1e31f29b0204fcf8c303d70c2c593bb", "mlflow.step": "0", diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_on_the_same_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_on_the_same_run.json index c0f510ec373..3d094f0c4f4 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_on_the_same_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_on_the_same_run.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea222200000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", @@ -40,7 +39,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "mlflow.step": "0", @@ -63,7 +61,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "mlflow.step": "1", @@ -86,7 +83,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "mlflow.step": "2", @@ -109,7 +105,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "mlflow.step": "3", @@ -132,7 +127,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "07bfe8d1d38d4bfe9343a0d5c9b750ec", "span.kind": "internal" diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_new_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_new_run.json index 08a4ede7285..511677b25c8 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_new_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_new_run.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea221e00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", @@ -40,7 +39,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "b16325ac9dfc4b028eae350d15776686", "mlflow.step": "0", @@ -60,7 +58,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ac3d91dd063e49a8b99457a84cc78285", "mlflow.run_name": "worker-0", @@ -85,7 +82,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ac3d91dd063e49a8b99457a84cc78285", "mlflow.step": "0", @@ -108,7 +104,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ac3d91dd063e49a8b99457a84cc78285", "mlflow.step": "1", @@ -131,7 +126,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ac3d91dd063e49a8b99457a84cc78285", "span.kind": "internal" @@ -150,7 +144,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "bc4f13680d644401bfb454f3371dbb81", "mlflow.run_name": "worker-1", @@ -175,7 +168,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "bc4f13680d644401bfb454f3371dbb81", "mlflow.step": "2", @@ -198,7 +190,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "bc4f13680d644401bfb454f3371dbb81", "mlflow.step": "3", @@ -221,7 +212,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "bc4f13680d644401bfb454f3371dbb81", "span.kind": "internal" diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_same_run.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_same_run.json index 572fded9b32..f27013317b9 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_same_run.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_specifying_same_run.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea222200000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.mlflow", "component": "mlflow", "language": "python", @@ -40,7 +39,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "mlflow.step": "0", @@ -63,7 +61,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "mlflow.step": "1", @@ -86,7 +83,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "mlflow.step": "2", @@ -109,7 +105,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "mlflow.step": "3", @@ -132,7 +127,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "ba5e9893214c46a98ed24f1f65259013", "span.kind": "internal" diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json index a0e1db9c42b..df0696183a9 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_global_stack.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea3f7b00000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2un48no1,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mlflow", "language": "python", @@ -40,7 +39,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", "mlflow.step": "0", @@ -63,7 +61,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", "mlflow.step": "1", @@ -86,7 +83,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", "mlflow.step": "2", @@ -109,7 +105,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", "mlflow.step": "3", @@ -132,7 +127,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "f2da7ef539144764b44e5ec3f2b1b154", "span.kind": "internal" diff --git a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_thread_local.json b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_thread_local.json index 1d33c6ff557..2daa602061f 100644 --- a/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_thread_local.json +++ b/tests/snapshots/tests.contrib.mlflow.test_mlflow_thread.test_mlflow_multithreaded_steps_without_explicit_run_id_thread_local.json @@ -12,7 +12,6 @@ "_dd.hostname": "docker-desktop", "_dd.p.dm": "-0", "_dd.p.tid": "69ea222100000000", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpowatv229,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "mlflow", "language": "python", @@ -40,7 +39,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "c1540d6da18942e6bd3945f41f361555", "mlflow.step": "0", @@ -60,7 +58,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "673c9b7b56304ee1986289326dd02e65", "runtime-id": "ebb49a78222a435f9a4bb5d6e0c29a1b", @@ -84,7 +81,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "673c9b7b56304ee1986289326dd02e65", "mlflow.step": "1", @@ -107,7 +103,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "673c9b7b56304ee1986289326dd02e65", "span.kind": "internal" @@ -126,7 +121,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "7f00951902fb4cd991580a256729fb4d", "runtime-id": "ebb49a78222a435f9a4bb5d6e0c29a1b", @@ -150,7 +144,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "7f00951902fb4cd991580a256729fb4d", "mlflow.step": "3", @@ -173,7 +166,6 @@ "error": 0, "meta": { "_dd.hostname": "docker-desktop", - "_dd.svc_src": "m", "component": "mlflow", "mlflow.run_id": "7f00951902fb4cd991580a256729fb4d", "span.kind": "internal" diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_acompletion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_acompletion.json index 175b1b05942..ed9c03aa7ef 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_acompletion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_acompletion.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_chat_completion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_chat_completion.json index d84e4bff379..42e13bd61c0 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_chat_completion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_chat_completion.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554000000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_completion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_completion.json index e7defaf9ef8..7b4039d3086 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_completion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_completion.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_embedding.json b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_embedding.json index 9c9e663d496..88d25561f60 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_embedding.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_azure_openai_embedding.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion.json index 34b7a0abfb5..cffcc3bc213 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_function_calling.json b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_function_calling.json index ba3cf262618..a62aa790161 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_function_calling.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_function_calling.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_image_input.json b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_image_input.json index 7bb7c56b115..155be093661 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_image_input.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_image_input.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554200000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_stream.json b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_stream.json index ae8266e91c3..b9ce69bbbac 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_stream.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_chat_completion_stream.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de557400000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_completion.json b/tests/snapshots/tests.contrib.openai.test_openai.test_completion.json index e554c70aa63..110f11a756e 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_completion.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_completion.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554000000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_completion_stream.json b/tests/snapshots/tests.contrib.openai.test_openai.test_completion_stream.json index b026cde051a..f7619529f41 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_completion_stream.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_completion_stream.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554200000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_create_moderation.json b/tests/snapshots/tests.contrib.openai.test_openai.test_create_moderation.json index d4115668793..f244addba0e 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_create_moderation.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_create_moderation.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554200000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding.json b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding.json index 61b50acaaf4..7b4afa1d66b 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554000000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_array_of_token_arrays.json b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_array_of_token_arrays.json index 69d4f323d1f..39e9ad04b34 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_array_of_token_arrays.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_array_of_token_arrays.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554300000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_string_array.json b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_string_array.json index 098a676a0ce..3141398a11c 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_string_array.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_string_array.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554600000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_token_array.json b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_token_array.json index 7debb5f0cc3..a5ac016f63c 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_token_array.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_embedding_token_array.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554900000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_create.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_create.json index eecd1c67848..84adaf7252d 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_create.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_create.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de553c00000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_delete.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_delete.json index 9ca3d0fac69..6f2ae65de85 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_delete.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_delete.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de553e00000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_download.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_download.json index c345b87de7a..56a5a91002d 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_download.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_download.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_list.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_list.json index 89c38895ada..6028c7de600 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_list.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_list.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_file_retrieve.json b/tests/snapshots/tests.contrib.openai.test_openai.test_file_retrieve.json index 1f81124a784..aaed518a9f4 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_file_retrieve.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_file_retrieve.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_image_b64_json_response.json b/tests/snapshots/tests.contrib.openai.test_openai.test_image_b64_json_response.json index 89b92f97764..7e6e646a57f 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_image_b64_json_response.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_image_b64_json_response.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_image_create.json b/tests/snapshots/tests.contrib.openai.test_openai.test_image_create.json index 692372f9010..549eec5e8fe 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_image_create.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_image_create.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_misuse.json b/tests/snapshots/tests.contrib.openai.test_openai.test_misuse.json index 6b3557548be..8eac835b8c4 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_misuse.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_misuse.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de553c00000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "error.message": "Missing required arguments; Expected either ('model' and 'prompt') or ('model', 'prompt' and 'stream') arguments to be given", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_alist_pagination.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_alist_pagination.json index 52b3f7434e3..54fbbb4d262 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_alist_pagination.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_alist_pagination.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_delete.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_delete.json index fc7966cb024..2d80bf1b128 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_delete.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_delete.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554300000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_list.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_list.json index 4c941ed80fa..21a0ed0e7c6 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_list.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_list.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de553c00000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_list_pagination.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_list_pagination.json index 1173dd4db76..e64e01d6433 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_list_pagination.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_list_pagination.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_model_retrieve.json b/tests/snapshots/tests.contrib.openai.test_openai.test_model_retrieve.json index 442d4afc0b7..4a4964fef58 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_model_retrieve.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_model_retrieve.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de553c00000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response.json index a430b0264e5..657a32e5762 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de55a900000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response_error.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response_error.json index 68d13833f50..f5d3f131b2a 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response_error.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de55a900000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "error.message": "Error code: 400 - {'error': {'message': \"The requested model 'invalid-model' does not exist.\", 'type': 'invalid_request_error', 'param': 'model', 'code': 'model_not_found'}}", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response_stream.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response_stream.json index aba5da13d8f..37ba460531b 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response_stream.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response_stream.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de55a600000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json index 62f3bcd8aa6..b63937ddd75 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de5b2800000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools_stream.json b/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools_stream.json index 1d9bec52e01..477450021dd 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools_stream.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_response_tools_stream.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de55a500000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai.test_span_finish_on_stream_error.json b/tests/snapshots/tests.contrib.openai.test_openai.test_span_finish_on_stream_error.json index 52a8bd25157..e40fddb36d9 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai.test_span_finish_on_stream_error.json +++ b/tests/snapshots/tests.contrib.openai.test_openai.test_span_finish_on_stream_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "error.message": "Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-wrong****-key. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json index e86e68c14cf..fcfb998e1b1 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_chat_completion_parse.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de5b2100000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_chat_completion_resp_returns.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_chat_completion_resp_returns.json index 453c694a970..31100f607d3 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_chat_completion_resp_returns.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_chat_completion_resp_returns.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554300000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_completion_resp_returns.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_completion_resp_returns.json index 8334c8a84b7..195ffa61f3d 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_completion_resp_returns.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_completion_resp_returns.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554300000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json index 904114416e7..828dd95eff3 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_empty_streamed_response_resp_returns.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de5b2c00000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_async.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_async.json index bad453a39c6..dd41a249f70 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_async.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_async.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de553d00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-None].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-None].json index 7183fb8c094..bae7be6ba65 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-None].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-None].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de553e00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v0].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v0].json index c6bbd3870ce..cd53803e9e6 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v0].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v0].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554300000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v1].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v1].json index 1640027ca3d..364b43cb7e9 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v1].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[None-v1].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554600000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-None].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-None].json index 6c0126bcc9c..eb71f991f9b 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-None].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-None].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554800000000", - "_dd.svc_src": "mysvc", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v0].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v0].json index e9e61f6990e..4642cd502ca 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v0].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v0].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554100000000", - "_dd.svc_src": "mysvc", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v1].json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v1].json index 48f108406a1..042e58fcd98 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v1].json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_service_name[mysvc-v1].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de554700000000", - "_dd.svc_src": "mysvc", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_sync.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_sync.json index 7b13e53eaa2..1c04a0c8d37 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_sync.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_integration_sync.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de553f00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_response_parse.json b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_response_parse.json index 07c1f6e4938..c31fc29f7f3 100644 --- a/tests/snapshots/tests.contrib.openai.test_openai_v1.test_response_parse.json +++ b/tests/snapshots/tests.contrib.openai.test_openai_v1.test_response_parse.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69de55a900000000", - "_dd.svc_src": "tests.contrib.openai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai", "component": "openai", "language": "python", diff --git a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents.json b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents.json index cb44d9f30b1..512b34b81b9 100644 --- a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents.json +++ b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6440500000000", - "_dd.svc_src": "tests.contrib.openai_agents", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai_agents", "language": "python", "runtime-id": "e799c741d7964a95a505de6ad4017dc5" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_streaming.json b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_streaming.json index 0462b9376be..fe681682063 100644 --- a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_streaming.json +++ b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_streaming.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6440500000000", - "_dd.svc_src": "tests.contrib.openai_agents", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai_agents", "language": "python", "runtime-id": "e799c741d7964a95a505de6ad4017dc5" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_sync.json b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_sync.json index b6ef6397fb8..9f872f47275 100644 --- a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_sync.json +++ b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_sync.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6440500000000", - "_dd.svc_src": "tests.contrib.openai_agents", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai_agents", "language": "python", "runtime-id": "e799c741d7964a95a505de6ad4017dc5" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_with_tool_error.json b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_with_tool_error.json index a2a6c02c290..21ff09cf70f 100644 --- a/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_with_tool_error.json +++ b/tests/snapshots/tests.contrib.openai_agents.test_openai_agents.test_openai_agents_with_tool_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6440500000000", - "_dd.svc_src": "tests.contrib.openai_agents", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.openai_agents", "language": "python", "runtime-id": "e799c741d7964a95a505de6ad4017dc5" @@ -35,9 +34,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, @@ -53,9 +49,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, @@ -71,9 +64,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, @@ -89,9 +79,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.openai_agents" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run.json b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run.json index 04ff6092d05..31318bccef2 100644 --- a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run.json +++ b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6445c00000000", - "_dd.svc_src": "tests.contrib.pydantic_ai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.pydantic_ai", "language": "python", "pydantic_ai.request.model": "gpt-4o", diff --git a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run_error.json b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run_error.json index 7c78e83a57b..8d462e64ac7 100644 --- a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run_error.json +++ b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_run_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6445c00000000", - "_dd.svc_src": "tests.contrib.pydantic_ai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.pydantic_ai", "error.message": "test error", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/contrib/pydantic_ai/test_pydantic_ai.py\", line 46, in test_agent_iter_error\n raise Exception(\"test error\")\nException: test error\n", diff --git a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_with_tools.json b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_with_tools.json index f1d0b5bdd8e..86d868cc188 100644 --- a/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_with_tools.json +++ b/tests/snapshots/tests.contrib.pydantic_ai.test_pydantic_ai.test_agent_with_tools.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6445c00000000", - "_dd.svc_src": "tests.contrib.pydantic_ai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.pydantic_ai", "language": "python", "pydantic_ai.request.model": "gpt-4o", @@ -37,9 +36,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.pydantic_ai" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json index d3fd4092e82..f85987d43b3 100644 --- a/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json +++ b/tests/snapshots/tests.contrib.pytest.snapshot.test_pytest_xdist_snapshot.test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty.json @@ -11,36 +11,36 @@ "meta": { "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69eba74500000000", + "_dd.p.tid": "69f2392a00000000", "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.name:coverage,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:pytest", "component": "pytest", "language": "python", - "library_version": "4.8.0rc4", + "library_version": "4.9.0rc1", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "997a8cd9211646ae91ac37d028d1aa1b", + "runtime-id": "63289206aacb42f2b8f674c7fa1d4ec9", "runtime.name": "CPython", - "runtime.version": "3.12.12", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "7.4.4", + "test.framework_version": "8.4.2", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "607466718009315245", + "test_session_id": "4792994328018903974", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38950.0 + "process_id": 38653.0 }, - "duration": 2111108163, - "start": 1777051461458093501 + "duration": 2225630295, + "start": 1777482026312324009 }], [ { @@ -56,23 +56,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69eba74700000000", + "_dd.p.tid": "69f2392b00000000", "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc4", + "library_version": "4.9.0rc1", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "6663fe972c3e418c90a5f909d72f41e3", + "runtime-id": "2f970f16b024406b9963870057eba137", "runtime.name": "CPython", - "runtime.version": "3.12.12", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 2", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "7.4.4", + "test.framework_version": "8.4.2", "test.module": "", "test.module_path": "", "test.name": "test_mult_two_number_list", @@ -80,21 +80,21 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "1777298446779686129", - "test_session_id": "10000003533385984797", - "test_suite_id": "17973141084341591970", + "test_module_id": "1640518971884611946", + "test_session_id": "7153705028417061414", + "test_suite_id": "13114561055341761463", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38970.0, - "test.source.end": 10.0, - "test.source.start": 4.0 + "process_id": 38675.0, + "test.source.end": 17.0, + "test.source.start": 11.0 }, - "duration": 1432085, - "start": 1777051463049435627 + "duration": 1123395, + "start": 1777482027959036093 }], [ { @@ -103,7 +103,7 @@ "resource": "pytest.test_session", "trace_id": 2, "span_id": 1, - "parent_id": 607466718009315245, + "parent_id": 4792994328018903974, "type": "test", "error": 0, "meta": { @@ -114,31 +114,31 @@ "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc4", + "library_version": "4.9.0rc1", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "f2d6b9dbe6d6436887ae986e6196a5d3", + "runtime-id": "b5867191e5964453ad4707c783f51c01", "runtime.name": "CPython", - "runtime.version": "3.12.12", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "7.4.4", + "test.framework_version": "8.4.2", "test.itr.tests_skipping.enabled": "false", "test.status": "pass", - "test_session_id": "11362778027336128964", + "test_session_id": "14555377099579491494", "type": "test_session_end" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38978.0 + "process_id": 38684.0 }, - "duration": 29316745, - "start": 1777051463024105335 + "duration": 34947027, + "start": 1777482027931906093 }, { "name": "pytest.test_module", @@ -157,23 +157,23 @@ "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc4", + "library_version": "4.9.0rc1", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.12", + "runtime.version": "3.9.25", "span.kind": "test", "test.code_coverage.enabled": "false", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "7.4.4", + "test.framework_version": "8.4.2", "test.itr.tests_skipping.enabled": "false", "test.module": "", "test.module_path": "", "test.status": "pass", - "test_module_id": "11320751453947831619", - "test_session_id": "11362778027336128964", + "test_module_id": "7339197073406508195", + "test_session_id": "14555377099579491494", "type": "test_module_end" }, "metrics": { @@ -181,8 +181,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 3057078, - "start": 1777051463049979210 + "duration": 2130784, + "start": 1777482027964343968 }, { "name": "pytest.test_suite", @@ -201,23 +201,23 @@ "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc4", + "library_version": "4.9.0rc1", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", "runtime.name": "CPython", - "runtime.version": "3.12.12", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 2", "test.framework": "pytest", - "test.framework_version": "7.4.4", + "test.framework_version": "8.4.2", "test.module": "", "test.module_path": "", "test.status": "pass", "test.suite": "test_tools.py", - "test_module_id": "11320751453947831619", - "test_session_id": "11362778027336128964", - "test_suite_id": "17471407511913276707", + "test_module_id": "7339197073406508195", + "test_session_id": "14555377099579491494", + "test_suite_id": "17334746476352920928", "type": "test_suite_end" }, "metrics": { @@ -225,8 +225,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0 }, - "duration": 2858929, - "start": 1777051463050051919 + "duration": 1970933, + "start": 1777482027964410635 }], [ { @@ -242,23 +242,23 @@ "_dd.base_service": "", "_dd.origin": "ciapp-test", "_dd.p.dm": "-0", - "_dd.p.tid": "69eba74700000000", + "_dd.p.tid": "69f2392b00000000", "_dd.svc_src": "pytest", "_dd.tags.process": "entrypoint.basedir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,entrypoint.name:-c,entrypoint.type:script,entrypoint.workdir:test_pytest_xdist_n2_wont_include_lines_pct_if_report_empty0,svc.auto:-c", "component": "pytest", "language": "python", - "library_version": "4.8.0rc4", + "library_version": "4.9.0rc1", "os.architecture": "aarch64", "os.platform": "Linux", "os.version": "6.12.72-linuxkit", - "runtime-id": "f2d6b9dbe6d6436887ae986e6196a5d3", + "runtime-id": "b5867191e5964453ad4707c783f51c01", "runtime.name": "CPython", - "runtime.version": "3.12.12", + "runtime.version": "3.9.25", "span.kind": "test", "test.command": "pytest --ddtrace -n 2", "test.final_status": "pass", "test.framework": "pytest", - "test.framework_version": "7.4.4", + "test.framework_version": "8.4.2", "test.module": "", "test.module_path": "", "test.name": "test_add_two_number_list", @@ -266,19 +266,19 @@ "test.status": "pass", "test.suite": "test_tools.py", "test.type": "test", - "test_module_id": "11320751453947831619", - "test_session_id": "11362778027336128964", - "test_suite_id": "17471407511913276707", + "test_module_id": "7339197073406508195", + "test_session_id": "14555377099579491494", + "test_suite_id": "17334746476352920928", "type": "test" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 38978.0, - "test.source.end": 17.0, - "test.source.start": 11.0 + "process_id": 38684.0, + "test.source.end": 10.0, + "test.source.start": 4.0 }, - "duration": 1364282, - "start": 1777051463050114502 + "duration": 1052307, + "start": 1777482027964458093 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json index f2c65c43a87..398e6f9bf24 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json @@ -12,7 +12,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69de489300000000", "_dd.span_links": "[{\"trace_id\": \"69de489100000000c8bf589d76690f34\", \"span_id\": \"3d60173af9c958c9\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", - "_dd.svc_src": "tests.contrib.starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "language": "python", "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58" @@ -40,7 +39,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69de489100000000", "_dd.span_links": "[{\"trace_id\": \"69de489100000000c8bf589d76690f34\", \"span_id\": \"3d60173af9c958c9\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", - "_dd.svc_src": "tests.contrib.starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "language": "python", "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58" @@ -68,7 +66,6 @@ "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", "_dd.p.tid": "69de489100000000", - "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json index 487e6cdbde0..ea976053c43 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", "_dd.p.tid": "69de489e00000000", - "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -45,7 +44,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", - "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json index 606ee1a189c..790d2578d72 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", "_dd.p.tid": "69de488d00000000", - "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -45,7 +44,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", - "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", @@ -68,7 +66,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", - "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json index 763010483d2..d9e18c6b01a 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", "_dd.p.tid": "69de489c00000000", - "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -45,7 +44,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", - "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json index 5c0b68d1b08..107a63d6726 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", "_dd.p.tid": "69de488f00000000", - "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -45,7 +44,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", - "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json index 97cb4854d21..0af92286218 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", "_dd.p.tid": "69de488d00000000", - "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "POST", @@ -45,7 +44,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", - "_dd.svc_src": "starlette", "component": "sqlalchemy", "span.kind": "client", "sql.db": "test.db" @@ -72,7 +70,6 @@ "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", "_dd.p.tid": "69de488d00000000", - "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -105,7 +102,6 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", - "_dd.svc_src": "starlette", "component": "sqlalchemy", "span.kind": "client", "sql.db": "test.db" diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion.json index c3337858b29..0187998e904 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6470300000000", - "_dd.svc_src": "tests.contrib.vertexai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", "runtime-id": "d5979d38e7db4b038bec44cb583a3732", diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_error.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_error.json index 039fa170740..bf98e4c22e3 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_error.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6470300000000", - "_dd.svc_src": "tests.contrib.vertexai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "error.message": "_GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/vertexai/patch.py\", line 59, in _traced_generate\n generations = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: _GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'\n", diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_multiple_messages.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_multiple_messages.json index 6f673184818..be79e634f72 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_multiple_messages.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_multiple_messages.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6470300000000", - "_dd.svc_src": "tests.contrib.vertexai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", "runtime-id": "d5979d38e7db4b038bec44cb583a3732", diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream.json index d5bf43131f0..01395a8e51a 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6470300000000", - "_dd.svc_src": "tests.contrib.vertexai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", "runtime-id": "d5979d38e7db4b038bec44cb583a3732", diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_error.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_error.json index 90a9875b163..06ff68bf65e 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_error.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6470300000000", - "_dd.svc_src": "tests.contrib.vertexai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "error.message": "_GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/vertexai/patch.py\", line 59, in _traced_generate\n generations = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: _GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'\n", diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_tool.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_tool.json index ae65023e423..378c1e8bffb 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_tool.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_stream_tool.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6470300000000", - "_dd.svc_src": "tests.contrib.vertexai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", "runtime-id": "d5979d38e7db4b038bec44cb583a3732", diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_system_prompt.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_system_prompt.json index 26c62a5c041..94cf7e3eed0 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_system_prompt.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_system_prompt.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6470300000000", - "_dd.svc_src": "tests.contrib.vertexai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", "runtime-id": "d5979d38e7db4b038bec44cb583a3732", diff --git a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_tool.json b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_tool.json index e01eeaf4a35..bae6055e4c6 100644 --- a/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_tool.json +++ b/tests/snapshots/tests.contrib.vertexai.test_vertexai.test_vertexai_completion_tool.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e6470300000000", - "_dd.svc_src": "tests.contrib.vertexai", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.vertexai", "language": "python", "runtime-id": "d5979d38e7db4b038bec44cb583a3732", diff --git a/tests/snapshots/tests.integration.test_context_snapshots.test_context_multiprocess.json b/tests/snapshots/tests.integration.test_context_snapshots.test_context_multiprocess.json index 4b9a1a350d0..2ed65b528ea 100644 --- a/tests/snapshots/tests.integration.test_context_snapshots.test_context_multiprocess.json +++ b/tests/snapshots/tests.integration.test_context_snapshots.test_context_multiprocess.json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e9463200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.p.tid": "69f22be700000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "17cc97af76fc4ce783a0ce3ddde77251" + "runtime-id": "a73b5c516554400e9ea43261a6d694fb" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 47222.0 + "process_id": 1048.0 }, - "duration": 278586417, - "start": 1776895538019328170 + "duration": 276116375, + "start": 1777478631965987712 }, { "name": "proc", @@ -36,18 +35,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e9463200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.p.tid": "69f22be700000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1768a70bac264e9cb687fa28addd5903" + "runtime-id": "f38535d3ac524f6581119184ee8dcac0" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 47227.0 + "process_id": 1054.0 }, - "duration": 101479083, - "start": 1776895538045297295 + "duration": 106663334, + "start": 1777478631993917462 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json index 520b542b475..0457b577373 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e27aee00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp5gz4z17h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22bf000000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpctvmy0es,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "a276219cf1e240b4861282d670581d0e" + "runtime-id": "000cbc5f1b024c6fb87c399455f6de76" }, "metrics": { "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 40078.0 + "process_id": 1260.0 }, "duration": 1, - "start": 1776450286379887971 + "start": 1777478640218715966 }, { "name": "span2", @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "ddtrace_subprocess_dir" - }, - "duration": 18458, - "start": 1776450286379969263 + "duration": 16792, + "start": 1777478640218755258 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json index 27c71fe5840..6521576e413 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json @@ -10,19 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e27ae700000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22bec00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", "language": "python", - "runtime-id": "d4e8c310885b4410824ee07ab06c1229" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 39782.0 + "process_id": 488.0 }, - "duration": 48416, - "start": 1776450279862679052 + "duration": 37584, + "start": 1777478636997054631 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json index c4f64359d06..51b5a77aca5 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json @@ -10,19 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e27ae300000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22bee00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", "language": "python", - "runtime-id": "d4e8c310885b4410824ee07ab06c1229" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 39782.0 + "process_id": 488.0 }, - "duration": 52125, - "start": 1776450275655495258 + "duration": 31541, + "start": 1777478638772336716 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json index 9fb5063583f..9ae81502aeb 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json @@ -10,19 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e27ae800000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22bed00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "d4e8c310885b4410824ee07ab06c1229", + "runtime-id": "012a4626ce814cab9756191803c4ca2e", "\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5...": "\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 39782.0 + "process_id": 488.0 }, - "duration": 48958, - "start": 1776450280362065719 + "duration": 38542, + "start": 1777478637465650840 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json index b21c1b42bd2..5ece1944154 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json @@ -10,19 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e27ae700000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22bf000000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "d4e8c310885b4410824ee07ab06c1229", + "runtime-id": "012a4626ce814cab9756191803c4ca2e", "\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5...": "\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 39782.0 + "process_id": 488.0 }, - "duration": 34292, - "start": 1776450279870379593 + "duration": 33375, + "start": 1777478640053376050 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json index f53557f73e9..20b59e71052 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e27ae300000000", - "_dd.svc_src": "my-svc", + "_dd.p.tid": "69f22be900000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "env": "prod", "language": "python", - "runtime-id": "a85f31db8e9743adb5480f00bd4b5172", + "runtime-id": "8bc16dd8dcd34752995186e974b6f32e", "version": "1234" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 39808.0 + "process_id": 1095.0 }, - "duration": 69459, - "start": 1776450275033471424 + "duration": 36208, + "start": 1777478633864982755 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json index 39d4e436efe..2010789a4ca 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e27aeb00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz0wgpbdh,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22bee00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvgnqq603,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "6809d9a450014cffb0a2292a661d095a" + "runtime-id": "4b3c82fb6d9a4300afc11ffa2d1619c6" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 40013.0 + "process_id": 1224.0 }, - "duration": 1900041, - "start": 1776450283251307762 + "duration": 2447083, + "start": 1777478638952059674 }], [ { @@ -38,18 +37,17 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27aeb00000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz0wgpbdh,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22bee00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvgnqq603,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "6809d9a450014cffb0a2292a661d095a" + "runtime-id": "4b3c82fb6d9a4300afc11ffa2d1619c6" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 40013.0 + "process_id": 1224.0 }, - "duration": 49625, - "start": 1776450283251004678 + "duration": 38417, + "start": 1777478638951788007 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json index c2f27480f86..322d819d693 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json @@ -11,13 +11,12 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27ae700000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22be800000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "env": "my-env", "language": "python", "number3": "1", - "runtime-id": "d4e8c310885b4410824ee07ab06c1229" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, @@ -25,8 +24,8 @@ "_sampling_priority_v1": 1.0, "number1": 123.0, "number2": 12.0, - "process_id": 39782.0 + "process_id": 488.0 }, - "duration": 31666, - "start": 1776450279880666927 + "duration": 33375, + "start": 1777478632286764296 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json index 609232953f5..7a011e8bdc1 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json @@ -11,13 +11,12 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27aeb00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22bed00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "env": "my-env", "language": "python", "number3": "1", - "runtime-id": "d4e8c310885b4410824ee07ab06c1229" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, @@ -25,8 +24,8 @@ "_sampling_priority_v1": 1.0, "number1": 123.0, "number2": 12.0, - "process_id": 39782.0 + "process_id": 488.0 }, - "duration": 30834, - "start": 1776450283301054303 + "duration": 22708, + "start": 1777478637009226840 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json index bd2ff3cb820..fefcfbe0a78 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json @@ -6,21 +6,22 @@ "trace_id": 0, "span_id": 1, "parent_id": 0, + "type": "", + "error": 0, "meta": { - "_dd.base_service": "test_signal_shutdown_flushes_t1", + "_dd.base_service": "test_signal_shutdown_flushes_t2", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27ae100000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t1,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t1", + "_dd.p.tid": "69f22bea00000000", + "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t2,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t2", "language": "python", - "runtime-id": "13d21a1ea37148e2b049be95c1fdbfb3" + "runtime-id": "ae3973bd5f9246dfb6d825f2108f3d59" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 39794.0 + "process_id": 1108.0 }, - "duration": 80000, - "start": 1776450273764467715 + "duration": 43541, + "start": 1777478634328627922 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json index 04f598a9c93..f8d535c598d 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json @@ -6,21 +6,22 @@ "trace_id": 0, "span_id": 1, "parent_id": 0, + "type": "", + "error": 0, "meta": { "_dd.base_service": "test_signal_shutdown_flushes_t0", "_dd.p.dm": "-0", - "_dd.p.tid": "69e27ae100000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22be800000000", "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t0,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t0", "language": "python", - "runtime-id": "be45e43e9fb1450ea2d76299268134b8" + "runtime-id": "df2e85f9565343669db9a6ba02240ce3" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 39787.0 + "process_id": 1074.0 }, - "duration": 72416, - "start": 1776450273314486299 + "duration": 36333, + "start": 1777478632693857171 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json index 3ffab9d8e99..27a8eb2e38e 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 72416, + "Duration": 36333, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json index 43414605521..4dd1e8a09b5 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json @@ -9,18 +9,17 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "69e27ae500000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptixpq2qw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22bf000000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpb0vl2_nl,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "275eb5e43c8849d3858b799427ae5569" + "runtime-id": "dd71926973764f258b6595342398315c" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 39869.0 + "process_id": 1250.0 }, - "duration": 54708, - "start": 1776450277107520217 + "duration": 38542, + "start": 1777478640012291341 }]] diff --git a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json index 3d77135fc08..adbde96c321 100644 --- a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json +++ b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json @@ -12,21 +12,20 @@ "_dd.base_service": "tests.integration", "_dd.p.dm": "-1", "_dd.p.ksr": "0.9999", - "_dd.p.tid": "69e945dc00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.agent_psr": 0.9999, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46728.0 + "process_id": 488.0 }, - "duration": 20459, - "start": 1776895452728148255 + "duration": 20042, + "start": 1777478549948604966 }], [ { @@ -40,18 +39,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e945dc00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46728.0 + "process_id": 488.0 }, - "duration": 70292, - "start": 1776895452726755505 + "duration": 53125, + "start": 1777478549947630425 }]] diff --git a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json index bb3265123dd..fb1d495d37a 100644 --- a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json +++ b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json @@ -12,21 +12,20 @@ "_dd.base_service": "tests.integration", "_dd.p.dm": "-1", "_dd.p.ksr": "0.0001", - "_dd.p.tid": "69e945dc00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.agent_psr": 0.0001, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 0.0, - "process_id": 46728.0 + "process_id": 488.0 }, - "duration": 31958, - "start": 1776895452736377922 + "duration": 15167, + "start": 1777478549956372383 }], [ { @@ -40,18 +39,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e945dc00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46728.0 + "process_id": 488.0 }, - "duration": 44833, - "start": 1776895452735326297 + "duration": 22541, + "start": 1777478549955622050 }]] diff --git a/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json b/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json index f3db6486dc7..0c0541c158b 100644 --- a/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json +++ b/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json @@ -11,17 +11,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-4", - "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2c33499a54004aa994e7f02bf0d64cec" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 46728.0 + "process_id": 488.0 }, - "duration": 41542, - "start": 1776895537245406711 + "duration": 43208, + "start": 1777478550282172550 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json index ee7494bfedb..096ec4b5fac 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json @@ -10,19 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvekum_qf,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9600000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpkap9kksj,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "5fec5eff5cc7449ca1348e4fc921d20e" + "runtime-id": "3f7ce199022749eab26b3577e074f735" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4418.0, + "process_id": 633.0, "tag": 20.1 }, - "duration": 55417, - "start": 1776266194169418541 + "duration": 44666, + "start": 1777478550452201925 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json index 6542d17c71d..124d238a975 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json @@ -11,22 +11,21 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp5ua_xa0r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_p2rvd06,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "aa87d6639b6a4a94863e0e9a0f977f17" + "runtime-id": "42e389cea6314a1db6ce8b47dcfd8b83" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4439.0, + "process_id": 803.0, "tag": 20.1 }, - "duration": 70958, - "start": 1776266194872602375 + "duration": 40292, + "start": 1777478556954470136 }], [ { @@ -41,22 +40,21 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp5ua_xa0r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_p2rvd06,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "aa87d6639b6a4a94863e0e9a0f977f17" + "runtime-id": "42e389cea6314a1db6ce8b47dcfd8b83" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4439.0, + "process_id": 803.0, "tag2": 22.2 }, - "duration": 32375, - "start": 1776266194873040208 + "duration": 21375, + "start": 1777478556954797761 }], [ { @@ -71,20 +69,19 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp5ua_xa0r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_p2rvd06,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "aa87d6639b6a4a94863e0e9a0f977f17" + "runtime-id": "42e389cea6314a1db6ce8b47dcfd8b83" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4439.0, + "process_id": 803.0, "tag3": 3333333.33333 }, - "duration": 12625, - "start": 1776266194873169750 + "duration": 10042, + "start": 1777478556954890636 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json index 41e7811ae53..d58a7eebbdb 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json @@ -12,11 +12,10 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-3", "_dd.p.ksr": "1", - "_dd.p.tid": "69dfabd100000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpfuyko5h6,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp1of6q_cc,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "0ea01d88e2fd411288859ba9b8b3010a", + "runtime-id": "db03534176df4ddabf4b9c95b052512c", "test": "tag" }, "metrics": { @@ -25,8 +24,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 4411.0 + "process_id": 769.0 }, - "duration": 66250, - "start": 1776266193977905958 + "duration": 42167, + "start": 1777478556024007927 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json index 0d607b9663d..634be596a16 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json @@ -11,21 +11,20 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd400000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmq2339lc,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9900000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0x2prwqg,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "552febc78e9c495386055103c8b6a020" + "runtime-id": "2ed00ed5ead74a7dbabb95940dad2940" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4490.0 + "process_id": 697.0 }, - "duration": 59125, - "start": 1776266196639618751 + "duration": 39292, + "start": 1777478553229448384 }], [ { @@ -39,18 +38,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd400000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmq2339lc,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9900000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0x2prwqg,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "552febc78e9c495386055103c8b6a020" + "runtime-id": "2ed00ed5ead74a7dbabb95940dad2940" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4490.0 + "process_id": 697.0 }, - "duration": 23084, - "start": 1776266196640046417 + "duration": 14791, + "start": 1777478553229781093 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json index 710d4f7a40c..e4854948d08 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json @@ -11,19 +11,18 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd400000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcs8bzwbw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9900000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3wdwkc6n,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "c7c2f046d36e4c42a01d498dc02fe88f" + "runtime-id": "04901eff4e7b41eba5765f94275fdf90" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4483.0 + "process_id": 721.0 }, - "duration": 55833, - "start": 1776266196377813251 + "duration": 40708, + "start": 1777478553769948343 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json index 2674d08a314..9ad83c2f080 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json @@ -11,11 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvjbmaynj,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmprd7a3o2,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "a70fa154c4b7416c89e7dbc697a93faf", + "runtime-id": "bbff19a05d8c4fbcb8904563f868d8f8", "tag1": "mycooltag" }, "metrics": { @@ -23,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4376.0 + "process_id": 777.0 }, - "duration": 52791, - "start": 1776266191839453055 + "duration": 44458, + "start": 1777478556263817803 }], [ { @@ -40,19 +39,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvjbmaynj,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmprd7a3o2,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "a70fa154c4b7416c89e7dbc697a93faf" + "runtime-id": "bbff19a05d8c4fbcb8904563f868d8f8" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4376.0 + "process_id": 777.0 }, - "duration": 32959, - "start": 1776266191839839346 + "duration": 21417, + "start": 1777478556264155636 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json index f6b50502b74..dad573a77ea 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json @@ -11,11 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp52wgvxyw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9a00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yw8aq5b,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "44398bbabb8c43dba4285ee1a4e9ee04", + "runtime-id": "c0baf902c92542b4809d7ff3d3973259", "tag1": "mycooltag" }, "metrics": { @@ -23,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4425.0 + "process_id": 729.0 }, - "duration": 82292, - "start": 1776266194430616333 + "duration": 41292, + "start": 1777478554028891593 }], [ { @@ -40,21 +39,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp52wgvxyw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9a00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yw8aq5b,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "44398bbabb8c43dba4285ee1a4e9ee04", + "runtime-id": "c0baf902c92542b4809d7ff3d3973259", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4425.0 + "process_id": 729.0 }, - "duration": 25500, - "start": 1776266194431099958 + "duration": 25667, + "start": 1777478554029262218 }], [ { @@ -68,21 +66,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp52wgvxyw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9a00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yw8aq5b,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "44398bbabb8c43dba4285ee1a4e9ee04" + "runtime-id": "c0baf902c92542b4809d7ff3d3973259" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4425.0 + "process_id": 729.0 }, - "duration": 8958, - "start": 1776266194431190958 + "duration": 11667, + "start": 1777478554029354593 }], [ { @@ -96,19 +93,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp52wgvxyw,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9a00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yw8aq5b,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "44398bbabb8c43dba4285ee1a4e9ee04" + "runtime-id": "c0baf902c92542b4809d7ff3d3973259" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4425.0 + "process_id": 729.0 }, - "duration": 6333, - "start": 1776266194431230583 + "duration": 6417, + "start": 1777478554029397968 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json index b999995d508..0ff7ffa6300 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json @@ -11,11 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz9xd5l8h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9600000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuva8_0fx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "613bfdc98e3647dc801dcabe3fb70548", + "runtime-id": "d9508362013e4e1d9cebad5093e58e93", "tag1": "mycooltag" }, "metrics": { @@ -23,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4362.0 + "process_id": 649.0 }, - "duration": 68625, - "start": 1776266191360369096 + "duration": 45833, + "start": 1777478550942694425 }], [ { @@ -40,21 +39,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz9xd5l8h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9600000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuva8_0fx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "613bfdc98e3647dc801dcabe3fb70548", + "runtime-id": "d9508362013e4e1d9cebad5093e58e93", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4362.0 + "process_id": 649.0 }, - "duration": 26417, - "start": 1776266191360846971 + "duration": 16667, + "start": 1777478550943016425 }], [ { @@ -68,21 +66,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz9xd5l8h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9600000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuva8_0fx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "613bfdc98e3647dc801dcabe3fb70548" + "runtime-id": "d9508362013e4e1d9cebad5093e58e93" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4362.0 + "process_id": 649.0 }, - "duration": 8958, - "start": 1776266191360937888 + "duration": 8666, + "start": 1777478550943083717 }], [ { @@ -96,19 +93,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpz9xd5l8h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9600000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuva8_0fx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "613bfdc98e3647dc801dcabe3fb70548" + "runtime-id": "d9508362013e4e1d9cebad5093e58e93" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4362.0 + "process_id": 649.0 }, - "duration": 6750, - "start": 1776266191360977429 + "duration": 6458, + "start": 1777478550943124092 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json index 5f2238124f2..b3ce6bc4a9e 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json @@ -11,11 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9_ngssjz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9b00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmppwwptlac,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "3a96f1a8276248bf80824a26cd2aa1be", + "runtime-id": "0437ebe2c442407e909762c6308974aa", "tag1": "mycooltag" }, "metrics": { @@ -23,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4355.0 + "process_id": 761.0 }, - "duration": 62792, - "start": 1776266191059230679 + "duration": 40667, + "start": 1777478555837357469 }], [ { @@ -40,21 +39,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9_ngssjz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9b00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmppwwptlac,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "3a96f1a8276248bf80824a26cd2aa1be", + "runtime-id": "0437ebe2c442407e909762c6308974aa", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4355.0 + "process_id": 761.0 }, - "duration": 16125, - "start": 1776266191059652137 + "duration": 17833, + "start": 1777478555837696261 }], [ { @@ -68,21 +66,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9_ngssjz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9b00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmppwwptlac,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "3a96f1a8276248bf80824a26cd2aa1be" + "runtime-id": "0437ebe2c442407e909762c6308974aa" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4355.0 + "process_id": 761.0 }, - "duration": 9041, - "start": 1776266191059754846 + "duration": 8833, + "start": 1777478555837769719 }], [ { @@ -96,19 +93,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabcf00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9_ngssjz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9b00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmppwwptlac,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "3a96f1a8276248bf80824a26cd2aa1be" + "runtime-id": "0437ebe2c442407e909762c6308974aa" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4355.0 + "process_id": 761.0 }, - "duration": 7458, - "start": 1776266191059800179 + "duration": 6583, + "start": 1777478555837813261 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json index 695442d0eb7..23aa66633c6 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json @@ -12,11 +12,10 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3vpneufv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4jkz8r5f,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "01e39b23d73949eea641ac0460edb57f", + "runtime-id": "a213117350bd481fba14a5eee6fd057e", "tag1": "mycooltag" }, "metrics": { @@ -24,10 +23,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4455.0 + "process_id": 673.0 }, - "duration": 60125, - "start": 1776266195420419917 + "duration": 48708, + "start": 1777478551619383467 }], [ { @@ -41,21 +40,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3vpneufv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4jkz8r5f,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "01e39b23d73949eea641ac0460edb57f", + "runtime-id": "a213117350bd481fba14a5eee6fd057e", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4455.0 + "process_id": 673.0 }, - "duration": 34709, - "start": 1776266195420852375 + "duration": 20250, + "start": 1777478551619727009 }], [ { @@ -69,21 +67,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3vpneufv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4jkz8r5f,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "01e39b23d73949eea641ac0460edb57f" + "runtime-id": "a213117350bd481fba14a5eee6fd057e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4455.0 + "process_id": 673.0 }, - "duration": 9250, - "start": 1776266195420949250 + "duration": 9000, + "start": 1777478551619802925 }], [ { @@ -98,19 +95,18 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3vpneufv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4jkz8r5f,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "01e39b23d73949eea641ac0460edb57f" + "runtime-id": "a213117350bd481fba14a5eee6fd057e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4455.0 + "process_id": 673.0 }, - "duration": 7042, - "start": 1776266195420990875 + "duration": 6667, + "start": 1777478551619843925 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json index 17a05eeddec..26f54e8acd6 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json @@ -11,11 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd400000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpv58vin3r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2y9l685y,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "46b42d9278404d3f88a2a039215105fe", + "runtime-id": "58070943b1334901a973a1d4b35ff377", "tag1": "mycooltag" }, "metrics": { @@ -23,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4476.0 + "process_id": 795.0 }, - "duration": 71416, - "start": 1776266196170513251 + "duration": 40292, + "start": 1777478556769769886 }], [ { @@ -40,19 +39,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd400000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpv58vin3r,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2y9l685y,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "46b42d9278404d3f88a2a039215105fe", + "runtime-id": "58070943b1334901a973a1d4b35ff377", "tag1": "mcooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4476.0 + "process_id": 795.0 }, - "duration": 37541, - "start": 1776266196170956376 + "duration": 17458, + "start": 1777478556770088136 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json index 8257bc4bd6e..1cd05df411b 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json @@ -11,11 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd100000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c69rmdr,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9600000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpu3056ihi,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "705db991266e4b1d8e8e1b8537a61c65", + "runtime-id": "e652fe9beaa34313bb013708fb4be2ed", "tag1": "mycooltag" }, "metrics": { @@ -23,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4390.0 + "process_id": 641.0 }, - "duration": 57083, - "start": 1776266193355524389 + "duration": 44250, + "start": 1777478550691283342 }], [ { @@ -40,19 +39,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd100000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c69rmdr,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9600000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpu3056ihi,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "705db991266e4b1d8e8e1b8537a61c65", + "runtime-id": "e652fe9beaa34313bb013708fb4be2ed", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4390.0 + "process_id": 641.0 }, - "duration": 20333, - "start": 1776266193355915597 + "duration": 17333, + "start": 1777478550691616717 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json index b80c5925bf8..f180922cdfa 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json @@ -11,21 +11,20 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpbf5or_kx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphlvfwcjn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "93266dc1765f4279ab25c2374e726fcb", + "runtime-id": "fec0036f38d04fc88c8e08bc5d390050", "tag1": "monkey" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4462.0 + "process_id": 657.0 }, - "duration": 49875, - "start": 1776266195630399542 + "duration": 45458, + "start": 1777478551129618092 }], [ { @@ -41,11 +40,10 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpbf5or_kx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphlvfwcjn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "93266dc1765f4279ab25c2374e726fcb", + "runtime-id": "fec0036f38d04fc88c8e08bc5d390050", "tag1": "monkey", "tag2": "banana" }, @@ -54,8 +52,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4462.0 + "process_id": 657.0 }, - "duration": 31041, - "start": 1776266195631170334 + "duration": 23292, + "start": 1777478551129937383 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json index 0e7b010a24f..9fbcc835bba 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json @@ -11,11 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpsgdn7h94,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpwwrqvary,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "5701c3fc474a47a6abdd0623a1968467", + "runtime-id": "1aa74bb0f28a4a13991b3c1dcb9cf3f5", "test": "None" }, "metrics": { @@ -23,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4469.0 + "process_id": 665.0 }, - "duration": 52750, - "start": 1776266195895527459 + "duration": 44458, + "start": 1777478551370455634 }], [ { @@ -41,11 +40,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpsgdn7h94,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpwwrqvary,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "5701c3fc474a47a6abdd0623a1968467", + "runtime-id": "1aa74bb0f28a4a13991b3c1dcb9cf3f5", "test": "None" }, "metrics": { @@ -53,10 +51,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4469.0 + "process_id": 665.0 }, - "duration": 31667, - "start": 1776266195895932750 + "duration": 15708, + "start": 1777478551370787592 }], [ { @@ -70,19 +68,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpsgdn7h94,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpwwrqvary,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "5701c3fc474a47a6abdd0623a1968467", + "runtime-id": "1aa74bb0f28a4a13991b3c1dcb9cf3f5", "test": "None" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4469.0 + "process_id": 665.0 }, - "duration": 9125, - "start": 1776266195896019167 + "duration": 8375, + "start": 1777478551370856759 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json index 4fe7a444da0..4fb6f088277 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json @@ -11,22 +11,21 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcfmdgzdt,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3zu9dqbx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "008d8c36533e44e49a72b7fa02ab2940" + "runtime-id": "7280dfde8a714108916745364fd48805" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4447.0, + "process_id": 786.0, "test": 123.0 }, - "duration": 60292, - "start": 1776266195135362000 + "duration": 44084, + "start": 1777478556518685219 }], [ { @@ -41,11 +40,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcfmdgzdt,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3zu9dqbx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "008d8c36533e44e49a72b7fa02ab2940", + "runtime-id": "7280dfde8a714108916745364fd48805", "test": "123" }, "metrics": { @@ -53,10 +51,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4447.0 + "process_id": 786.0 }, - "duration": 33167, - "start": 1776266195135761875 + "duration": 27084, + "start": 1777478556519067094 }], [ { @@ -70,19 +68,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd300000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcfmdgzdt,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9c00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3zu9dqbx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "008d8c36533e44e49a72b7fa02ab2940", + "runtime-id": "7280dfde8a714108916745364fd48805", "test": "1234" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4447.0 + "process_id": 786.0 }, - "duration": 9625, - "start": 1776266195135853500 + "duration": 9584, + "start": 1777478556519164844 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json index e0fe3425582..80aa04bba00 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json +++ b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd600000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0tfnv20h,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9900000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpf_2jrp74,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1d9d9245e9074f14b45d7a1279b94d89" + "runtime-id": "b61238c12d4e4bc6a7edb1054be69311" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4504.0 + "process_id": 713.0 }, - "duration": 89125, - "start": 1776266198075715377 + "duration": 66208, + "start": 1777478553590509760 }, { "name": "child", @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "ddtrace_subprocess_dir" - }, - "duration": 19417, - "start": 1776266198075772918 + "duration": 14625, + "start": 1777478553590551593 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json index 84f17393e35..145c34ea7ff 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json +++ b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabd200000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpwpx63_3i,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9900000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphnr46133,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "545f84c24e9042d4950fb87a7d92ee72" + "runtime-id": "4c43f7f072e448ac874e071987041885" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4432.0 + "process_id": 705.0 }, - "duration": 88459, - "start": 1776266194637128333 + "duration": 66083, + "start": 1777478553414321176 }, { "name": "child", @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "ddtrace_subprocess_dir" - }, - "duration": 18375, - "start": 1776266194637187083 + "duration": 14792, + "start": 1777478553414361884 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json index 7770f5cdeb9..6de0d286d1a 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json @@ -11,21 +11,20 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd100000000", - "_dd.svc_src": "animals", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpjhti_fmt,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f22b9800000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0aqh8_uh,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python", - "runtime-id": "3b6855734c264dcbae1e8087ef54545e" + "runtime-id": "2384e9ab855b4df98cb01baaf8bb8997" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4397.0 + "process_id": 689.0 }, - "duration": 115125, - "start": 1776266193570972305 + "duration": 98750, + "start": 1777478552990224051 }, { "name": "monkey", @@ -36,15 +35,12 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "animals" - }, "metrics": { "_dd.span_sampling.mechanism": 8.0, "_dd.span_sampling.rule_rate": 1.0 }, - "duration": 44292, - "start": 1776266193571024680 + "duration": 38667, + "start": 1777478552990266426 }, { "name": "human_monkey", @@ -55,11 +51,8 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "animals" - }, - "duration": 9166, - "start": 1776266193571045514 + "duration": 10167, + "start": 1777478552990284551 }, { "name": "donkey_monkey", @@ -70,9 +63,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "animals" - }, - "duration": 7125, - "start": 1776266193571076805 + "duration": 5917, + "start": 1777478552990313009 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json index 5c718e663dc..880bb8f1584 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json @@ -5,14 +5,13 @@ "resource": "non_root_span", "trace_id": 0, "span_id": 1, - "parent_id": 12877314553194856304, + "parent_id": 17739503696764146217, "type": "", "error": 0, "meta": { "_dd.p.dm": "-3", - "_dd.p.tid": "69dfabd500000000", - "_dd.svc_src": "animals", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpofdko649,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f22b9b00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptyyesi0o,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python" }, "metrics": { @@ -20,6 +19,6 @@ "_dd.span_sampling.rule_rate": 1.0, "_sampling_priority_v1": -1.0 }, - "duration": 2508084, - "start": 1776266197849387626 + "duration": 42458, + "start": 1777478555592402886 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json index 768ba7572d1..9f9d76caa23 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 3104541, + "Duration": 154209, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json index 18516f5d315..6abd2946d48 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json @@ -11,11 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabd100000000", - "_dd.svc_src": "animals", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9pdh7sy4,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f22b9e00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmldhd27g,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python", - "runtime-id": "891bb18f1d184487a13f1a31e0a56f35" + "runtime-id": "c1df6cf7d7fc4fed9c0ee6f06d261fc0" }, "metrics": { "_dd.rule_psr": 0.0, @@ -24,10 +23,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4383.0 + "process_id": 811.0 }, - "duration": 1302250, - "start": 1776266193050516763 + "duration": 1270500, + "start": 1777478558135543553 }, { "name": "non_monkey", @@ -40,9 +39,8 @@ "error": 0, "meta": { "_dd.p.dm": "-3", - "_dd.p.tid": "69dfabd100000000", - "_dd.svc_src": "animals", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9pdh7sy4,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f22b9e00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmldhd27g,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python" }, "metrics": { @@ -50,6 +48,6 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0 }, - "duration": 52500, - "start": 1776266193050821347 + "duration": 37750, + "start": 1777478558135801012 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json index 7728d0bca47..f85dfbb0726 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json @@ -11,11 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69dfabce00000000", - "_dd.svc_src": "animals", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpfw1xzstt,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f22b9800000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yvg6r09,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python", - "runtime-id": "f90dd64fee494cb193f12089f2db3ea1" + "runtime-id": "9f823cfddd73492eb7f6c31143a1be39" }, "metrics": { "_dd.rule_psr": 0.0, @@ -24,8 +23,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 4348.0 + "process_id": 681.0 }, - "duration": 2562958, - "start": 1776266190769330096 + "duration": 972292, + "start": 1777478552810308384 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json index 0d5d15119ec..a70e4e441ef 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 2562958, + "Duration": 972292, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json b/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json index 3180a83bec8..76ead7a5c30 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json @@ -10,17 +10,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -52,17 +48,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -76,9 +71,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -94,17 +86,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -118,9 +109,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -136,17 +124,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -160,9 +147,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -178,17 +162,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -202,9 +185,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -220,17 +200,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -244,9 +223,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -262,17 +238,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -286,9 +261,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -304,17 +276,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -328,9 +299,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -346,17 +314,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -370,9 +337,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -388,17 +352,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -412,9 +375,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "duration": 999999999, "start": 1 }], @@ -430,17 +390,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -454,9 +413,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, @@ -475,17 +431,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -499,9 +454,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, @@ -520,17 +472,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -544,9 +495,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, @@ -565,17 +513,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -589,9 +536,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, @@ -610,17 +554,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -634,9 +577,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, @@ -655,17 +595,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -679,9 +618,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, @@ -700,17 +636,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -724,9 +659,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, @@ -745,17 +677,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -769,9 +700,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, @@ -790,17 +718,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -814,9 +741,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, @@ -835,17 +759,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -859,9 +782,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.integration" - }, "metrics": { "_dd.measured": 1.0 }, diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json index f5b0ecd2e49..9f7bf673205 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 29375, - "start": 1776266208500380090 + "duration": 26333, + "start": 1777478550200414300 }], [ { @@ -37,20 +36,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 29250, - "start": 1776266208500621756 + "duration": 13459, + "start": 1777478550200649716 }], [ { @@ -64,20 +62,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 7834, - "start": 1776266208500715006 + "duration": 7625, + "start": 1777478550200723091 }], [ { @@ -91,20 +88,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 6917, - "start": 1776266208500762673 + "duration": 6250, + "start": 1777478550200772258 }], [ { @@ -118,20 +114,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 43459, - "start": 1776266208500805756 + "duration": 5458, + "start": 1777478550200813883 }], [ { @@ -145,20 +140,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 8042, - "start": 1776266208500915756 + "duration": 5250, + "start": 1777478550200850800 }], [ { @@ -172,20 +166,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 7666, - "start": 1776266208500965465 + "duration": 4875, + "start": 1777478550200886508 }], [ { @@ -199,20 +192,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 5291, - "start": 1776266208501008090 + "duration": 5125, + "start": 1777478550200921008 }], [ { @@ -226,20 +218,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 6000, - "start": 1776266208501044381 + "duration": 4500, + "start": 1777478550200954508 }], [ { @@ -253,18 +244,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 4875, - "start": 1776266208501079715 + "duration": 4750, + "start": 1777478550200987425 }]] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json index 4b6e6db6604..c342e541e27 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json @@ -12,9 +12,9 @@ "Synthetics": false, "Hits": 10, "TopLevelHits": 10, - "Duration": 148709, + "Duration": 83625, "Errors": 0, - "OkSummary": 1167, + "OkSummary": 951, "ErrorSummary": 24 } ] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json index cf7ab7f318e..6db313cf624 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 59333, - "start": 1776266208486746715 + "duration": 19250, + "start": 1777478550237867091 }], [ { @@ -37,20 +36,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 30625, - "start": 1776266208487076881 + "duration": 12334, + "start": 1777478550238072341 }], [ { @@ -64,20 +62,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 7917, - "start": 1776266208487174173 + "duration": 6875, + "start": 1777478550238140633 }], [ { @@ -91,20 +88,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 5917, - "start": 1776266208487222006 + "duration": 5375, + "start": 1777478550238186300 }], [ { @@ -118,20 +114,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 5792, - "start": 1776266208487260381 + "duration": 5167, + "start": 1777478550238236966 }], [ { @@ -145,20 +140,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 5042, - "start": 1776266208487297881 + "duration": 4958, + "start": 1777478550238274800 }], [ { @@ -172,20 +166,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 5167, - "start": 1776266208487331881 + "duration": 4792, + "start": 1777478550238310383 }], [ { @@ -199,20 +192,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 5250, - "start": 1776266208487365131 + "duration": 5333, + "start": 1777478550238344675 }], [ { @@ -226,20 +218,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 4417, - "start": 1776266208487397881 + "duration": 4750, + "start": 1777478550238379591 }], [ { @@ -253,18 +244,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabe000000000", - "_dd.svc_src": "tests.integration", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "cbe82f0b9fd0421a9763f996b5b602f6" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 4999.0 + "process_id": 488.0 }, - "duration": 4541, - "start": 1776266208487429215 + "duration": 4667, + "start": 1777478550238412758 }]] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json index 3f99fdae061..676fbd6ccfa 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json @@ -12,9 +12,9 @@ "Synthetics": false, "Hits": 10, "TopLevelHits": 10, - "Duration": 134001, + "Duration": 73501, "Errors": 0, - "OkSummary": 1383, + "OkSummary": 767, "ErrorSummary": 24 } ] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json index 578185d8ef8..cc03bba6bd5 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json @@ -11,17 +11,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -39,17 +38,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -67,17 +65,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -95,17 +92,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -123,17 +119,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -151,17 +146,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -179,17 +173,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -207,17 +200,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -235,17 +227,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -263,17 +254,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -291,17 +281,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -319,17 +308,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -347,17 +335,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -375,17 +362,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -403,17 +389,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -431,17 +416,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -459,17 +443,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -487,17 +470,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -515,17 +497,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -543,17 +524,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -571,17 +551,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -599,17 +578,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -627,17 +605,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -655,17 +632,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -683,17 +659,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -711,17 +686,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -739,17 +713,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -767,17 +740,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -795,17 +767,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -823,17 +794,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json index d6d2bc316fe..2a8b2e575b1 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json @@ -11,17 +11,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -40,17 +39,16 @@ "_dd.base_service": "tests.integration", "_dd.origin": "synthetics", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -68,18 +66,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "http.status_code": "200", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -97,17 +94,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -125,17 +121,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -153,17 +148,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -181,17 +175,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs_tracestats.json index 150600b7170..816897009fb 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs_tracestats.json @@ -34,7 +34,7 @@ { "Name": "op", "Resource": "/users/list", - "Service": "diff-svc", + "Service": "my-svc", "Type": "web", "HTTPStatusCode": 0, "Synthetics": false, @@ -48,7 +48,7 @@ { "Name": "op", "Resource": "/users/list", - "Service": "my-svc", + "Service": "diff-svc", "Type": "web", "HTTPStatusCode": 0, "Synthetics": false, diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json index cbea710e0b3..75cdf437865 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json @@ -11,17 +11,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -39,17 +38,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -67,17 +65,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -95,17 +92,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -123,17 +119,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -151,17 +146,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -179,17 +173,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -207,17 +200,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -235,17 +227,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -263,17 +254,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -291,17 +281,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -319,17 +308,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -347,17 +335,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -375,17 +362,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -403,17 +389,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -431,17 +416,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -459,17 +443,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -487,17 +470,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -515,17 +497,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -543,17 +524,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -571,17 +551,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -599,17 +578,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -627,17 +605,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -655,17 +632,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -683,17 +659,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -711,17 +686,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -739,17 +713,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -767,17 +740,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -795,17 +767,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -823,17 +794,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json b/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json index 28b34fb5216..b00a6f4af17 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json @@ -11,17 +11,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -36,8 +35,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -58,17 +56,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -83,8 +80,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -105,17 +101,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -130,8 +125,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -152,17 +146,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -177,8 +170,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -199,17 +191,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -224,8 +215,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -246,17 +236,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -271,8 +260,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -293,17 +281,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -318,8 +305,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -340,17 +326,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -365,8 +350,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -387,17 +371,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -412,8 +395,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -434,17 +416,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -459,8 +440,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -481,17 +461,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -506,8 +485,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -528,17 +506,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -553,8 +530,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -575,17 +551,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -600,8 +575,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -622,17 +596,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -647,8 +620,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -669,17 +641,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -694,8 +665,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -716,17 +686,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -741,8 +710,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -763,17 +731,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -788,8 +755,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -810,17 +776,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -835,8 +800,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -857,17 +821,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -882,8 +845,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -904,17 +866,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -929,8 +890,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -951,17 +911,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -976,8 +935,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -998,17 +956,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -1023,8 +980,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -1045,17 +1001,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -1070,8 +1025,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -1092,17 +1046,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -1117,8 +1070,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -1139,17 +1091,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -1164,8 +1115,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -1186,17 +1136,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -1211,8 +1160,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -1233,17 +1181,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -1258,8 +1205,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -1280,17 +1226,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -1305,8 +1250,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -1327,17 +1271,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -1352,8 +1295,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 @@ -1374,17 +1316,16 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69dfabef00000000", - "_dd.svc_src": "m", + "_dd.p.tid": "69f22b9600000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "2efbe00e8fd8413f864bb3792d314ff9" + "runtime-id": "012a4626ce814cab9756191803c4ca2e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 5670.0 + "process_id": 488.0 }, "duration": 999999999, "start": 1 @@ -1399,8 +1340,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration", - "_dd.svc_src": "m" + "_dd.base_service": "tests.integration" }, "metrics": { "_dd.top_level": 1.0 diff --git a/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_async.json b/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_async.json index d7712255374..7979f6cf9e9 100644 --- a/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_async.json +++ b/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_async.json @@ -10,21 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e945db00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "610b50a3cf004dddab60c9c4ed8bf089" + "runtime-id": "ffe47ef0b85241959a6a405ff23b208c" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46781.0 + "process_id": 563.0 }, - "duration": 12625167, - "start": 1776895451974427755 + "duration": 11154584, + "start": 1777478549852072424 }], [ { @@ -38,21 +37,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e945db00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "610b50a3cf004dddab60c9c4ed8bf089" + "runtime-id": "ffe47ef0b85241959a6a405ff23b208c" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46781.0 + "process_id": 563.0 }, - "duration": 11937083, - "start": 1776895451987325172 + "duration": 10508166, + "start": 1777478549863576008 }], [ { @@ -66,21 +64,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e945db00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "610b50a3cf004dddab60c9c4ed8bf089" + "runtime-id": "ffe47ef0b85241959a6a405ff23b208c" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46781.0 + "process_id": 563.0 }, - "duration": 11995292, - "start": 1776895451999342255 + "duration": 14317083, + "start": 1777478549874152716 }], [ { @@ -94,19 +91,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e945dc00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9500000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "610b50a3cf004dddab60c9c4ed8bf089" + "runtime-id": "ffe47ef0b85241959a6a405ff23b208c" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 46781.0 + "process_id": 563.0 }, - "duration": 13006916, - "start": 1776895452011401047 + "duration": 11570542, + "start": 1777478549888540049 }]] diff --git a/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_sync.json b/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_sync.json index 52000c8e41e..706f0c4a1e4 100644 --- a/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_sync.json +++ b/tests/snapshots/tests.integration.test_tracemethods.test_ddtrace_run_trace_methods_sync.json @@ -10,21 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e9472100000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9400000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpb0g2ge81,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" + "runtime-id": "286d4fcb673e470db50546e3ab96bb3e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 48076.0 + "process_id": 538.0 }, - "duration": 49750, - "start": 1776895777892277003 + "duration": 41625, + "start": 1777478548708425716 }], [ { @@ -38,21 +37,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e9472100000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9400000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpb0g2ge81,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" + "runtime-id": "286d4fcb673e470db50546e3ab96bb3e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 48076.0 + "process_id": 538.0 }, - "duration": 42750, - "start": 1776895777892629003 + "duration": 44042, + "start": 1777478548708708257 }, { "name": "trace.annotation", @@ -64,11 +62,10 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "ddtrace_subprocess_dir", "component": "trace" }, - "duration": 12417, - "start": 1776895777892651503 + "duration": 12375, + "start": 1777478548708732466 }], [ { @@ -82,21 +79,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e9472100000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9400000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpb0g2ge81,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" + "runtime-id": "286d4fcb673e470db50546e3ab96bb3e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 48076.0 + "process_id": 538.0 }, - "duration": 8458, - "start": 1776895777892725378 + "duration": 7583, + "start": 1777478548708804091 }], [ { @@ -110,21 +106,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e9472100000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9400000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpb0g2ge81,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" + "runtime-id": "286d4fcb673e470db50546e3ab96bb3e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 48076.0 + "process_id": 538.0 }, - "duration": 23416, - "start": 1776895777892767295 + "duration": 23000, + "start": 1777478548708842466 }, { "name": "trace.annotation", @@ -136,11 +131,10 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "ddtrace_subprocess_dir", "component": "trace" }, - "duration": 7500, - "start": 1776895777892778628 + "duration": 7375, + "start": 1777478548708853549 }], [ { @@ -154,19 +148,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e9472100000000", - "_dd.svc_src": "ddtrace_subprocess_dir", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_c3hafz3,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f22b9400000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpb0g2ge81,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "trace", "language": "python", - "runtime-id": "26a4e5ccb0a0428e8cb19e1243b7d693" + "runtime-id": "286d4fcb673e470db50546e3ab96bb3e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 48076.0 + "process_id": 538.0 }, - "duration": 5792, - "start": 1776895777892819128 + "duration": 5375, + "start": 1777478548708893091 }]] diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_activated.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_activated.json index f6ce6a775dc..48b12efb2f9 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_activated.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_activated.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69dfaa2b00000000", - "_dd.svc_src": "tests.internal", "_dd.tags.process": "entrypoint.basedir:to,entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.auto:test_script", "language": "python", "runtime-id": "9eee2ee253ca495a98a90f8fd4108685" @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.internal" - }, "duration": 298791, "start": 1776265771355171638 }]] diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_edge_case.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_edge_case.json index 87a77d2ef02..3f63582b710 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_edge_case.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_edge_case.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69dfaa2b00000000", - "_dd.svc_src": "tests.internal", "_dd.tags.process": "entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.auto:test_script", "language": "python", "runtime-id": "df2fa12efaba4c6c8b9887292ff2f9c9" diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_error.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_error.json index 180dc8cdf7b..f17e855eda8 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_error.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_error.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69dfaa2b00000000", - "_dd.svc_src": "tests.internal", "_dd.tags.process": "entrypoint.type:script,entrypoint.workdir:workdir", "language": "python", "runtime-id": "ae483bbf5a9e45d3a61995d89dacc3ff" diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_partial_flush.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_partial_flush.json index 35a5a3f1c8a..4ca13ce6452 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_partial_flush.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_partial_flush.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69dfaa2c00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:to,entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.auto:test_script", "language": "python", "runtime-id": "82acd9a760a645cf99764e13ea7b00fc" @@ -37,7 +36,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69dfaa2c00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:to,entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.auto:test_script", "language": "python" }, @@ -58,9 +56,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "ddtrace_subprocess_dir" - }, "duration": 12666, "start": 1776265772603498597 }]] diff --git a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json index 1ab4233affa..3c3e30a6612 100644 --- a/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json +++ b/tests/snapshots/tests.internal.test_process_tags.test_process_tags_user_defined_service.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69e27b5d00000000", - "_dd.svc_src": "foobar", "_dd.tags.process": "entrypoint.basedir:to,entrypoint.name:test_script,entrypoint.type:script,entrypoint.workdir:workdir,svc.user:true", "language": "python", "runtime-id": "d94f2167c02940579ea2b541901f8fee" @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "foobar" - }, "duration": 18167, "start": 1776450397969645759 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json index c3bbeb1c2d4..723abc3ed7e 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_ddtrace_mixed_parenting.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932c00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 123364208, "start": 1777046316141678255 }, @@ -49,9 +45,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 45453375, "start": 1777046316163646546 }, @@ -64,9 +57,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 55379334, "start": 1777046316209571546 }, @@ -79,9 +69,6 @@ "parent_id": 4, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 29729500, "start": 1777046316235124213 }, @@ -94,9 +81,6 @@ "parent_id": 5, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 24697375, "start": 1777046316239757130 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json index 91513bf027e..0be215d3d7c 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_multithreading.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932c00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" @@ -35,7 +34,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.opentelemetry", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { @@ -54,9 +52,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 21920208, "start": 1777046316034824588 }, @@ -69,9 +64,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 66125042, "start": 1777046316056936879 }, @@ -85,7 +77,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.opentelemetry", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { @@ -104,9 +95,6 @@ "parent_id": 3, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 20866208, "start": 1777046316035458713 }, @@ -119,9 +107,6 @@ "parent_id": 3, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 65390333, "start": 1777046316056554088 }, @@ -135,7 +120,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.opentelemetry", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { @@ -154,9 +138,6 @@ "parent_id": 4, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 21328750, "start": 1777046316036020713 }, @@ -169,9 +150,6 @@ "parent_id": 4, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 61118458, "start": 1777046316057456463 }, @@ -185,7 +163,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.opentelemetry", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { @@ -204,9 +181,6 @@ "parent_id": 5, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 20514167, "start": 1777046316036571921 }, @@ -219,9 +193,6 @@ "parent_id": 5, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 65583917, "start": 1777046316057209504 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json index c2827f879c5..0e7dabd5af4 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_span_parenting.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932b00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 110432625, "start": 1777046315794512504 }, @@ -49,9 +45,6 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 64518208, "start": 1777046315840280713 }, @@ -64,9 +57,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 112131875, "start": 1777046315905064296 }, @@ -80,7 +70,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.opentelemetry", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { @@ -100,7 +89,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.opentelemetry", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" }, "metrics": { diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json index 91c96352218..1f40b560b0c 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_start_as_current_span_decorator_async.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69ebaf3000000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "e20749b9e12e47779df8e789a0ae8079", diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json index 653cf6f16aa..3c259dfef51 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_across_fork.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4ejitoql,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", "runtime-id": "f6ae49f975d04d8e842d66081e297208" @@ -38,7 +37,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", "_dd.parent_id": "d497fad7daf2d62e", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4ejitoql,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", "runtime-id": "a9a2fc22850e4af2b91782b813256db8", diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json index ba55c18c812..2877ff1e1cc 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_otel_trace_multiple_coroutines.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932b00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 20704208, "start": 1777046315673552296 }, @@ -49,9 +45,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 23066250, "start": 1777046315694436629 }, @@ -64,9 +57,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 20674458, "start": 1777046315717663421 }, @@ -79,9 +69,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 21684333, "start": 1777046315738440088 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json index 688dba5e155..73358b30d3c 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.drop].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-4", "_dd.p.tid": "69eb932b00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvh983js2,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", "runtime-id": "6422cbf4fe4f47938992611ff5e79432" @@ -38,7 +37,6 @@ "_dd.p.dm": "-4", "_dd.p.tid": "69eb932b00000000", "_dd.parent_id": "1158057a79196591", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvh983js2,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", "runtime-id": "378f3fe9d9d94a49a65ad53dee411047", diff --git a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json index 1363b56e7c8..bdf97926869 100644 --- a/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json +++ b/tests/snapshots/tests.opentelemetry.test_context.test_sampling_decisions_across_processes[manual.keep].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-4", "_dd.p.tid": "69eb932c00000000", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0_ek2s1j,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", "runtime-id": "0e854e7d056249e1817d0a9ee022bb7f" @@ -38,7 +37,6 @@ "_dd.p.dm": "-4", "_dd.p.tid": "69eb932c00000000", "_dd.parent_id": "fe180f19606f7343", - "_dd.svc_src": "ddtrace_subprocess_dir", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0_ek2s1j,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", "runtime-id": "41bd14da67c04fc1beeb012e7bc5d070", diff --git a/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json b/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json index 8fc7c4254d7..c81f032c1f0 100644 --- a/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json +++ b/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json @@ -12,7 +12,6 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", "_dd.p.tid": "69ebb6d400000000", - "_dd.svc_src": "grpc_server", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpp6968b9e,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "grpc_server", "grpc.method.kind": "unary", diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json index ec4febbf9f1..2c55c22dc5e 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes.json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.opentelemetry", "_dd.p.dm": "-0", "_dd.p.tid": "69eb932e00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "bytes_tag": "bstr", "language": "python", @@ -46,7 +45,6 @@ "_dd.base_service": "tests.opentelemetry", "_dd.p.dm": "-0", "_dd.p.tid": "69eb932e00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" @@ -78,7 +76,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932e00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "moon.0": "True", diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json index 5ad3dba8e1b..41e0d1a28fd 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override0].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932e00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "operation.name": "operation-override", diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json index 5f3a969e0cd..be3b213a5a8 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override1].json @@ -12,7 +12,6 @@ "_dd.base_service": "tests.opentelemetry", "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json index 463ede13aa3..8d90a3de522 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override2].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json index 15830f4bab3..ab0b63e4b10 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override3].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json index 9bd5dfd8e22..692554613ee 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_attributes_overrides[override4].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "http.status_code": "200", "language": "python", diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json index 832959d7d58..c96913ec692 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_events.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "events": "[{\"name\": \"Web page unresponsive\",\"time_unix_nano\": 1714536311886000,\"attributes\": {\"error.code\": \"403\",\"unknown values\": [1,\"['h', 'a', [False]]\"]}}]", "language": "python", @@ -39,7 +38,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "events": "[{\"name\": \"Web page loaded\",\"time_unix_nano\": 1714537311986000},{\"name\": \"Button changed color\",\"time_unix_nano\": 1714537311986000,\"attributes\": {\"colors\": [112,215,70],\"response.time\": 134.3,\"success\": true}}]", "language": "python", diff --git a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json index 9d2b0da374e..4ded1199907 100644 --- a/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json +++ b/tests/snapshots/tests.opentelemetry.test_span.test_otel_span_kind.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34", @@ -39,7 +38,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34", @@ -67,7 +65,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34", @@ -95,7 +92,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34", @@ -123,7 +119,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932d00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json index da84e677e0c..ea1a4512efd 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932a00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" @@ -39,7 +38,6 @@ "_dd.p.dm": "-0", "_dd.p.tid": "69eb932a00000000", "_dd.parent_id": "cdb28320852ec4a6", - "_dd.svc_src": "flask", "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "otel", @@ -77,7 +75,6 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "otel", "flask.url_rule": "/otel" @@ -96,7 +93,6 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "flask", "component": "flask" }, "duration": 18333, @@ -113,7 +109,6 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "flask", "component": "flask" }, "duration": 15583, @@ -130,7 +125,6 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "flask", "component": "flask" }, "duration": 8150958, @@ -147,7 +141,6 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "flask", "component": "flask" }, "duration": 8102000, @@ -163,8 +156,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "", - "_dd.svc_src": "flask" + "_dd.base_service": "" }, "duration": 81417, "start": 1777046314545167212 @@ -180,7 +172,6 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "flask", "component": "flask" }, "duration": 33167, @@ -197,7 +188,6 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "flask", "component": "flask" }, "duration": 19958, @@ -214,7 +204,6 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "flask", "component": "flask" }, "duration": 15250, @@ -231,7 +220,6 @@ "error": 0, "meta": { "_dd.base_service": "", - "_dd.svc_src": "flask", "component": "flask" }, "duration": 336875, diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json index 32370f29853..9441128523c 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_opentelemetry_instrument].json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb934500000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "d5717466b04e40019cc8d63f373fc800" diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json index cebb0f3679b..712c7c48d21 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_as_current_span_decorator.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-4", "_dd.p.tid": "69eb932a00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" @@ -34,9 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 59667, "start": 1777046314856642379 }, @@ -50,7 +46,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.opentelemetry", "operation.name": "my-operation" }, "duration": 60000, @@ -66,8 +61,7 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.opentelemetry", - "_dd.svc_src": "tests.opentelemetry" + "_dd.base_service": "tests.opentelemetry" }, "metrics": { "_dd.top_level": 1.0 @@ -84,9 +78,6 @@ "parent_id": 1, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.opentelemetry" - }, "duration": 68750, "start": 1777046314856963296 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json index 65c11114fad..e5d1e996cec 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_with_default_args.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932a00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json index d4810ccf5b2..cd376ce0201 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_current_span_without_default_args.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932a00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" @@ -35,7 +34,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.opentelemetry", "span.kind": "server", "start_current_span_tag": "start_cspan_val" }, diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json index 495ef77faf7..49c22c2d175 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_ignore_exceptions.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932a00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json index 2eb377df0a7..5191c29868e 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_record_exception.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932a00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "error.message": "Sorry Otel Span, I failed you", "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/tests/opentelemetry/test_trace.py\", line 37, in test_otel_start_span_record_exception\n raise Exception(\"Sorry Otel Span, I failed you\")\nException: Sorry Otel Span, I failed you\n", @@ -42,7 +41,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932a00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "error.message": "MoonEar Fire!!!", "error.stack": "Fake traceback", diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json index 2f2ebd5e850..a916e165ecf 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_otel_start_span_without_default_args.json @@ -11,7 +11,6 @@ "meta": { "_dd.p.dm": "-0", "_dd.p.tid": "69eb932a00000000", - "_dd.svc_src": "tests.opentelemetry", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", "runtime-id": "ee6949b03b33475481d3858e92bfdb34" @@ -35,7 +34,6 @@ "type": "", "error": 0, "meta": { - "_dd.svc_src": "tests.opentelemetry", "span.kind": "client", "start_span_tag": "start_span_val" }, From 85d885ec2547f4e0a87822132003d182d2edfca7 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 30 Apr 2026 11:26:06 -0700 Subject: [PATCH 105/114] update a bunch of snapshots affected by the fix --- .../test_azure_cosmos_snapshot.py | 2 +- .../test_azure_functions_snapshot.py | 2 +- ...t_aiohttp_client.test_trace_parenting.json | 22 +- ...b.asyncpg.test_asyncpg.test_parenting.json | 47 +-- ...ure_cosmos_snapshot.test_cosmos_async.json | 120 ++++--- ...ure_cosmos_snapshot.test_cosmos_error.json | 107 +++---- ...zure_cosmos_snapshot.test_cosmos_sync.json | 120 ++++--- ...unctions_snapshot.test_cosmos_trigger.json | 48 +-- ...Test.test_aws_payload_tagging_kinesis.json | 49 ++- ...test_django.test_django_hosts_request.json | 160 +++++----- ...cloud_pubsub.test_pubsub.test_publish.json | 34 +- ...test_pubsub.test_publish_future_error.json | 14 +- ..._pubsub.test_subscribe_callback_error.json | 62 ++-- ...be_propagation_as_span_links_disabled.json | 68 ++-- ...ibe_propagation_as_span_links_enabled.json | 62 ++-- ...b.test_subscribe_propagation_disabled.json | 60 ++-- ...sh_subscription_creates_inferred_span.json | 30 +- ...ion_error_propagates_to_inferred_span.json | 16 +- ...ubscription_propagation_as_span_links.json | 28 +- ...rib.graphql.test_graphql.test_graphql.json | 26 +- ...aphql.test_graphql.test_graphql_error.json | 25 +- ....test_graphql_execute_with_middleware.json | 49 +-- ...ql.test_graphql.test_graphql_fail_2.x.json | 52 +-- ...raphql_with_document_with_no_location.json | 22 +- ...hql.test_graphql_with_traced_resolver.json | 31 +- ...l.test_span_schematization[None-None].json | 26 +- ...hql.test_span_schematization[None-v0].json | 26 +- ...hql.test_span_schematization[None-v1].json | 26 +- ..._span_schematization[my-service-None].json | 22 +- ...st_span_schematization[my-service-v0].json | 22 +- ...st_span_schematization[my-service-v1].json | 26 +- ....contrib.kafka.test_kafka.test_commit.json | 28 +- ...st_commit_with_consume_single_message.json | 28 +- ...t_with_consume_with_multiple_messages.json | 42 +-- ...ka.test_kafka.test_commit_with_offset.json | 28 +- ...kafka.test_commit_with_only_async_arg.json | 28 +- ....kafka.test_kafka.test_message[False].json | 14 +- ...b.kafka.test_kafka.test_message[True].json | 14 +- ...span_service_and_operation[None-None].json | 28 +- ...pan_service_and_operation[None-mysvc].json | 28 +- ...d_span_service_and_operation[v0-None].json | 28 +- ..._span_service_and_operation[v0-mysvc].json | 28 +- ...d_span_service_and_operation[v1-None].json | 28 +- ..._span_service_and_operation[v1-mysvc].json | 28 +- ...afka.test_kafka.test_service_override.json | 24 +- ...t_kafka.test_service_override_env_var.json | 22 +- ...a_dsm.test_data_streams_kafka_enabled.json | 28 +- ...e.test_starlette.test_background_task.json | 35 +- ...ette.test_subapp_nested_call_snapshot.json | 16 +- ...starlette.test_subapp_nested_snapshot.json | 21 +- ...e.test_starlette.test_subapp_snapshot.json | 16 +- ...st_starlette.test_subapp_two_snapshot.json | 16 +- ...t_starlette.test_table_query_snapshot.json | 32 +- ...al_flush_finished_counter_out_of_sync.json | 14 +- ...an_with_large_string_attributes[v0.4].json | 10 +- ...an_with_large_string_attributes[v0.5].json | 10 +- ...large_unicode_string_attributes[v0.4].json | 10 +- ...large_unicode_string_attributes[v0.5].json | 10 +- ...t_integration_snapshots.test_env_vars.json | 10 +- ...st_flush_spans_before_writer_recreate.json | 25 +- ...metrics_generates_no_error_logs[v0.4].json | 11 +- ...metrics_generates_no_error_logs[v0.5].json | 11 +- ...ignal_shutdown_flushes_traces_nostats.json | 15 +- ..._signal_shutdown_flushes_traces_stats.json | 15 +- ...tdown_flushes_traces_stats_tracestats.json | 2 +- ...tracetagsprocessor_only_adds_new_tags.json | 12 +- ..._sampling.test_agent_sample_rate_keep.json | 21 +- ...ampling.test_agent_sample_rate_reject.json | 21 +- ...ion.test_sampling_decision_downstream.json | 9 +- ...propagation.test_trace_tags_multispan.json | 70 ---- ...on.test_trace_tags_multispan[tracer0].json | 70 ---- ...on.test_trace_tags_multispan[tracer1].json | 70 ---- ...on.test_trace_tags_multispan[tracer2].json | 78 ----- ...pling_float_special_case_do_not_match.json | 12 +- ...ampling_float_special_case_match_star.json | 36 +-- ...est_extended_sampling_glob_multi_rule.json | 13 +- ...pling.test_extended_sampling_resource.json | 24 +- ..._extended_sampling_string_sample_rate.json | 12 +- ..._sampling.test_extended_sampling_tags.json | 24 +- ..._extended_sampling_tags_and_name_glob.json | 48 +-- ...t_extended_sampling_tags_and_resource.json | 48 +-- ...ended_sampling_tags_and_resource_glob.json | 46 +-- ...tended_sampling_tags_and_service_glob.json | 50 +-- ...ling.test_extended_sampling_tags_glob.json | 24 +- ...ling_tags_glob_insensitive_case_match.json | 24 +- ..._extended_sampling_tags_partial_match.json | 26 +- ...ampling.test_extended_sampling_w_None.json | 82 ----- ...ng.test_extended_sampling_w_None_meta.json | 36 +-- ...ling.test_extended_sampling_w_metrics.json | 36 +-- ...ng.test_extended_sampling_w_tags_none.json | 82 ----- ..._sampling.test_sampling_with_defaults.json | 16 +- ...pling.test_sampling_with_rate_limit_3.json | 16 +- ...e_sampling_match_non_root_span[false].json | 24 +- ...ce_sampling_match_non_root_span[true].json | 10 +- ..._match_non_root_span[true]_tracestats.json | 2 +- ...tch_root_span_partial_flushing[false].json | 20 +- ...atch_root_span_partial_flushing[true].json | 12 +- ...pan_partial_flushing[true]_tracestats.json | 2 +- ...n.test_trace_stats.test_measured_span.json | 120 +++---- ...t_trace_stats.test_sampling_rate[0.0].json | 100 +++--- ...ts.test_sampling_rate[0.0]_tracestats.json | 4 +- ...t_trace_stats.test_sampling_rate[1.0].json | 100 +++--- ...ts.test_sampling_rate[1.0]_tracestats.json | 4 +- ..._single_span_sampling[sampling_rule0].json | 24 -- ...n_sampling[sampling_rule0]_tracestats.json | 22 -- ..._single_span_sampling[sampling_rule1].json | 47 --- ...n_sampling[sampling_rule1]_tracestats.json | 22 -- ...ration.test_trace_stats.test_stats_30.json | 210 ++++++------ ...ion.test_trace_stats.test_stats_aggrs.json | 49 +-- ...on.test_trace_stats.test_stats_errors.json | 210 ++++++------ ...ation.test_trace_stats.test_top_level.json | 300 +++++++++++------- ...s_does_not_generate_client_grpc_spans.json | 13 +- ...race_with_flask_app[with_ddtrace_run].json | 81 +++-- 113 files changed, 2086 insertions(+), 2403 deletions(-) delete mode 100644 tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan.json delete mode 100644 tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer0].json delete mode 100644 tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer1].json delete mode 100644 tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer2].json delete mode 100644 tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None.json delete mode 100644 tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_tags_none.json delete mode 100644 tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule0].json delete mode 100644 tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule0]_tracestats.json delete mode 100644 tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule1].json delete mode 100644 tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule1]_tracestats.json diff --git a/tests/contrib/azure_cosmos/test_azure_cosmos_snapshot.py b/tests/contrib/azure_cosmos/test_azure_cosmos_snapshot.py index b0f3b2dcbf6..914c89ae615 100644 --- a/tests/contrib/azure_cosmos/test_azure_cosmos_snapshot.py +++ b/tests/contrib/azure_cosmos/test_azure_cosmos_snapshot.py @@ -11,7 +11,7 @@ CONNECTION_STRING = "AccountEndpoint=http://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==;" ERR_DB_NAME = "db.azure_cosmos_error" ERR_CONTAINER_NAME = "container.azure_cosmos_error" -SNAPSHOT_IGNORES = ["meta.http.useragent", "meta.error.stack"] +SNAPSHOT_IGNORES = ["meta.http.useragent", "meta.error.stack", "meta._dd.base_service"] DEFAULT_HEADERS = {"User-Agent": "python-httpx/x.xx.x"} diff --git a/tests/contrib/azure_functions_cosmos/test_azure_functions_snapshot.py b/tests/contrib/azure_functions_cosmos/test_azure_functions_snapshot.py index 70c5076025b..c8505e50ee0 100644 --- a/tests/contrib/azure_functions_cosmos/test_azure_functions_snapshot.py +++ b/tests/contrib/azure_functions_cosmos/test_azure_functions_snapshot.py @@ -10,7 +10,7 @@ from tests.webclient import Client -SNAPSHOT_IGNORES = ["meta.http.useragent", "meta.http.status_code"] +SNAPSHOT_IGNORES = ["meta.http.useragent", "meta.http.status_code", "meta._dd.base_service"] DEFAULT_HEADERS = {"User-Agent": "python-httpx/x.xx.x"} CONNECTION_STRING = "AccountEndpoint=http://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==;" diff --git a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json index d05d1cb6bb2..16f99cddb31 100644 --- a/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json +++ b/tests/snapshots/tests.contrib.aiohttp.test_aiohttp_client.test_trace_parenting.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de729100000000", + "_dd.p.tid": "69f397aa00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.aiohttp", "language": "python", - "runtime-id": "ee9feda0416e4d809184aae62cb36e25" + "runtime-id": "02ac7b2b4d9f4a509c05893fdb3651c0" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 12658.0 + "process_id": 48434.0 }, - "duration": 2863167, - "start": 1776186001600195211 + "duration": 6572167, + "start": 1777571754702670420 }, { "name": "aiohttp.request", @@ -34,6 +34,7 @@ "type": "http", "error": 0, "meta": { + "_dd.svc_src": "aiohttp_client", "component": "aiohttp_client", "http.method": "GET", "http.status_code": "200", @@ -42,8 +43,8 @@ "out.host": "localhost", "span.kind": "client" }, - "duration": 2523208, - "start": 1776186001600402295 + "duration": 4833417, + "start": 1777571754704098045 }, { "name": "TCPConnector.connect", @@ -55,9 +56,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "69de729100000000", + "_dd.p.tid": "69f397aa00000000", + "_dd.svc_src": "aiohttp_client", "component": "aiohttp" }, - "duration": 1111458, - "start": 1776186001600777795 + "duration": 2235458, + "start": 1777571754705389754 }]] diff --git a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json index a73ce2d269d..425515187e0 100644 --- a/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json +++ b/tests/snapshots/tests.contrib.asyncpg.test_asyncpg.test_parenting.json @@ -11,7 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69e127cd00000000", + "_dd.p.tid": "69f397f700000000", + "_dd.svc_src": "asyncpg", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", @@ -19,7 +20,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", + "runtime-id": "5b66103f988e494ba97669a34a31faa2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -28,10 +29,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 16387.0 + "process_id": 50069.0 }, - "duration": 3325708, - "start": 1776363469766773171 + "duration": 5061000, + "start": 1777571831534998345 }], [ { @@ -45,19 +46,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e127cd00000000", + "_dd.p.tid": "69f397f700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "language": "python", - "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2" + "runtime-id": "5b66103f988e494ba97669a34a31faa2" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 16387.0 + "process_id": 50069.0 }, - "duration": 472459, - "start": 1776363469770643337 + "duration": 596375, + "start": 1777571831541385845 }, { "name": "postgres.query", @@ -70,6 +71,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.asyncpg", + "_dd.svc_src": "asyncpg", "component": "asyncpg", "db.name": "postgres", "db.system": "postgresql", @@ -83,8 +85,8 @@ "_dd.top_level": 1.0, "network.destination.port": 5432.0 }, - "duration": 366292, - "start": 1776363469770709587 + "duration": 406542, + "start": 1777571831541547095 }], [ { @@ -98,19 +100,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e127cd00000000", + "_dd.p.tid": "69f397f700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "language": "python", - "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2" + "runtime-id": "5b66103f988e494ba97669a34a31faa2" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 16387.0 + "process_id": 50069.0 }, - "duration": 28667, - "start": 1776363469771234712 + "duration": 23709, + "start": 1777571831542084803 }], [ { @@ -125,7 +127,8 @@ "meta": { "_dd.base_service": "tests.contrib.asyncpg", "_dd.p.dm": "-0", - "_dd.p.tid": "69e127cd00000000", + "_dd.p.tid": "69f397f700000000", + "_dd.svc_src": "asyncpg", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.asyncpg", "component": "asyncpg", "db.name": "postgres", @@ -133,7 +136,7 @@ "db.user": "postgres", "language": "python", "out.host": "127.0.0.1", - "runtime-id": "7c6ddd312d184c6da0f24f213d7564a2", + "runtime-id": "5b66103f988e494ba97669a34a31faa2", "server.address": "127.0.0.1", "span.kind": "client" }, @@ -143,8 +146,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "network.destination.port": 5432.0, - "process_id": 16387.0 + "process_id": 50069.0 }, - "duration": 220167, - "start": 1776363469771354879 + "duration": 175291, + "start": 1777571831542208262 }]] diff --git a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json index 0314bddcbe4..2ebe8348de4 100644 --- a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json +++ b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_async.json @@ -10,27 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 2260416, - "start": 1776788240589274463 + "duration": 8087000, + "start": 1777572302095830000 }], [ { @@ -44,27 +43,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 11090833, - "start": 1776788240591919588 + "duration": 20501000, + "start": 1777572302104449000 }], [ { @@ -78,28 +76,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 2391959, - "start": 1776788240603340254 + "duration": 6427000, + "start": 1777572302125467000 }], [ { @@ -113,28 +110,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 1384875, - "start": 1776788240606041379 + "duration": 4203000, + "start": 1777572302132438000 }], [ { @@ -148,28 +144,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 1824083, - "start": 1776788240607661671 + "duration": 6533000, + "start": 1777572302137098000 }], [ { @@ -183,28 +178,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 2163208, - "start": 1776788240609800213 + "duration": 4352000, + "start": 1777572302144414000 }], [ { @@ -218,28 +212,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_async", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 1276500, - "start": 1776788240612230213 + "duration": 3890000, + "start": 1777572302149237000 }], [ { @@ -253,25 +246,24 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_async", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos-async/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 3177041, - "start": 1776788240613749213 + "duration": 9205000, + "start": 1777572302153617000 }]] diff --git a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json index 935fbeddcea..480aa3e2bbd 100644 --- a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json +++ b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_error.json @@ -10,27 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 2107416, - "start": 1776788240627206713 + "duration": 6296000, + "start": 1777572302190892000 }], [ { @@ -44,27 +43,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 13302542, - "start": 1776788240629624296 + "duration": 19741000, + "start": 1777572302197560000 }], [ { @@ -78,28 +76,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 3312458, - "start": 1776788240643252296 + "duration": 7083000, + "start": 1777572302217764000 }], [ { @@ -113,32 +110,31 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", "error.message": "(None) The document already exists in the collection.\nCode: None\nMessage: The document already exists in the collection.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/azure_cosmos/patch.py\", line 69, in _patched_synchronized_request\n result = wrapped(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_synchronized_request.py\", line 214, in SynchronizedRequest\n return _retry_utility.Execute(\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_retry_utility.py\", line 97, in Execute\n result = ExecuteFunction(function, global_endpoint_manager, *args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_retry_utility.py\", line 199, in ExecuteFunction\n return function(*args, **kwargs)\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.9/site-packages/azure/cosmos/_synchronized_request.py\", line 150, in _Request\n raise exceptions.CosmosResourceExistsError(message=data, response=response)\nazure.cosmos.exceptions.CosmosResourceExistsError: (None) The document already exists in the collection.\nCode: None\nMessage: The document already exists in the collection.\n", + "error.stack": "Traceback (most recent call last):\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/azure_cosmos/patch.py\", line 69, in _patched_synchronized_request\n result = wrapped(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31213_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_synchronized_request.py\", line 214, in SynchronizedRequest\n return _retry_utility.Execute(\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31213_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_retry_utility.py\", line 97, in Execute\n result = ExecuteFunction(function, global_endpoint_manager, *args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31213_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_retry_utility.py\", line 199, in ExecuteFunction\n return function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/emmett.butler/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31213_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_azurecosmos~490_pytest-asyncio0237_aiohttp_six/lib/python3.12/site-packages/azure/cosmos/_synchronized_request.py\", line 150, in _Request\n raise exceptions.CosmosResourceExistsError(message=data, response=response)\nazure.cosmos.exceptions.CosmosResourceExistsError: (None) The document already exists in the collection.\nCode: None\nMessage: The document already exists in the collection.\n", "error.type": "azure.cosmos.exceptions.CosmosResourceExistsError", "http.status_code": "409", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 3100542, - "start": 1776788240646809504 + "duration": 5405000, + "start": 1777572302225156000 }], [ { @@ -152,28 +148,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 1694875, - "start": 1776788240650194254 + "duration": 3612000, + "start": 1777572302230941000 }], [ { @@ -187,28 +182,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_error", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 1565959, - "start": 1776788240652152879 + "duration": 3218000, + "start": 1777572302234863000 }], [ { @@ -222,25 +216,24 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399ce00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_error", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 3659541, - "start": 1776788240653922213 + "duration": 7343000, + "start": 1777572302238376000 }]] diff --git a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json index 89c3394d2ab..a8be37b701f 100644 --- a/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json +++ b/tests/snapshots/tests.contrib.azure_cosmos.test_azure_cosmos_snapshot.test_cosmos_sync.json @@ -10,27 +10,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399cc00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 3907875, - "start": 1776788240466024838 + "duration": 5892000, + "start": 1777572300201747000 }], [ { @@ -44,27 +43,26 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399cc00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 14305875, - "start": 1776788240470684379 + "duration": 15487000, + "start": 1777572300209158000 }], [ { @@ -78,28 +76,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399cc00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 3400709, - "start": 1776788240485570629 + "duration": 4387000, + "start": 1777572300225108000 }], [ { @@ -113,28 +110,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399cc00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 1621458, - "start": 1776788240489310213 + "duration": 2783000, + "start": 1777572300229878000 }], [ { @@ -148,28 +144,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399cc00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 2432458, - "start": 1776788240491192421 + "duration": 3820000, + "start": 1777572300232971000 }], [ { @@ -183,28 +178,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399cc00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 2214291, - "start": 1776788240494012713 + "duration": 3499000, + "start": 1777572300237306000 }], [ { @@ -218,28 +212,27 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399cc00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "container.azure_cosmos_sync", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 1678208, - "start": 1776788240496493088 + "duration": 2728000, + "start": 1777572300241116000 }], [ { @@ -253,25 +246,24 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e7a31000000000", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.azure_cosmos", + "_dd.p.tid": "69f399cc00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:dd-trace-py,svc.auto:tests.contrib.azure_cosmos", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "db.name": "db.azure_cosmos_sync", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.9.25 (Linux-6.12.72-linuxkit-aarch64-with-glibc2.41)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "language": "python", "out.host": "http://localhost:8081/", - "runtime-id": "8b998d8f904644d898b523907d4d2beb", + "runtime-id": "91a1b68213934531814ac7b9b1883df7", "span.kind": "client" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 557.0 + "process_id": 32332.0 }, - "duration": 4309167, - "start": 1776788240498449879 + "duration": 6013000, + "start": 1777572300244141000 }]] diff --git a/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json b/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json index 6f7a19c7ce4..0ba7cb83af2 100644 --- a/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json +++ b/tests/snapshots/tests.contrib.azure_functions_cosmos.test_azure_functions_snapshot.test_cosmos_trigger.json @@ -8,26 +8,26 @@ "parent_id": 0, "type": "serverless", "meta": { - "_dd.base_service": "x64", + "_dd.base_service": "arm64", "_dd.p.dm": "-0", - "_dd.p.tid": "69e922f700000000", + "_dd.p.tid": "69f3999a00000000", "_dd.svc_src": "azure_functions", - "_dd.tags.process": "entrypoint.basedir:x64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:x64", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "cosmosdbtrigger", "aas.function.trigger": "CosmosDB", "component": "azure_functions", "language": "python", - "runtime-id": "7afbf223626040978acf659312ae2ecd", + "runtime-id": "be586c83128d40dfa892219e036314ed", "span.kind": "internal" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 50064.0 + "process_id": 32085.0 }, - "duration": 107000, - "start": 1776886519462165000 + "duration": 212000, + "start": 1777572250578360000 }], [ { @@ -39,11 +39,11 @@ "parent_id": 0, "type": "serverless", "meta": { - "_dd.base_service": "x64", + "_dd.base_service": "arm64", "_dd.p.dm": "-0", - "_dd.p.tid": "69e922f300000000", + "_dd.p.tid": "69f3999600000000", "_dd.svc_src": "azure_functions", - "_dd.tags.process": "entrypoint.basedir:x64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:x64", + "_dd.tags.process": "entrypoint.basedir:arm64,entrypoint.name:worker,entrypoint.type:script,entrypoint.workdir:azure_function_app,svc.auto:arm64", "aas.function.name": "UpsertItem", "aas.function.trigger": "Http", "component": "azure_functions", @@ -53,17 +53,17 @@ "http.url": "http://0.0.0.0:7071/api/upsert_item", "http.useragent": "python-httpx/x.xx.x", "language": "python", - "runtime-id": "7afbf223626040978acf659312ae2ecd", + "runtime-id": "be586c83128d40dfa892219e036314ed", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 50064.0 + "process_id": 32085.0 }, - "duration": 82472000, - "start": 1776886515100079000 + "duration": 89326000, + "start": 1777572246012765000 }, { "name": "cosmosdb.query", @@ -74,19 +74,19 @@ "parent_id": 1, "type": "cosmosdb", "meta": { - "_dd.base_service": "x64", - "_dd.svc_src": "m", + "_dd.base_service": "arm64", + "_dd.svc_src": "azure_functions", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "documents", "db.name": "documents-db", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.2-arm64-arm-64bit)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "out.host": "http://localhost:8081/", "span.kind": "client" }, - "duration": 7789000, - "start": 1776886515167916000 + "duration": 6312000, + "start": 1777572246087343000 }, { "name": "cosmosdb.query", @@ -97,17 +97,17 @@ "parent_id": 1, "type": "cosmosdb", "meta": { - "_dd.base_service": "x64", - "_dd.svc_src": "m", + "_dd.base_service": "arm64", + "_dd.svc_src": "azure_functions", "component": "azure_cosmos", "cosmosdb.connection.mode": "gateway", "cosmosdb.container": "documents", "db.name": "documents-db", "db.system": "cosmosdb", - "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.2-arm64-arm-64bit)", + "http.useragent": "azsdk-python-cosmos/4.9.0 Python/3.12.13 (macOS-26.4.1-arm64-arm-64bit)", "out.host": "http://localhost:8081/", "span.kind": "client" }, - "duration": 6326000, - "start": 1776886515175958000 + "duration": 7787000, + "start": 1777572246093894000 }]] diff --git a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_kinesis.json b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_kinesis.json index 96fb587b2d9..974687501fa 100644 --- a/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_kinesis.json +++ b/tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_aws_payload_tagging_kinesis.json @@ -10,20 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69dd45f100000000", - "_dd.svc_src": "tests.contrib.botocore", + "_dd.p.tid": "69f39a7c00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "language": "python", - "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5" + "runtime-id": "f9cc3909073846f8948b89c62cd107c8" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 11175.0 + "process_id": 51218.0 }, - "duration": 1044179278, - "start": 1776109041790748180 + "duration": 1196591500, + "start": 1777572476037844088 }, { "name": "kinesis.command", @@ -44,7 +43,7 @@ "aws.region": "us-east-1", "aws.request.body.ShardCount": "1", "aws.request.body.StreamName": "test", - "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:22 GMT", + "aws.response.body.HTTPHeaders.date": "Thu, 30 Apr 2026 18:07:56 GMT", "aws.response.body.HTTPHeaders.server": "amazon.com", "aws.response.body.HTTPStatusCode": "200", "aws.response.body.RetryAttempts": "0", @@ -60,8 +59,8 @@ "_dd.top_level": 1.0, "retry_attempts": 0.0 }, - "duration": 509894167, - "start": 1776109041791024222 + "duration": 684197917, + "start": 1777572476038109754 }, { "name": "kinesis.command", @@ -85,7 +84,7 @@ "aws.request.body.Records.1.Data.foo": "bar", "aws.request.body.Records.1.PartitionKey": "1234", "aws.request.body.StreamName": "test", - "aws.response.body.HTTPHeaders.date": "Mon, 13 Apr 2026 19:37:22 GMT", + "aws.response.body.HTTPHeaders.date": "Thu, 30 Apr 2026 18:07:56 GMT", "aws.response.body.HTTPHeaders.server": "amazon.com", "aws.response.body.HTTPStatusCode": "200", "aws.response.body.RetryAttempts": "0", @@ -101,8 +100,8 @@ "_dd.top_level": 1.0, "retry_attempts": 0.0 }, - "duration": 533770236, - "start": 1776109042301078472 + "duration": 511865792, + "start": 1777572476722507255 }], [ { @@ -117,20 +116,20 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd45f100000000", + "_dd.p.tid": "69f39a7600000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "ListQueues", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "2D5QABTE6UZWQTYGBUOXRENFBI6XY7PBSLJUYQ3RGX2R5C5HV7W7", + "aws.requestid": "IJ4V0QD32E1OBYND591JOH4JJ9YLWHD0GEQ6X2LVCC5HYMG31YQ0", "aws_service": "sqs", "component": "botocore", "http.status_code": "200", "language": "python", "region": "us-east-1", - "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", + "runtime-id": "f9cc3909073846f8948b89c62cd107c8", "span.kind": "client" }, "metrics": { @@ -138,11 +137,11 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 11175.0, - "retry_attempts": 0.0 + "process_id": 51218.0, + "retry_attempts": 4.0 }, - "duration": 4876875, - "start": 1776109041685332805 + "duration": 5878967586, + "start": 1777572470129162377 }], [ { @@ -157,14 +156,14 @@ "meta": { "_dd.base_service": "tests.contrib.botocore", "_dd.p.dm": "-0", - "_dd.p.tid": "69dd45f100000000", + "_dd.p.tid": "69f39a7c00000000", "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.botocore", "aws.agent": "botocore", "aws.operation": "CreateQueue", "aws.partition": "aws", "aws.region": "us-east-1", - "aws.requestid": "M6P87SM92SZX19ECH3YDHET1MKU7X38WOQXINES1LNT26II5864K", + "aws.requestid": "H5DEGWFXKRSOZU037Q6Z6PZGVQ3LPXM0WSBUQY23EDAB5B7I9PNE", "aws.sqs.queue_name": "Test", "aws_service": "sqs", "component": "botocore", @@ -172,7 +171,7 @@ "language": "python", "queuename": "Test", "region": "us-east-1", - "runtime-id": "897a5d1713354e8e986e2c995c4c6aa5", + "runtime-id": "f9cc3909073846f8948b89c62cd107c8", "span.kind": "client" }, "metrics": { @@ -180,9 +179,9 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 11175.0, + "process_id": 51218.0, "retry_attempts": 0.0 }, - "duration": 4018875, - "start": 1776109041690576013 + "duration": 4664625, + "start": 1777572476008821754 }]] diff --git a/tests/snapshots/tests.contrib.django_hosts.test_django.test_django_hosts_request.json b/tests/snapshots/tests.contrib.django_hosts.test_django.test_django_hosts_request.json index e273d557585..e05e38cc8e1 100644 --- a/tests/snapshots/tests.contrib.django_hosts.test_django.test_django_hosts_request.json +++ b/tests/snapshots/tests.contrib.django_hosts.test_django.test_django_hosts_request.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "tests.contrib.django_hosts", "_dd.p.dm": "-0", - "_dd.p.tid": "69dea47100000000", + "_dd.p.tid": "69f39ae300000000", "_dd.svc_src": "django", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.django_hosts", "component": "django", @@ -24,7 +24,7 @@ "http.status_code": "200", "http.url": "http://app.example.org/", "language": "python", - "runtime-id": "995e8da4845545f98ea738a7036bde55", + "runtime-id": "a25044566bee41e481a59c49e4be0f31", "span.kind": "server" }, "metrics": { @@ -32,10 +32,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 92289.0 + "process_id": 53862.0 }, - "duration": 10357417, - "start": 1776198769005216670 + "duration": 12710375, + "start": 1777572579744407053 }, { "name": "django.middleware", @@ -48,11 +48,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 9140917, - "start": 1776198769006075878 + "duration": 11321375, + "start": 1777572579745104219 }, { "name": "django.middleware", @@ -65,11 +65,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 334000, - "start": 1776198769006150587 + "duration": 1179417, + "start": 1777572579745183261 }, { "name": "django.middleware", @@ -82,11 +82,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 8649250, - "start": 1776198769006545087 + "duration": 9950750, + "start": 1777572579746455928 }, { "name": "django.middleware", @@ -99,11 +99,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 569208, - "start": 1776198769006605962 + "duration": 580375, + "start": 1777572579746519428 }, { "name": "django.middleware", @@ -116,11 +116,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 7857542, - "start": 1776198769007235295 + "duration": 9156291, + "start": 1777572579747148553 }, { "name": "django.middleware", @@ -133,11 +133,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 69958, - "start": 1776198769007306337 + "duration": 54500, + "start": 1777572579747204386 }, { "name": "django.middleware", @@ -150,11 +150,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 7571250, - "start": 1776198769007418170 + "duration": 8916750, + "start": 1777572579747294428 }, { "name": "django.middleware", @@ -167,11 +167,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 45916, - "start": 1776198769007477587 + "duration": 43458, + "start": 1777572579747343761 }, { "name": "django.middleware", @@ -184,11 +184,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 7322625, - "start": 1776198769007562295 + "duration": 8705542, + "start": 1777572579747420886 }, { "name": "django.middleware", @@ -201,11 +201,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 100125, - "start": 1776198769007617753 + "duration": 90959, + "start": 1777572579747479594 }, { "name": "django.middleware", @@ -218,11 +218,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 7078792, - "start": 1776198769007760253 + "duration": 8499333, + "start": 1777572579747607178 }, { "name": "django.middleware", @@ -235,11 +235,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3121834, - "start": 1776198769007815503 + "duration": 3290042, + "start": 1777572579747659886 }, { "name": "django.middleware", @@ -252,11 +252,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3733542, - "start": 1776198769011003378 + "duration": 5018375, + "start": 1777572579750998053 }, { "name": "django.middleware", @@ -269,11 +269,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3551042, - "start": 1776198769011074170 + "duration": 4863917, + "start": 1777572579751053511 }, { "name": "django.middleware", @@ -286,11 +286,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 40417, - "start": 1776198769011133628 + "duration": 33042, + "start": 1777572579751103011 }, { "name": "django.middleware", @@ -303,11 +303,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 3298292, - "start": 1776198769011213545 + "duration": 4633584, + "start": 1777572579751169969 }, { "name": "django.middleware", @@ -320,11 +320,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 92875, - "start": 1776198769013859837 + "duration": 61250, + "start": 1777572579754607469 }, { "name": "django.view", @@ -337,11 +337,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 301958, - "start": 1776198769014053045 + "duration": 851917, + "start": 1777572579754737386 }, { "name": "django.middleware", @@ -354,11 +354,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 67541, - "start": 1776198769014418087 + "duration": 67875, + "start": 1777572579755712261 }, { "name": "django.middleware", @@ -371,11 +371,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 50833, - "start": 1776198769014550712 + "duration": 53500, + "start": 1777572579755841553 }, { "name": "django.middleware", @@ -388,11 +388,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 51042, - "start": 1776198769014662545 + "duration": 43125, + "start": 1777572579755953969 }, { "name": "django.middleware", @@ -405,11 +405,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 41250, - "start": 1776198769014773962 + "duration": 37125, + "start": 1777572579756049844 }, { "name": "django.middleware", @@ -422,11 +422,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 41875, - "start": 1776198769014925087 + "duration": 31250, + "start": 1777572579756160803 }, { "name": "django.middleware", @@ -439,11 +439,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 45250, - "start": 1776198769015025253 + "duration": 38000, + "start": 1777572579756247886 }, { "name": "django.middleware", @@ -456,9 +456,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.django_hosts", - "_dd.svc_src": "m", + "_dd.svc_src": "django", "component": "django" }, - "duration": 43541, - "start": 1776198769015128337 + "duration": 49250, + "start": 1777572579756338511 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json index 5a4963c859d..daf42d927ea 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish.json @@ -10,13 +10,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -24,10 +24,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 13165625, - "start": 1776363785291604095 + "duration": 13001708, + "start": 1777572686117233671 }], [ { @@ -41,19 +41,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 17729459, - "start": 1776363785306119886 + "duration": 16725417, + "start": 1777572686131804504 }, { "name": "gcp.pubsub.send", @@ -76,8 +76,8 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 17492708, - "start": 1776363785306209095 + "duration": 16498041, + "start": 1777572686131921088 }], [ { @@ -91,13 +91,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -105,8 +105,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 2253209, - "start": 1776363785324981886 + "duration": 5003834, + "start": 1777572686149506129 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json index 1cb51572e12..2608ab221e4 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_publish_future_error.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 32160000, - "start": 1776363785340758928 + "duration": 26052625, + "start": 1777572686167046463 }, { "name": "gcp.pubsub.send", @@ -47,6 +47,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 31751417, - "start": 1776363785340863053 + "duration": 25677750, + "start": 1777572686167137004 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json index bae97ffb11a..11061d7e626 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_callback_error.json @@ -10,13 +10,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -24,10 +24,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 14720208, - "start": 1776363786373208470 + "duration": 25289000, + "start": 1777572687174588130 }], [ { @@ -41,13 +41,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createSubscription", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -55,10 +55,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 7600625, - "start": 1776363786389523095 + "duration": 6211042, + "start": 1777572687201338588 }], [ { @@ -72,7 +72,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -81,7 +81,7 @@ "messaging.message_id": "13", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "producer" }, "metrics": { @@ -89,10 +89,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 16785875, - "start": 1776363786399765762 + "duration": 16770458, + "start": 1777572687209906172 }, { "name": "gcp.pubsub.receive", @@ -105,7 +105,7 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "error.message": "callback error", @@ -117,19 +117,19 @@ "messaging.message_id": "13", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "consumer", - "tracestate": "dd=p:eb2d17aafcaa9330;t.tid:69e1290a00000000" + "tracestate": "dd=p:39817d3de1b153ea;t.tid:69f39b4f00000000" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 2364625, - "start": 1776363786464099054 + "duration": 2834167, + "start": 1777572687270753755 }], [ { @@ -143,13 +143,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteSubscription", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -157,10 +157,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 3443333, - "start": 1776363786468356887 + "duration": 2978125, + "start": 1777572687275590088 }], [ { @@ -174,13 +174,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -188,8 +188,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 2086500, - "start": 1776363786472172804 + "duration": 2374208, + "start": 1777572687278895922 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json index 28f358a855c..cc3a284b3cf 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_disabled.json @@ -10,13 +10,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -24,10 +24,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 7252875, - "start": 1776363785487982220 + "duration": 6449583, + "start": 1777572686299214171 }], [ { @@ -41,13 +41,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createSubscription", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -55,10 +55,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 4224541, - "start": 1776363785496389595 + "duration": 5691792, + "start": 1777572686306631254 }], [ { @@ -72,7 +72,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -81,7 +81,7 @@ "messaging.message_id": "11", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "producer" }, "metrics": { @@ -89,10 +89,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 17435333, - "start": 1776363785503178095 + "duration": 15847000, + "start": 1777572686314493671 }, { "name": "gcp.pubsub.receive", @@ -105,7 +105,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -114,19 +114,19 @@ "messaging.message_id": "11", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "consumer", - "tracestate": "dd=p:843e783b293afcbe;t.tid:69e1290900000000" + "tracestate": "dd=p:d9bb7f6fc86087e5;t.tid:69f39b4e00000000" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 223833, - "start": 1776363785566385303 + "duration": 197125, + "start": 1777572686373201713 }, { "name": "subscriber.span", @@ -138,10 +138,10 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "69e1290900000000" + "_dd.p.tid": "69f39b4e00000000" }, - "duration": 63500, - "start": 1776363785566501303 + "duration": 60458, + "start": 1777572686373295463 }], [ { @@ -155,13 +155,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteSubscription", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -169,10 +169,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 3091625, - "start": 1776363785582812761 + "duration": 2938208, + "start": 1777572686389820088 }], [ { @@ -186,13 +186,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -200,8 +200,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 3114875, - "start": 1776363785586209095 + "duration": 3334625, + "start": 1777572686393068088 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json index 5ae4c27738e..0f83b3f3ca8 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_as_span_links_enabled.json @@ -10,13 +10,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -24,10 +24,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 9007417, - "start": 1776363785600686511 + "duration": 8414917, + "start": 1777572686409163713 }], [ { @@ -41,13 +41,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createSubscription", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -55,10 +55,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 4854583, - "start": 1776363785610767345 + "duration": 7124292, + "start": 1777572686418611546 }], [ { @@ -72,13 +72,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteSubscription", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -86,10 +86,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 9025541, - "start": 1776363785702231887 + "duration": 5405167, + "start": 1777572686512323838 }], [ { @@ -103,13 +103,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -117,10 +117,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 4935417, - "start": 1776363785711815803 + "duration": 2595167, + "start": 1777572686518213838 }], [ { @@ -134,7 +134,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", + "_dd.p.tid": "69f39b4e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -143,7 +143,7 @@ "messaging.message_id": "12", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "producer" }, "metrics": { @@ -151,10 +151,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 15682125, - "start": 1776363785619254428 + "duration": 16987667, + "start": 1777572686429674463 }], [ { @@ -168,8 +168,8 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290900000000", - "_dd.span_links": "[{\"trace_id\": \"69e12909000000007567961e50918926\", \"span_id\": \"bea7fa6bfe46fb12\", \"tracestate\": \"dd=t.tid:69e1290900000000\", \"flags\": 0}]", + "_dd.p.tid": "69f39b4e00000000", + "_dd.span_links": "[{\"trace_id\": \"69f39b4e0000000080162b7b525a710f\", \"span_id\": \"544ea1c260b6092f\", \"tracestate\": \"dd=t.tid:69f39b4e00000000\", \"flags\": 0}]", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -178,7 +178,7 @@ "messaging.message_id": "12", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "consumer" }, "metrics": { @@ -186,8 +186,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 1158750, - "start": 1776363785680080511 + "duration": 1061792, + "start": 1777572686484901088 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json index a091060836b..e5e30b12ff7 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub.test_subscribe_propagation_disabled.json @@ -10,13 +10,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -24,10 +24,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 9188000, - "start": 1776363786486952512 + "duration": 9460334, + "start": 1777572687293897088 }], [ { @@ -41,13 +41,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "createSubscription", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -55,10 +55,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 3230667, - "start": 1776363786497224637 + "duration": 3304334, + "start": 1777572687304540588 }], [ { @@ -72,13 +72,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteSubscription", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -86,10 +86,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 6182791, - "start": 1776363786585383804 + "duration": 7270542, + "start": 1777572687391871630 }], [ { @@ -103,13 +103,13 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", "language": "python", "pubsub.method": "deleteTopic", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "client" }, "metrics": { @@ -117,10 +117,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 2167625, - "start": 1776363786592086304 + "duration": 2871166, + "start": 1777572687399751297 }], [ { @@ -134,7 +134,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -143,7 +143,7 @@ "messaging.message_id": "14", "messaging.operation": "send", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "producer" }, "metrics": { @@ -151,10 +151,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 14653625, - "start": 1776363786504764012 + "duration": 16082416, + "start": 1777572687311289547 }], [ { @@ -168,7 +168,7 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1290a00000000", + "_dd.p.tid": "69f39b4f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -177,7 +177,7 @@ "messaging.message_id": "14", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "consumer" }, "metrics": { @@ -185,8 +185,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 142625, - "start": 1776363786563859137 + "duration": 115917, + "start": 1777572687371278005 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json index f3067c51f0d..6223638c93e 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_creates_inferred_span.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1291900000000", + "_dd.p.tid": "69f39b5f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 195625, - "start": 1776363801791156713 + "duration": 162417, + "start": 1777572703131003887 }, { "name": "gcp.pubsub.receive", @@ -35,7 +35,8 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1291900000000", + "_dd.p.tid": "69f39b5f00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -45,9 +46,9 @@ "messaging.message_id": "12345", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "consumer", - "tracestate": "dd=p:322b068ae9d78c97;s:1;t.dm:-0;t.tid:69e1291900000000" + "tracestate": "dd=p:eba7cf38a6581d7c;s:1;t.dm:-0;t.tid:69f39b5f00000000" }, "metrics": { "_dd.inferred_span": 1.0, @@ -55,10 +56,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 630334, - "start": 1776363801792361713 + "duration": 692166, + "start": 1777572703132141471 }, { "name": "falcon.request", @@ -71,7 +72,8 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", - "_dd.p.tid": "69e1291900000000", + "_dd.p.tid": "69f39b5f00000000", + "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", "http.route": "/push", @@ -83,6 +85,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 550166, - "start": 1776363801792421672 + "duration": 600750, + "start": 1777572703132210762 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json index 0041ea03489..b2ff1be9299 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_error_propagates_to_inferred_span.json @@ -10,7 +10,8 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1291900000000", + "_dd.p.tid": "69f39b5f00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -20,7 +21,7 @@ "messaging.message_id": "12345", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "consumer" }, "metrics": { @@ -29,10 +30,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 1262709, - "start": 1776363801821824463 + "duration": 1296041, + "start": 1777572703164921471 }, { "name": "falcon.request", @@ -45,6 +46,7 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", + "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", "http.route": "/push", @@ -56,6 +58,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 1160791, - "start": 1776363801821888672 + "duration": 1199417, + "start": 1777572703164991429 }]] diff --git a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json index 7c5aff294f7..02887dedf48 100644 --- a/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json +++ b/tests/snapshots/tests.contrib.google_cloud_pubsub.test_pubsub_push.test_push_subscription_propagation_as_span_links.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1291900000000", + "_dd.p.tid": "69f39b5f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "language": "python", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9" + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 154208, - "start": 1776363801806900672 + "duration": 137541, + "start": 1777572703149001471 }], [ { @@ -36,8 +36,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e1291900000000", - "_dd.span_links": "[{\"trace_id\": \"69e1291900000000f24b2377555ae4dc\", \"span_id\": \"db5ddb5b07588db2\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69e1291900000000\", \"flags\": 1}]", + "_dd.p.tid": "69f39b5f00000000", + "_dd.span_links": "[{\"trace_id\": \"69f39b5f000000001fab181a6a6bd1a6\", \"span_id\": \"8538fe555365d5ca\", \"tracestate\": \"dd=s:1;t.dm:-0;t.tid:69f39b5f00000000\", \"flags\": 1}]", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.google_cloud_pubsub", "component": "google_cloud_pubsub", "gcloud.project_id": "test-project", @@ -47,7 +48,7 @@ "messaging.message_id": "12345", "messaging.operation": "receive", "messaging.system": "pubsub", - "runtime-id": "fe9b80a3add542f88afaea8a3946d7a9", + "runtime-id": "a6de0570d7274e9fac5a4d12cd765c61", "span.kind": "consumer" }, "metrics": { @@ -56,10 +57,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 21973.0 + "process_id": 55366.0 }, - "duration": 509750, - "start": 1776363801807729547 + "duration": 383584, + "start": 1777572703149801762 }, { "name": "falcon.request", @@ -72,6 +73,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.google_cloud_pubsub", + "_dd.svc_src": "m", "component": "falcon", "http.method": "POST", "http.route": "/push", @@ -83,6 +85,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 395917, - "start": 1776363801807814130 + "duration": 282042, + "start": 1777572703149883929 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json index 970da17b40d..ffe1b8209f5 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql.json @@ -11,21 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e3e00000000", + "_dd.p.tid": "69f39bb900000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "language": "python", - "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" + "runtime-id": "639e6096e4f7483aad7f4c6516daf391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75639.0 + "process_id": 56549.0 }, - "duration": 2416542, - "start": 1776197182351845797 + "duration": 2320208, + "start": 1777572793660148013 }, { "name": "graphql.parse", @@ -38,11 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 393416, - "start": 1776197182352392589 + "duration": 285666, + "start": 1777572793660786513 }, { "name": "graphql.validate", @@ -55,11 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 1170041, - "start": 1776197182352907589 + "duration": 1073084, + "start": 1777572793661152554 }, { "name": "graphql.execute", @@ -72,6 +75,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -80,6 +84,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 127333, - "start": 1776197182354121047 + "duration": 182750, + "start": 1777572793662271221 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json index d54a42040e5..56518aa6a54 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_error.json @@ -11,24 +11,25 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4000000000", + "_dd.p.tid": "69f39bbd00000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "error.message": "Cannot query field 'invalid_schema' on type 'RootQueryType'.\n\nGraphQL request:1:17\n1 | query my_query{ invalid_schema }\n | ^", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197184203243173,\"attributes\": {\"locations\": [\"1:17\"],\"message\": \"Cannot query field 'invalid_schema' on type 'RootQueryType'.\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1777572797081043208,\"attributes\": {\"locations\": [\"1:17\"],\"message\": \"Cannot query field 'invalid_schema' on type 'RootQueryType'.\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "language": "python", - "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" + "runtime-id": "639e6096e4f7483aad7f4c6516daf391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75639.0 + "process_id": 56549.0 }, - "duration": 1824209, - "start": 1776197184201432839 + "duration": 1932750, + "start": 1777572797079114833 }, { "name": "graphql.parse", @@ -41,11 +42,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query my_query{ invalid_schema }" }, - "duration": 173625, - "start": 1776197184201711006 + "duration": 143583, + "start": 1777572797079333542 }, { "name": "graphql.validate", @@ -58,12 +60,13 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "error.message": "Cannot query field 'invalid_schema' on type 'RootQueryType'.\n\nGraphQL request:1:17\n1 | query my_query{ invalid_schema }\n | ^", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197184203068756,\"attributes\": {\"locations\": [\"1:17\"],\"message\": \"Cannot query field 'invalid_schema' on type 'RootQueryType'.\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1777572797080977042,\"attributes\": {\"locations\": [\"1:17\"],\"message\": \"Cannot query field 'invalid_schema' on type 'RootQueryType'.\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "graphql.source": "query my_query{ invalid_schema }" }, - "duration": 1145333, - "start": 1776197184201929798 + "duration": 1470416, + "start": 1777572797079517417 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json index 59d143b2769..14c4232ee61 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_execute_with_middleware.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4000000000", + "_dd.p.tid": "69f39bb900000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "language": "python", - "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" + "runtime-id": "639e6096e4f7483aad7f4c6516daf391" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75639.0 + "process_id": 56549.0 }, - "duration": 1220916, - "start": 1776197184146248923 + "duration": 691875, + "start": 1777572793707865596 }, { "name": "graphql.parse", @@ -35,14 +35,15 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, "metrics": { "_dd.top_level": 1.0 }, - "duration": 293750, - "start": 1776197184146440214 + "duration": 134375, + "start": 1777572793707940471 }, { "name": "graphql.execute", @@ -55,6 +56,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -64,8 +66,8 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 394875, - "start": 1776197184146884881 + "duration": 254625, + "start": 1777572793708125638 }, { "name": "graphql.resolve", @@ -78,10 +80,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 65041, - "start": 1776197184147186548 + "duration": 48666, + "start": 1777572793708312013 }, { "name": "test_middleware", @@ -93,10 +96,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.graphql" + "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql" }, - "duration": 18416, - "start": 1776197184147216798 + "duration": 14458, + "start": 1777572793708335638 }, { "name": "graphql.execute", @@ -109,6 +113,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -118,8 +123,8 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 129458, - "start": 1776197184147327131 + "duration": 130834, + "start": 1777572793708413429 }, { "name": "graphql.resolve", @@ -132,10 +137,11 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 47917, - "start": 1776197184147393256 + "duration": 43042, + "start": 1777572793708485971 }, { "name": "test_middleware", @@ -147,8 +153,9 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.contrib.graphql" + "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql" }, - "duration": 15334, - "start": 1776197184147416089 + "duration": 12875, + "start": 1777572793708506471 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json index 78fa554dcb0..dc7864c35b7 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_fail_2.x.json @@ -11,21 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4300000000", + "_dd.p.tid": "69f39bb900000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "graphql.source": "type Query { fail: String }", "language": "python", - "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" + "runtime-id": "639e6096e4f7483aad7f4c6516daf391" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75639.0 + "process_id": 56549.0 }, - "duration": 433083, - "start": 1776197187679345591 + "duration": 205583, + "start": 1777572793676237721 }], [ { @@ -40,25 +41,26 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4300000000", + "_dd.p.tid": "69f39bb900000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "error.message": "'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.9/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\n ^^^^^^^^^^\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197187684630633,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.9/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\\\", line 246, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/home/bits/project/tests/contrib/graphql/test_graphql.py\\\", line 107, in \\n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1777572793680924388,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\\\", line 246, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/home/bits/project/tests/contrib/graphql/test_graphql.py\\\", line 107, in \\n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\\n ^^^^^^^^^^\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "language": "python", - "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" + "runtime-id": "639e6096e4f7483aad7f4c6516daf391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75639.0 + "process_id": 56549.0 }, - "duration": 3293250, - "start": 1776197187681339049 + "duration": 2883167, + "start": 1777572793678046721 }, { "name": "graphql.parse", @@ -71,11 +73,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query { fail }" }, - "duration": 187208, - "start": 1776197187681626758 + "duration": 118000, + "start": 1777572793678220304 }, { "name": "graphql.validate", @@ -88,11 +91,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query { fail }" }, - "duration": 1041667, - "start": 1776197187681856841 + "duration": 814125, + "start": 1777572793678377013 }, { "name": "graphql.execute", @@ -105,19 +109,20 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "error.message": "'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.9/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\", line 521, in execute_field\n result = resolve_fn(source, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\n ^^^^^^^^^^\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\n\nGraphQL request:3:7\n2 | query {\n3 | fail\n | ^\n4 | }\n", "error.type": "graphql.error.graphql_error.GraphQLError", - "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1776197187684427674,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py3925_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.9/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n File \\\"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\\\", line 246, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n File \\\"/home/bits/project/tests/contrib/graphql/test_graphql.py\\\", line 107, in \\n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", + "events": "[{\"name\": \"dd.graphql.query.error\",\"time_unix_nano\": 1777572793680717304,\"attributes\": {\"locations\": [\"3:7\"],\"message\": \"'NoneType' object has no attribute 'name'\",\"path\": \"fail\",\"stacktrace\": \"Traceback (most recent call last):\\n File \\\"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio0211_graphql-core~320_pytest-randomly/lib/python3.12/site-packages/graphql/execution/execute.py\\\", line 521, in execute_field\\n result = resolve_fn(source, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\\\", line 246, in _resolver_middleware\\n return next_middleware(root, info, **args)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/home/bits/project/tests/contrib/graphql/test_graphql.py\\\", line 107, in \\n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\\n ^^^^^^^^^^\\ngraphql.error.graphql_error.GraphQLError: 'NoneType' object has no attribute 'name'\\n\\nGraphQL request:3:7\\n2 | query {\\n3 | fail\\n | ^\\n4 | }\\n\",\"type\": \"graphql.error.graphql_error.GraphQLError\"}}]", "graphql.operation.type": "query", "graphql.source": "query { fail }" }, "metrics": { "_dd.measured": 1.0 }, - "duration": 1472583, - "start": 1776197187682960216 + "duration": 1491417, + "start": 1777572793679235554 }, { "name": "graphql.resolve", @@ -130,11 +135,12 @@ "error": 1, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "error.message": "'NoneType' object has no attribute 'name'", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\nAttributeError: 'NoneType' object has no attribute 'name'\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/graphql/patch.py\", line 246, in _resolver_middleware\n return next_middleware(root, info, **args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/tests/contrib/graphql/test_graphql.py\", line 107, in \n test_schema, query, root_value=None, field_resolver=lambda _type, _field: resolvers[_type.name][_field.name]\n ^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'name'\n", "error.type": "builtins.AttributeError" }, - "duration": 335417, - "start": 1776197187683078424 + "duration": 532958, + "start": 1777572793679319888 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json index 9145ca65e34..f8f12bb783a 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_document_with_no_location.json @@ -11,21 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4000000000", + "_dd.p.tid": "69f39bb900000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "graphql.source": "query HELLO { hello }", "language": "python", - "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" + "runtime-id": "639e6096e4f7483aad7f4c6516daf391" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75639.0 + "process_id": 56549.0 }, - "duration": 237375, - "start": 1776197184160642506 + "duration": 172750, + "start": 1777572793695365096 }], [ { @@ -40,22 +41,23 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4000000000", + "_dd.p.tid": "69f39bb900000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", "graphql.source": "", "language": "python", - "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" + "runtime-id": "639e6096e4f7483aad7f4c6516daf391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75639.0 + "process_id": 56549.0 }, - "duration": 230458, - "start": 1776197184161037631 + "duration": 198917, + "start": 1777572793695657304 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json index 528545aa541..0892a4e561b 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_graphql_with_traced_resolver.json @@ -11,21 +11,22 @@ "meta": { "_dd.base_service": "tests.contrib.graphql", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4000000000", + "_dd.p.tid": "69f39bba00000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.graphql", "component": "graphql", "language": "python", - "runtime-id": "6b5a1e496034457f826b52cf30d11ad4" + "runtime-id": "639e6096e4f7483aad7f4c6516daf391" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75639.0 + "process_id": 56549.0 }, - "duration": 2098667, - "start": 1776197184173971214 + "duration": 1650334, + "start": 1777572794535473346 }, { "name": "graphql.parse", @@ -38,11 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 165750, - "start": 1776197184174211131 + "duration": 176167, + "start": 1777572794535798138 }, { "name": "graphql.validate", @@ -55,11 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 1335083, - "start": 1776197184174425548 + "duration": 903541, + "start": 1777572794536027055 }, { "name": "graphql.execute", @@ -72,6 +75,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -80,8 +84,8 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 185792, - "start": 1776197184175871839 + "duration": 126084, + "start": 1777572794536986971 }, { "name": "graphql.resolve", @@ -94,8 +98,9 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.graphql", + "_dd.svc_src": "graphql", "component": "graphql" }, - "duration": 24875, - "start": 1776197184176003798 + "duration": 17750, + "start": 1777572794537072221 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json index be9d40c705f..669f37ba079 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-None].json @@ -11,21 +11,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4100000000", + "_dd.p.tid": "69f39bbc00000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "language": "python", - "runtime-id": "6127cc7e98ba4c75b63718ca1595c38b" + "runtime-id": "462f498ce5224daebae10afdfebbc117" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75789.0 + "process_id": 56725.0 }, - "duration": 877709, - "start": 1776197185030226256 + "duration": 773875, + "start": 1777572796202033958 }, { "name": "graphql.parse", @@ -38,11 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 158292, - "start": 1776197185030374548 + "duration": 113542, + "start": 1777572796202173333 }, { "name": "graphql.validate", @@ -55,11 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 422000, - "start": 1776197185030579256 + "duration": 422584, + "start": 1777572796202312166 }, { "name": "graphql.execute", @@ -72,6 +75,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -80,6 +84,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 73375, - "start": 1776197185031023548 + "duration": 45125, + "start": 1777572796202756250 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json index ab94b884518..877c20b15f9 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v0].json @@ -11,21 +11,22 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4100000000", + "_dd.p.tid": "69f39bbb00000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "language": "python", - "runtime-id": "511317cabce145c0be7e840ec72dc314" + "runtime-id": "431ad24fa2dd4f2dba10733a3391904a" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75803.0 + "process_id": 56710.0 }, - "duration": 1280750, - "start": 1776197185895890965 + "duration": 807167, + "start": 1777572795354011555 }, { "name": "graphql.parse", @@ -38,11 +39,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 187417, - "start": 1776197185896062132 + "duration": 114292, + "start": 1777572795354159555 }, { "name": "graphql.validate", @@ -55,11 +57,12 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 701625, - "start": 1776197185896285299 + "duration": 442083, + "start": 1777572795354301722 }, { "name": "graphql.execute", @@ -72,6 +75,7 @@ "error": 0, "meta": { "_dd.base_service": "ddtrace_subprocess_dir", + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -80,6 +84,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 90500, - "start": 1776197185897073132 + "duration": 47375, + "start": 1777572795354765764 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json index bd634bac4fa..754683098cb 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[None-v1].json @@ -10,21 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4300000000", + "_dd.p.tid": "69f39bba00000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "graphql", "language": "python", - "runtime-id": "dfb55f4f943e4bc6ada5d4b4f8aec809" + "runtime-id": "53b81e65376d487593f78684fb76ad7f" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75825.0 + "process_id": 56695.0 }, - "duration": 853708, - "start": 1776197187599787466 + "duration": 754542, + "start": 1777572794442501846 }, { "name": "graphql.parse", @@ -36,11 +37,12 @@ "type": "graphql", "error": 0, "meta": { + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 162083, - "start": 1776197187599938216 + "duration": 113625, + "start": 1777572794442641513 }, { "name": "graphql.validate", @@ -52,11 +54,12 @@ "type": "graphql", "error": 0, "meta": { + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 429709, - "start": 1776197187600130174 + "duration": 406166, + "start": 1777572794442781055 }, { "name": "graphql.execute", @@ -68,6 +71,7 @@ "type": "graphql", "error": 0, "meta": { + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -76,6 +80,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 52125, - "start": 1776197187600582341 + "duration": 43250, + "start": 1777572794443207305 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json index 9b5ad019b22..b8eb9af5434 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-None].json @@ -10,21 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4200000000", + "_dd.p.tid": "69f39bbc00000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "graphql", "language": "python", - "runtime-id": "38f07e355b544f79b4fa1ac54bf97f72" + "runtime-id": "0f5523ab92b14c16a6f088c27acfcf47" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75814.0 + "process_id": 56740.0 }, - "duration": 863208, - "start": 1776197186760498591 + "duration": 781959, + "start": 1777572796998986708 }, { "name": "graphql.parse", @@ -39,8 +39,8 @@ "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 159916, - "start": 1776197186760653966 + "duration": 113291, + "start": 1777572796999131542 }, { "name": "graphql.validate", @@ -55,8 +55,8 @@ "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 428000, - "start": 1776197186760851174 + "duration": 425750, + "start": 1777572796999272375 }, { "name": "graphql.execute", @@ -76,6 +76,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 53292, - "start": 1776197186761301674 + "duration": 44125, + "start": 1777572796999718833 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json index 7a0b9e6e881..d894f74dd2b 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v0].json @@ -10,21 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e4000000000", + "_dd.p.tid": "69f39bbd00000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "graphql", "language": "python", - "runtime-id": "455da0e314ab4db0800a81b662352551" + "runtime-id": "220cfc49e6314a00b198c872c7d40fea" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75763.0 + "process_id": 56757.0 }, - "duration": 870375, - "start": 1776197184061577964 + "duration": 775875, + "start": 1777572797852489000 }, { "name": "graphql.parse", @@ -39,8 +39,8 @@ "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 167375, - "start": 1776197184061739173 + "duration": 113541, + "start": 1777572797852647334 }, { "name": "graphql.validate", @@ -55,8 +55,8 @@ "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 431417, - "start": 1776197184061935714 + "duration": 401916, + "start": 1777572797852789209 }, { "name": "graphql.execute", @@ -76,6 +76,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 52584, - "start": 1776197184062388464 + "duration": 42875, + "start": 1777572797853211209 }]] diff --git a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json index 2f9000f093b..abfbf592cb8 100644 --- a/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json +++ b/tests/snapshots/tests.contrib.graphql.test_graphql.test_span_schematization[my-service-v1].json @@ -10,21 +10,22 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de9e3f00000000", + "_dd.p.tid": "69f39bbe00000000", + "_dd.svc_src": "graphql", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "graphql", "language": "python", - "runtime-id": "ce3bfc2c411f4fd5a0d5de3cd7493af0" + "runtime-id": "e798ca2d2d7842739e4381afb732b0ad" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 75752.0 + "process_id": 56770.0 }, - "duration": 847750, - "start": 1776197183151863172 + "duration": 784417, + "start": 1777572798794067209 }, { "name": "graphql.parse", @@ -36,11 +37,12 @@ "type": "graphql", "error": 0, "meta": { + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 159125, - "start": 1776197183152011297 + "duration": 106916, + "start": 1777572798794205793 }, { "name": "graphql.validate", @@ -52,11 +54,12 @@ "type": "graphql", "error": 0, "meta": { + "_dd.svc_src": "graphql", "component": "graphql", "graphql.source": "query HELLO { hello }" }, - "duration": 430834, - "start": 1776197183152199172 + "duration": 436000, + "start": 1777572798794339334 }, { "name": "graphql.execute", @@ -68,6 +71,7 @@ "type": "graphql", "error": 0, "meta": { + "_dd.svc_src": "graphql", "component": "graphql", "graphql.operation.name": "HELLO", "graphql.operation.type": "query", @@ -76,6 +80,6 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 51500, - "start": 1776197183152652547 + "duration": 47042, + "start": 1777572798794798209 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit.json index 57b15fa421f..8cf6366f612 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da63b00000000", + "_dd.p.tid": "69f39c6200000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_commit", "messaging.system": "kafka", - "pathway.hash": "17467827440851744576", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "13106789815570893648", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 3640926960, - "start": 1771939383887322210 + "duration": 3020874418, + "start": 1777572959123870839 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da63700000000", + "_dd.p.tid": "69f39c5e00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_commit", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "17383295633715646906", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "14769842645757948743", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 2317125, - "start": 1771939383882984044 + "duration": 1370750, + "start": 1777572958953760464 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_single_message.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_single_message.json index b2e26906d07..b8487e137b8 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_single_message.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_single_message.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da63e00000000", + "_dd.p.tid": "69f39c5700000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_commit_with_consume_single_message", "messaging.system": "kafka", - "pathway.hash": "17498410115407868958", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "15326951731999389052", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 3522296252, - "start": 1771939387619301962 + "duration": 3104781877, + "start": 1777572947971849625 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da63b00000000", + "_dd.p.tid": "69f39c5300000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_commit_with_consume_single_message", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "3355597488367749761", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "14458012524953585882", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 1987625, - "start": 1771939387615578504 + "duration": 1065500, + "start": 1777572947703605834 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_with_multiple_messages.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_with_multiple_messages.json index c9b48ddf924..6fb61074ff4 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_with_multiple_messages.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_consume_with_multiple_messages.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da66f00000000", + "_dd.p.tid": "69f39c4f00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_commit_with_consume_with_multiple_messages", "messaging.system": "kafka", - "pathway.hash": "5094451009373212761", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "2423364066951670920", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 3424215779, - "start": 1771939436679696721 + "duration": 3155543210, + "start": 1777572939999928886 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da66c00000000", + "_dd.p.tid": "69f39c4b00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_commit_with_consume_with_multiple_messages", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "18251954032157977887", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "12550858578968391497", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "producer" }, "metrics": { @@ -71,10 +75,10 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 2483083, - "start": 1771939436443285763 + "duration": 1020541, + "start": 1777572939704394011 }], [ { @@ -89,7 +93,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da66c00000000", + "_dd.p.tid": "69f39c4b00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -99,8 +105,8 @@ "messaging.destination.name": "test_commit_with_consume_with_multiple_messages", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "18251954032157977887", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "12550858578968391497", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "producer" }, "metrics": { @@ -109,8 +115,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 596167, - "start": 1771939436446770221 + "duration": 233250, + "start": 1777572939705792177 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_offset.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_offset.json index 058fe4a471d..cf1f618e791 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_offset.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_offset.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da64600000000", + "_dd.p.tid": "69f39c9b00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_commit_with_offset", "messaging.system": "kafka", - "pathway.hash": "15579122138097117211", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "2981927891697666710", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 3863228794, - "start": 1771939394711359007 + "duration": 39039614629, + "start": 1777572980135500585 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da64200000000", + "_dd.p.tid": "69f39c7400000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_commit_with_offset", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "5700345570833479281", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "17795793837347082584", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 2094625, - "start": 1771939394707068549 + "duration": 1177583, + "start": 1777572980133191835 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_only_async_arg.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_only_async_arg.json index 4c8eb92b4b3..9387d1e3efa 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_only_async_arg.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_commit_with_only_async_arg.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da66b00000000", + "_dd.p.tid": "69f39c3900000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_commit_with_only_async_arg", "messaging.system": "kafka", - "pathway.hash": "9445910868734691563", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "13275995231772857229", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 3515048002, - "start": 1771939432858958594 + "duration": 3076544293, + "start": 1777572918087381084 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da66800000000", + "_dd.p.tid": "69f39c3500000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_commit_with_only_async_arg", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "2871702491786152267", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "14873457570798829373", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 1661792, - "start": 1771939432855592094 + "duration": 986375, + "start": 1777572917829997459 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[False].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[False].json index c1fc7a8eb1d..695adb076b5 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[False].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[False].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da68a00000000", + "_dd.p.tid": "69f39c6e00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -21,8 +23,8 @@ "messaging.destination.name": "test_message_False", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "2548628084296931598", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "7002753579560822709", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "producer" }, "metrics": { @@ -31,8 +33,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 2334833, - "start": 1771939466981093513 + "duration": 1090875, + "start": 1777572974006355221 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[True].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[True].json index 3e05795bd79..3c02f1bfcbb 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[True].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_message[True].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "699da67b00000000", + "_dd.p.tid": "69f39c2500000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -21,8 +23,8 @@ "messaging.destination.name": "test_message_True", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "17484606350839754876", - "runtime-id": "68bda42d578c470bb187b5b024070405", + "pathway.hash": "695743250928760023", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "producer" }, "metrics": { @@ -31,8 +33,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 95971.0 + "process_id": 57348.0 }, - "duration": 2172083, - "start": 1771939451897476381 + "duration": 1652208, + "start": 1777572901445642507 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-None].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-None].json index a2f2623edb4..17e63e207f3 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-None].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-None].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da64d00000000", + "_dd.p.tid": "69f39c4b00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_schematized_span_service_and_operation_None-None", "messaging.system": "kafka", - "pathway.hash": "6222827572336386924", - "runtime-id": "adebc641c98d47478fa3c57d2c016077", + "pathway.hash": "14270982864722559808", + "runtime-id": "1891b1c9237e4ce9b49af7dff9f394b3", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 96950.0 + "process_id": 57974.0 }, - "duration": 3456751002, - "start": 1771939402451953177 + "duration": 3590113752, + "start": 1777572935989010009 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da64a00000000", + "_dd.p.tid": "69f39c4700000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_schematized_span_service_and_operation_None-None", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "1582775839941055741", - "runtime-id": "adebc641c98d47478fa3c57d2c016077", + "pathway.hash": "11740813383356814931", + "runtime-id": "1891b1c9237e4ce9b49af7dff9f394b3", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 96950.0 + "process_id": 57974.0 }, - "duration": 14057625, - "start": 1771939402250359094 + "duration": 1276125, + "start": 1777572935793203676 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-mysvc].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-mysvc].json index fd23bca3bb6..11a874afaec 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-mysvc].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[None-mysvc].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "699da65800000000", + "_dd.p.tid": "69f39c3000000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_schematized_span_service_and_operation_None-mysvc", "messaging.system": "kafka", - "pathway.hash": "16707561659744435427", - "runtime-id": "f8a13af9e39b416d96971ec715a57319", + "pathway.hash": "6527504683641146186", + "runtime-id": "f087148faf654f10871c72b229149522", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 97026.0 + "process_id": 57797.0 }, - "duration": 3865547044, - "start": 1771939413312275668 + "duration": 3699817211, + "start": 1777572909620852927 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "699da65500000000", + "_dd.p.tid": "69f39c2d00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_schematized_span_service_and_operation_None-mysvc", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "15641209610665848781", - "runtime-id": "f8a13af9e39b416d96971ec715a57319", + "pathway.hash": "2867051544082031588", + "runtime-id": "f087148faf654f10871c72b229149522", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 97026.0 + "process_id": 57797.0 }, - "duration": 10949417, - "start": 1771939413110461043 + "duration": 1421625, + "start": 1777572909617864136 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-None].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-None].json index b748a735cc4..2fac66e21fa 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-None].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-None].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da6ea00000000", + "_dd.p.tid": "69f39c5a00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_schematized_span_service_and_operation_v0-None", "messaging.system": "kafka", - "pathway.hash": "17147612488965320752", - "runtime-id": "c054f64835794abea767f40935b5332b", + "pathway.hash": "12069426099084478754", + "runtime-id": "4c7dde0b51ee4521b89b22d524b6a145", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 97424.0 + "process_id": 58072.0 }, - "duration": 3542124293, - "start": 1771939559121655833 + "duration": 3610549419, + "start": 1777572951836806627 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da6e600000000", + "_dd.p.tid": "69f39c5700000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_schematized_span_service_and_operation_v0-None", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "13139062261286541715", - "runtime-id": "c054f64835794abea767f40935b5332b", + "pathway.hash": "10317862387891064478", + "runtime-id": "4c7dde0b51ee4521b89b22d524b6a145", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 97424.0 + "process_id": 58072.0 }, - "duration": 15787208, - "start": 1771939558838182889 + "duration": 1430958, + "start": 1777572951833979794 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-mysvc].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-mysvc].json index a011e32d971..03d09b8cb7e 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-mysvc].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v0-mysvc].json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "699da65e00000000", + "_dd.p.tid": "69f39cc700000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_schematized_span_service_and_operation_v0-mysvc", "messaging.system": "kafka", - "pathway.hash": "12416094464943445339", - "runtime-id": "52940626b02f4b968a5be656c44de11a", + "pathway.hash": "663544044237951273", + "runtime-id": "39d353766f374c0781805cc1347e9cf4", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 97054.0 + "process_id": 58344.0 }, - "duration": 3476156502, - "start": 1771939419111887879 + "duration": 41807987506, + "start": 1777573022575261549 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "mysvc", "_dd.p.dm": "-0", - "_dd.p.tid": "699da65a00000000", + "_dd.p.tid": "69f39c9e00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_schematized_span_service_and_operation_v0-mysvc", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "12704066911368483189", - "runtime-id": "52940626b02f4b968a5be656c44de11a", + "pathway.hash": "13547769576531213673", + "runtime-id": "39d353766f374c0781805cc1347e9cf4", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 97054.0 + "process_id": 58344.0 }, - "duration": 13995834, - "start": 1771939418920227004 + "duration": 1156584, + "start": 1777573022323544007 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-None].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-None].json index 0b0e133c4cb..13e60a5c7b7 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-None].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-None].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699da68200000000", + "_dd.p.tid": "69f39c5300000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -21,8 +23,8 @@ "language": "python", "messaging.destination.name": "test_schematized_span_service_and_operation_v1-None", "messaging.system": "kafka", - "pathway.hash": "3560172775124928698", - "runtime-id": "f9e310bc3525435c95fa2eaa1329a87c", + "pathway.hash": "16281220676300421626", + "runtime-id": "8cdcd63044614b5f8589a133658d9107", "span.kind": "consumer" }, "metrics": { @@ -32,10 +34,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 97295.0 + "process_id": 58023.0 }, - "duration": 4202312919, - "start": 1771939454712346132 + "duration": 3425199071, + "start": 1777572944165409721 }], [ { @@ -49,8 +51,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699da67e00000000", + "_dd.p.tid": "69f39c4f00000000", "_dd.peer.service.source": "messaging.kafka.bootstrap.servers", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -60,9 +64,9 @@ "messaging.destination.name": "test_schematized_span_service_and_operation_v1-None", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "6484381005006725885", + "pathway.hash": "8255883558579679220", "peer.service": "127.0.0.1:29092", - "runtime-id": "f9e310bc3525435c95fa2eaa1329a87c", + "runtime-id": "8cdcd63044614b5f8589a133658d9107", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 97295.0 + "process_id": 58023.0 }, - "duration": 13055333, - "start": 1771939454690520007 + "duration": 1123542, + "start": 1777572943899204096 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-mysvc].json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-mysvc].json index 07a0d82a85a..dcd22454da3 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-mysvc].json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_schematized_span_service_and_operation[v1-mysvc].json @@ -10,7 +10,9 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699da67500000000", + "_dd.p.tid": "69f39c6600000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -21,8 +23,8 @@ "language": "python", "messaging.destination.name": "test_schematized_span_service_and_operation_v1-mysvc", "messaging.system": "kafka", - "pathway.hash": "12201051245756751887", - "runtime-id": "2faae30096c9488f870e288abba24d05", + "pathway.hash": "14565287921856581877", + "runtime-id": "b4b04107d8804700b2a6a558bdba0110", "span.kind": "consumer" }, "metrics": { @@ -32,10 +34,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 97196.0 + "process_id": 58159.0 }, - "duration": 3864667294, - "start": 1771939442034811834 + "duration": 3762155126, + "start": 1777572963075498508 }], [ { @@ -49,8 +51,10 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "699da67100000000", + "_dd.p.tid": "69f39c6200000000", "_dd.peer.service.source": "messaging.kafka.bootstrap.servers", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "test_key", @@ -60,9 +64,9 @@ "messaging.destination.name": "test_schematized_span_service_and_operation_v1-mysvc", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "2249660144631347634", + "pathway.hash": "3585422272587124323", "peer.service": "127.0.0.1:29092", - "runtime-id": "2faae30096c9488f870e288abba24d05", + "runtime-id": "b4b04107d8804700b2a6a558bdba0110", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 97196.0 + "process_id": 58159.0 }, - "duration": 14899417, - "start": 1771939441803777751 + "duration": 1107084, + "start": 1777572962899984424 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json index b34b69fbf63..a24ad299156 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "69de789b00000000", + "_dd.p.tid": "69f39c3f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", @@ -23,8 +23,8 @@ "language": "python", "messaging.destination.name": "test_service_override_config", "messaging.system": "kafka", - "pathway.hash": "6966110732586201292", - "runtime-id": "63d79c760909410187a6bb93c31a9bf4", + "pathway.hash": "237461139886647749", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "consumer" }, "metrics": { @@ -34,10 +34,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": 1.0, "kafka.partition": 0.0, - "process_id": 36820.0 + "process_id": 57348.0 }, - "duration": 2849196751, - "start": 1776187544735323259 + "duration": 3386818585, + "start": 1777572924514190920 }], [ { @@ -52,7 +52,7 @@ "meta": { "_dd.base_service": "tests.contrib.kafka", "_dd.p.dm": "-0", - "_dd.p.tid": "69de789800000000", + "_dd.p.tid": "69f39c3c00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.kafka", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", @@ -63,8 +63,8 @@ "messaging.destination.name": "test_service_override_config", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "443645483726763069", - "runtime-id": "63d79c760909410187a6bb93c31a9bf4", + "pathway.hash": "3343991779413584102", + "runtime-id": "9ddbe7ec5ecc4f83b9884fc7972a123b", "span.kind": "producer" }, "metrics": { @@ -73,8 +73,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 36820.0 + "process_id": 57348.0 }, - "duration": 1988125, - "start": 1776187544481475509 + "duration": 1031375, + "start": 1777572924511717004 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json index ca9dac5e296..2b41427787b 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka.test_service_override_env_var.json @@ -11,7 +11,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de789f00000000", + "_dd.p.tid": "69f39c3500000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", @@ -24,7 +24,7 @@ "messaging.destination.name": "test_service_override_env_var", "messaging.system": "kafka", "pathway.hash": "129630962231005456", - "runtime-id": "544c6700735a4002b96c60bc06898c32", + "runtime-id": "5f93fc3bbdf64c1ead57d153209a68d7", "span.kind": "consumer" }, "metrics": { @@ -32,12 +32,12 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "kafka.message_offset": 1.0, + "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 36852.0 + "process_id": 57826.0 }, - "duration": 3444094835, - "start": 1776187548531880552 + "duration": 3355045654, + "start": 1777572914358139180 }], [ { @@ -52,7 +52,7 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69de789c00000000", + "_dd.p.tid": "69f39c3200000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", @@ -64,7 +64,7 @@ "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", "pathway.hash": "14722941679670948566", - "runtime-id": "544c6700735a4002b96c60bc06898c32", + "runtime-id": "5f93fc3bbdf64c1ead57d153209a68d7", "span.kind": "producer" }, "metrics": { @@ -73,8 +73,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 36852.0 + "process_id": 57826.0 }, - "duration": 1175375, - "start": 1776187548317794469 + "duration": 1323708, + "start": 1777572914102800680 }]] diff --git a/tests/snapshots/tests.contrib.kafka.test_kafka_dsm.test_data_streams_kafka_enabled.json b/tests/snapshots/tests.contrib.kafka.test_kafka_dsm.test_data_streams_kafka_enabled.json index 5ca7a0fa5ea..5fc9a92e23d 100644 --- a/tests/snapshots/tests.contrib.kafka.test_kafka_dsm.test_data_streams_kafka_enabled.json +++ b/tests/snapshots/tests.contrib.kafka.test_kafka_dsm.test_data_streams_kafka_enabled.json @@ -11,7 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da61100000000", + "_dd.p.tid": "69f39c1a00000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvi9la2pb,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.group_id": "test_group", @@ -22,8 +24,8 @@ "language": "python", "messaging.destination.name": "test_data_streams_kafka_enabled", "messaging.system": "kafka", - "pathway.hash": "7492890536049072272", - "runtime-id": "e348fd7bb5154bc38535c5aa21c1d115", + "pathway.hash": "2704734213137064649", + "runtime-id": "a71f0a43983247cba307cb76dc5ca942", "span.kind": "consumer" }, "metrics": { @@ -33,10 +35,10 @@ "_sampling_priority_v1": 1.0, "kafka.message_offset": -1.0, "kafka.partition": 0.0, - "process_id": 96571.0 + "process_id": 57647.0 }, - "duration": 3311374585, - "start": 1771939342974818303 + "duration": 3412715294, + "start": 1777572887884124500 }], [ { @@ -51,7 +53,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "699da60e00000000", + "_dd.p.tid": "69f39c1700000000", + "_dd.svc_src": "kafka", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvi9la2pb,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "kafka", "kafka.cluster_id": "5L6g3nShT-eMCtK--X86sw", "kafka.message_key": "", @@ -61,8 +65,8 @@ "messaging.destination.name": "test_data_streams_kafka_enabled", "messaging.kafka.bootstrap.servers": "127.0.0.1:29092", "messaging.system": "kafka", - "pathway.hash": "17782613529472337329", - "runtime-id": "e348fd7bb5154bc38535c5aa21c1d115", + "pathway.hash": "13777928251140655656", + "runtime-id": "a71f0a43983247cba307cb76dc5ca942", "span.kind": "producer" }, "metrics": { @@ -71,8 +75,8 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, "kafka.partition": -1.0, - "process_id": 96571.0 + "process_id": 57647.0 }, - "duration": 10212292, - "start": 1771939342453914677 + "duration": 1644792, + "start": 1777572887375850875 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json index 398e6f9bf24..673429a9830 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_background_task.json @@ -10,20 +10,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de489300000000", - "_dd.span_links": "[{\"trace_id\": \"69de489100000000c8bf589d76690f34\", \"span_id\": \"3d60173af9c958c9\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69f39dad00000000", + "_dd.span_links": "[{\"trace_id\": \"69f39dab0000000058959e2dacfd8cf5\", \"span_id\": \"949c8efa6e598369\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "language": "python", - "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58" + "runtime-id": "2f79ea6ea68448f1b22308548d8ef943" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 67497.0 + "process_id": 61786.0 }, - "duration": 2004913793, - "start": 1776175251035899797 + "duration": 2005409751, + "start": 1777573293701016091 }], [ { @@ -37,20 +37,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69de489100000000", - "_dd.span_links": "[{\"trace_id\": \"69de489100000000c8bf589d76690f34\", \"span_id\": \"3d60173af9c958c9\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", + "_dd.p.tid": "69f39dab00000000", + "_dd.span_links": "[{\"trace_id\": \"69f39dab0000000058959e2dacfd8cf5\", \"span_id\": \"949c8efa6e598369\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "language": "python", - "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58" + "runtime-id": "2f79ea6ea68448f1b22308548d8ef943" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 67497.0 + "process_id": 61786.0 }, - "duration": 2004535209, - "start": 1776175249030439963 + "duration": 2008022001, + "start": 1777573291692152507 }], [ { @@ -65,7 +65,8 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "69de489100000000", + "_dd.p.tid": "69f39dab00000000", + "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -75,15 +76,15 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", + "runtime-id": "2f79ea6ea68448f1b22308548d8ef943", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 67497.0 + "process_id": 61786.0 }, - "duration": 381500, - "start": 1776175249029905796 + "duration": 480125, + "start": 1777573291691482299 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json index ea976053c43..c4f23bd4fd0 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_call_snapshot.json @@ -11,7 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "69de489e00000000", + "_dd.p.tid": "69f39da200000000", + "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", + "runtime-id": "2f79ea6ea68448f1b22308548d8ef943", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 67497.0 + "process_id": 61786.0 }, - "duration": 619250, - "start": 1776175262688470136 + "duration": 753750, + "start": 1777573282238453586 }, { "name": "starlette.request", @@ -44,6 +45,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", + "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", @@ -52,6 +54,6 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 302083, - "start": 1776175262688808970 + "duration": 395542, + "start": 1777573282238833294 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json index 790d2578d72..7019625e491 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_nested_snapshot.json @@ -11,7 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "69de488d00000000", + "_dd.p.tid": "69f39da800000000", + "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", + "runtime-id": "2f79ea6ea68448f1b22308548d8ef943", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 67497.0 + "process_id": 61786.0 }, - "duration": 947084, - "start": 1776175245077479336 + "duration": 1044875, + "start": 1777573288300908297 }, { "name": "starlette.request", @@ -44,6 +45,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", + "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", @@ -52,8 +54,8 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 590542, - "start": 1776175245077861836 + "duration": 642250, + "start": 1777573288301334839 }, { "name": "starlette.request", @@ -66,6 +68,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", + "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", @@ -74,6 +77,6 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 344041, - "start": 1776175245078122920 + "duration": 308583, + "start": 1777573288301681589 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json index d9e18c6b01a..7e64e103313 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_snapshot.json @@ -11,7 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "69de489c00000000", + "_dd.p.tid": "69f39d9e00000000", + "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", + "runtime-id": "2f79ea6ea68448f1b22308548d8ef943", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 67497.0 + "process_id": 61786.0 }, - "duration": 752125, - "start": 1776175260330082760 + "duration": 1065167, + "start": 1777573278461465167 }, { "name": "starlette.request", @@ -44,6 +45,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", + "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", @@ -52,6 +54,6 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 379875, - "start": 1776175260330476927 + "duration": 443625, + "start": 1777573278462106209 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json index 107a63d6726..8b847c0c2ca 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_subapp_two_snapshot.json @@ -11,7 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "69de488f00000000", + "_dd.p.tid": "69f39daf00000000", + "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", + "runtime-id": "2f79ea6ea68448f1b22308548d8ef943", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 67497.0 + "process_id": 61786.0 }, - "duration": 761167, - "start": 1776175247785487004 + "duration": 784625, + "start": 1777573295941129926 }, { "name": "starlette.request", @@ -44,6 +45,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", + "_dd.svc_src": "starlette", "component": "starlette", "http.method": "GET", "http.status_code": "200", @@ -52,6 +54,6 @@ "http.version": "1.1", "span.kind": "server" }, - "duration": 349208, - "start": 1776175247785926671 + "duration": 314042, + "start": 1777573295941633134 }]] diff --git a/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json b/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json index 0af92286218..abcca2ebee6 100644 --- a/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json +++ b/tests/snapshots/tests.contrib.starlette.test_starlette.test_table_query_snapshot.json @@ -11,7 +11,8 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "69de488d00000000", + "_dd.p.tid": "69f39d9e00000000", + "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "POST", @@ -21,17 +22,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", + "runtime-id": "2f79ea6ea68448f1b22308548d8ef943", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 67497.0 + "process_id": 61786.0 }, - "duration": 3206042, - "start": 1776175245049167253 + "duration": 5546500, + "start": 1777573278569355126 }, { "name": "sqlite.query", @@ -44,6 +45,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", + "_dd.svc_src": "starlette", "component": "sqlalchemy", "span.kind": "client", "sql.db": "test.db" @@ -53,8 +55,8 @@ "_dd.top_level": 1.0, "db.row_count": 1.0 }, - "duration": 748792, - "start": 1776175245050531211 + "duration": 1978708, + "start": 1777573278571434459 }], [ { @@ -69,7 +71,8 @@ "meta": { "_dd.base_service": "tests.contrib.starlette", "_dd.p.dm": "-0", - "_dd.p.tid": "69de488d00000000", + "_dd.p.tid": "69f39d9e00000000", + "_dd.svc_src": "starlette", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.starlette", "component": "starlette", "http.method": "GET", @@ -79,17 +82,17 @@ "http.useragent": "testclient", "http.version": "1.1", "language": "python", - "runtime-id": "9eac92ecb9a14bb6b604bc96c8646a58", + "runtime-id": "2f79ea6ea68448f1b22308548d8ef943", "span.kind": "server" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 67497.0 + "process_id": 61786.0 }, - "duration": 939958, - "start": 1776175245054021170 + "duration": 1128166, + "start": 1777573278575921876 }, { "name": "sqlite.query", @@ -102,6 +105,7 @@ "error": 0, "meta": { "_dd.base_service": "tests.contrib.starlette", + "_dd.svc_src": "starlette", "component": "sqlalchemy", "span.kind": "client", "sql.db": "test.db" @@ -110,6 +114,6 @@ "_dd.measured": 1.0, "_dd.top_level": 1.0 }, - "duration": 214291, - "start": 1776175245054494420 + "duration": 272292, + "start": 1777573278576481084 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json index 0457b577373..a83e3da4717 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_aggregator_partial_flush_finished_counter_out_of_sync.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22bf000000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpctvmy0es,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39e0500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp8yaqb7f0,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "000cbc5f1b024c6fb87c399455f6de76" + "runtime-id": "822772acf33648f0a3fe84334a3dadb4" }, "metrics": { "_dd.py.partial_flush": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1260.0 + "process_id": 62868.0 }, "duration": 1, - "start": 1777478640218715966 + "start": 1777573381950782507 }, { "name": "span2", @@ -33,6 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 16792, - "start": 1777478640218755258 + "duration": 17083, + "start": 1777573381950845549 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json index 6521576e413..8ede0d415c1 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.4].json @@ -10,18 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22bec00000000", + "_dd.p.tid": "69f39e0000000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 37584, - "start": 1777478636997054631 + "duration": 40958, + "start": 1777573376865251088 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json index 51b5a77aca5..9d553b560bd 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_string_attributes[v0.5].json @@ -10,18 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22bee00000000", + "_dd.p.tid": "69f39e0500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 31541, - "start": 1777478638772336716 + "duration": 42333, + "start": 1777573381978247257 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json index 9ae81502aeb..0b736a75b9c 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.4].json @@ -10,18 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22bed00000000", + "_dd.p.tid": "69f39e0700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e", + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db", "\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5...": "\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 38542, - "start": 1777478637465650840 + "duration": 42625, + "start": 1777573383570225300 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json index 5ece1944154..5fdb6673c0c 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_encode_span_with_large_unicode_string_attributes[v0.5].json @@ -10,18 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22bf000000000", + "_dd.p.tid": "69f39e0000000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e", + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db", "\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5\u00e5...": "\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4\u00e4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 33375, - "start": 1777478640053376050 + "duration": 47625, + "start": 1777573376853111046 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json index 20b59e71052..8399294b612 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_env_vars.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22be900000000", + "_dd.p.tid": "69f39e0500000000", "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:test,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "env": "prod", "language": "python", - "runtime-id": "8bc16dd8dcd34752995186e974b6f32e", + "runtime-id": "f2c162d59576427e835cdedd1202bf1a", "version": "1234" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1095.0 + "process_id": 62849.0 }, - "duration": 36208, - "start": 1777478633864982755 + "duration": 52292, + "start": 1777573381295880340 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json index 2010789a4ca..975788dff85 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_flush_spans_before_writer_recreate.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22bee00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvgnqq603,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39e0700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp834wcaod,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "4b3c82fb6d9a4300afc11ffa2d1619c6" + "runtime-id": "84fa8bf6dc9947cea1ef028fdb908ec8" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1224.0 + "process_id": 62891.0 }, - "duration": 2447083, - "start": 1777478638952059674 + "duration": 2398375, + "start": 1777573383011359383 }], [ { @@ -37,17 +37,18 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22bee00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpvgnqq603,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39e0700000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp834wcaod,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "4b3c82fb6d9a4300afc11ffa2d1619c6" + "runtime-id": "84fa8bf6dc9947cea1ef028fdb908ec8" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1224.0 + "process_id": 62891.0 }, - "duration": 38417, - "start": 1777478638951788007 + "duration": 53083, + "start": 1777573383011056716 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json index 322d819d693..1585ae6a918 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.4].json @@ -11,12 +11,13 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22be800000000", + "_dd.p.tid": "69f39e0000000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "env": "my-env", "language": "python", "number3": "1", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db" }, "metrics": { "_dd.top_level": 1.0, @@ -24,8 +25,8 @@ "_sampling_priority_v1": 1.0, "number1": 123.0, "number2": 12.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 33375, - "start": 1777478632286764296 + "duration": 36292, + "start": 1777573376876585213 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json index 7a011e8bdc1..deaa8318acb 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_setting_span_tags_and_metrics_generates_no_error_logs[v0.5].json @@ -11,12 +11,13 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22bed00000000", + "_dd.p.tid": "69f39e0500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "env": "my-env", "language": "python", "number3": "1", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db" }, "metrics": { "_dd.top_level": 1.0, @@ -24,8 +25,8 @@ "_sampling_priority_v1": 1.0, "number1": 123.0, "number2": 12.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 22708, - "start": 1777478637009226840 + "duration": 35000, + "start": 1777573381339275965 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json index fefcfbe0a78..b903d11ac83 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_nostats.json @@ -9,19 +9,20 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "test_signal_shutdown_flushes_t2", + "_dd.base_service": "test_signal_shutdown_flushes_t0", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22bea00000000", - "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t2,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t2", + "_dd.p.tid": "69f39e0000000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t0,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t0", "language": "python", - "runtime-id": "ae3973bd5f9246dfb6d825f2108f3d59" + "runtime-id": "f36c3ff245bf4c4780d1a2e6ac193c45" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1108.0 + "process_id": 62741.0 }, - "duration": 43541, - "start": 1777478634328627922 + "duration": 62959, + "start": 1777573376585702921 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json index f8d535c598d..91f4adf09de 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats.json @@ -9,19 +9,20 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "test_signal_shutdown_flushes_t0", + "_dd.base_service": "test_signal_shutdown_flushes_t1", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22be800000000", - "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t0,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t0", + "_dd.p.tid": "69f39e0100000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:test_signal_shutdown_flushes_t1,entrypoint.name:test_signal_shutdown,entrypoint.type:script,entrypoint.workdir:project,svc.auto:test_signal_shutdown_flushes_t1", "language": "python", - "runtime-id": "df2e85f9565343669db9a6ba02240ce3" + "runtime-id": "7d895f3e2b4c42388b198e2d9e990a7e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 1074.0 + "process_id": 62760.0 }, - "duration": 36333, - "start": 1777478632693857171 + "duration": 48833, + "start": 1777573377315564005 }]] diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json index 27a8eb2e38e..ce0d69dde23 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_signal_shutdown_flushes_traces_stats_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 36333, + "Duration": 48833, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json index 4dd1e8a09b5..9bdf72c6cdf 100644 --- a/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json +++ b/tests/snapshots/tests.integration.test_integration_snapshots.test_tracetagsprocessor_only_adds_new_tags.json @@ -9,17 +9,17 @@ "type": "", "error": 0, "meta": { - "_dd.p.tid": "69f22bf000000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpb0vl2_nl,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39e0400000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpyr2c80w,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "dd71926973764f258b6595342398315c" + "runtime-id": "90c3e4f5e1a644eb92fbb36de5c4fbc9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 1250.0 + "process_id": 62825.0 }, - "duration": 38542, - "start": 1777478640012291341 + "duration": 70292, + "start": 1777573380113367673 }]] diff --git a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json index adbde96c321..78babf4e26b 100644 --- a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json +++ b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_keep.json @@ -12,20 +12,21 @@ "_dd.base_service": "tests.integration", "_dd.p.dm": "-1", "_dd.p.ksr": "0.9999", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e0e00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db" }, "metrics": { "_dd.agent_psr": 0.9999, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 20042, - "start": 1777478549948604966 + "duration": 31958, + "start": 1777573390201258928 }], [ { @@ -39,17 +40,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e0e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 53125, - "start": 1777478549947630425 + "duration": 34250, + "start": 1777573390198212761 }]] diff --git a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json index fb1d495d37a..2d7c510f7a2 100644 --- a/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json +++ b/tests/snapshots/tests.integration.test_priority_sampling.test_agent_sample_rate_reject.json @@ -12,20 +12,21 @@ "_dd.base_service": "tests.integration", "_dd.p.dm": "-1", "_dd.p.ksr": "0.0001", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e0e00000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db" }, "metrics": { "_dd.agent_psr": 0.0001, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 0.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 15167, - "start": 1777478549956372383 + "duration": 14292, + "start": 1777573390214418886 }], [ { @@ -39,17 +40,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e0e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "1452b6e5fb9740ada4501bd2d08657db" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 62479.0 }, - "duration": 22541, - "start": 1777478549955622050 + "duration": 28958, + "start": 1777573390211216053 }]] diff --git a/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json b/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json index 0c0541c158b..f12aba1693a 100644 --- a/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json +++ b/tests/snapshots/tests.integration.test_propagation.test_sampling_decision_downstream.json @@ -11,16 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-4", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 43208, - "start": 1777478550282172550 + "duration": 32417, + "start": 1777573549257352251 }]] diff --git a/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan.json b/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan.json deleted file mode 100644 index 000f5f143c7..00000000000 --- a/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan.json +++ /dev/null @@ -1,70 +0,0 @@ -[[ - { - "name": "p", - "service": "tests.integration", - "resource": "p", - "trace_id": 0, - "span_id": 1, - "parent_id": 5678, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-1", - "_dd.p.test": "value", - "language": "python", - "runtime-id": "65e7346cd27a4fcbb1a2ccb98722fed3" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 4531 - }, - "duration": 48000, - "start": 1735013581776627000 - }, - { - "name": "c1", - "service": "tests.integration", - "resource": "c1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 5000, - "start": 1735013581776649000 - }, - { - "name": "c2", - "service": "tests.integration", - "resource": "c2", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 7000, - "start": 1735013581776662000 - }, - { - "name": "gc", - "service": "tests.integration", - "resource": "gc", - "trace_id": 0, - "span_id": 4, - "parent_id": 3, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 11000, - "start": 1735013581776667000 - }]] diff --git a/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer0].json b/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer0].json deleted file mode 100644 index 562690cecef..00000000000 --- a/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer0].json +++ /dev/null @@ -1,70 +0,0 @@ -[[ - { - "name": "p", - "service": "tests.integration", - "resource": "p", - "trace_id": 0, - "span_id": 1, - "parent_id": 5678, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-1", - "_dd.p.test": "value", - "language": "python", - "runtime-id": "d5f3e666fe79454c90ec7063f44787b5" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19794 - }, - "duration": 83185, - "start": 1691163616687768871 - }, - { - "name": "c1", - "service": "tests.integration", - "resource": "c1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 7110, - "start": 1691163616687802583 - }, - { - "name": "c2", - "service": "tests.integration", - "resource": "c2", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 12769, - "start": 1691163616687823723 - }, - { - "name": "gc", - "service": "tests.integration", - "resource": "gc", - "trace_id": 0, - "span_id": 4, - "parent_id": 3, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 27920, - "start": 1691163616687831626 - }]] diff --git a/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer1].json b/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer1].json deleted file mode 100644 index 7aab49428ec..00000000000 --- a/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer1].json +++ /dev/null @@ -1,70 +0,0 @@ -[[ - { - "name": "p", - "service": "tests.integration", - "resource": "p", - "trace_id": 0, - "span_id": 1, - "parent_id": 5678, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-1", - "_dd.p.test": "value", - "language": "python", - "runtime-id": "d5f3e666fe79454c90ec7063f44787b5" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19794 - }, - "duration": 289408, - "start": 1691163616693806136 - }, - { - "name": "c1", - "service": "tests.integration", - "resource": "c1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 8128, - "start": 1691163616694049249 - }, - { - "name": "c2", - "service": "tests.integration", - "resource": "c2", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 12163, - "start": 1691163616694069534 - }, - { - "name": "gc", - "service": "tests.integration", - "resource": "gc", - "trace_id": 0, - "span_id": 4, - "parent_id": 3, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 24996, - "start": 1691163616694076915 - }]] diff --git a/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer2].json b/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer2].json deleted file mode 100644 index 43e3251e6e8..00000000000 --- a/tests/snapshots/tests.integration.test_propagation.test_trace_tags_multispan[tracer2].json +++ /dev/null @@ -1,78 +0,0 @@ -[[ - { - "name": "p", - "service": "tests.integration", - "resource": "p", - "trace_id": 0, - "span_id": 1, - "parent_id": 5678, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-1", - "_dd.p.test": "value", - "language": "python", - "runtime-id": "d5f3e666fe79454c90ec7063f44787b5" - }, - "metrics": { - "_dd.py.partial_flush": 2, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 19794 - }, - "duration": 1132791, - "start": 1691163616699650821 - }, - { - "name": "c1", - "service": "tests.integration", - "resource": "c1", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-1", - "_dd.p.test": "value", - "language": "python" - }, - "metrics": { - "_dd.py.partial_flush": 2, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1 - }, - "duration": 7343, - "start": 1691163616699671939 - }, - { - "name": "c2", - "service": "tests.integration", - "resource": "c2", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 12079, - "start": 1691163616699690778 - }, - { - "name": "gc", - "service": "tests.integration", - "resource": "gc", - "trace_id": 0, - "span_id": 4, - "parent_id": 3, - "type": "", - "error": 0, - "meta": { - "_dd.p.test": "value" - }, - "duration": 1098846, - "start": 1691163616699697962 - }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json index 096ec4b5fac..0d05a958eb2 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_do_not_match.json @@ -10,18 +10,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpkap9kksj,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfc00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp200ytclz,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "3f7ce199022749eab26b3577e074f735" + "runtime-id": "66c286ac68ac4b1ba46a1c05c1d4d32c" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 633.0, + "process_id": 62655.0, "tag": 20.1 }, - "duration": 44666, - "start": 1777478550452201925 + "duration": 67916, + "start": 1777573372856132503 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json index 124d238a975..ae1de451d26 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_float_special_case_match_star.json @@ -11,21 +11,21 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_p2rvd06,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmplggy3frx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "42e389cea6314a1db6ce8b47dcfd8b83" + "runtime-id": "a5d9cb5449ae459aa1d4a3afcbc09fb3" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 803.0, + "process_id": 62551.0, "tag": 20.1 }, - "duration": 40292, - "start": 1777478556954470136 + "duration": 55209, + "start": 1777573367992202625 }], [ { @@ -40,21 +40,21 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_p2rvd06,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmplggy3frx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "42e389cea6314a1db6ce8b47dcfd8b83" + "runtime-id": "a5d9cb5449ae459aa1d4a3afcbc09fb3" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 803.0, + "process_id": 62551.0, "tag2": 22.2 }, - "duration": 21375, - "start": 1777478556954797761 + "duration": 25541, + "start": 1777573367992580959 }], [ { @@ -69,19 +69,19 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp_p2rvd06,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmplggy3frx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "42e389cea6314a1db6ce8b47dcfd8b83" + "runtime-id": "a5d9cb5449ae459aa1d4a3afcbc09fb3" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 803.0, + "process_id": 62551.0, "tag3": 3333333.33333 }, - "duration": 10042, - "start": 1777478556954890636 + "duration": 10167, + "start": 1777573367992678750 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json index d58a7eebbdb..545cc9f1fbc 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_glob_multi_rule.json @@ -12,10 +12,11 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-3", "_dd.p.ksr": "1", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp1of6q_cc,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df800000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp53vilcdt,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "db03534176df4ddabf4b9c95b052512c", + "runtime-id": "c282bcb54f454080bca0fa6f988fc0d2", "test": "tag" }, "metrics": { @@ -24,8 +25,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 2.0, - "process_id": 769.0 + "process_id": 62567.0 }, - "duration": 42167, - "start": 1777478556024007927 + "duration": 56209, + "start": 1777573368464887042 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json index 634be596a16..76620ebd49d 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_resource.json @@ -11,20 +11,20 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9900000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0x2prwqg,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmps8coz7r0,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "2ed00ed5ead74a7dbabb95940dad2940" + "runtime-id": "137a1cd967f540feaa0f98b5b7abc0e4" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 697.0 + "process_id": 62493.0 }, - "duration": 39292, - "start": 1777478553229448384 + "duration": 50833, + "start": 1777573365381536097 }], [ { @@ -38,17 +38,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9900000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0x2prwqg,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmps8coz7r0,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "2ed00ed5ead74a7dbabb95940dad2940" + "runtime-id": "137a1cd967f540feaa0f98b5b7abc0e4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 697.0 + "process_id": 62493.0 }, - "duration": 14791, - "start": 1777478553229781093 + "duration": 14750, + "start": 1777573365381882514 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json index e4854948d08..4f38f2343ee 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_string_sample_rate.json @@ -11,18 +11,18 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9900000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3wdwkc6n,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfc00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpbxj91lrv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "04901eff4e7b41eba5765f94275fdf90" + "runtime-id": "b3316b0a15bb4ccf9451ee278119bc84" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 721.0 + "process_id": 62647.0 }, - "duration": 40708, - "start": 1777478553769948343 + "duration": 55042, + "start": 1777573372643539669 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json index 9ad83c2f080..3d2657f3358 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags.json @@ -11,10 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmprd7a3o2,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df800000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3l966snu,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "bbff19a05d8c4fbcb8904563f868d8f8", + "runtime-id": "228c27c1810f404a94f55d6b866b10b4", "tag1": "mycooltag" }, "metrics": { @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 777.0 + "process_id": 62575.0 }, - "duration": 44458, - "start": 1777478556263817803 + "duration": 48583, + "start": 1777573368719563501 }], [ { @@ -39,18 +39,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmprd7a3o2,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df800000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3l966snu,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "bbff19a05d8c4fbcb8904563f868d8f8" + "runtime-id": "228c27c1810f404a94f55d6b866b10b4" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 777.0 + "process_id": 62575.0 }, - "duration": 21417, - "start": 1777478556264155636 + "duration": 18167, + "start": 1777573368719908542 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json index dad573a77ea..f8a4b5ee2df 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_name_glob.json @@ -11,10 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9a00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yw8aq5b,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpzpjit_gv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "c0baf902c92542b4809d7ff3d3973259", + "runtime-id": "84f4a3399231454d86cacd32a38e73ac", "tag1": "mycooltag" }, "metrics": { @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 729.0 + "process_id": 62485.0 }, - "duration": 41292, - "start": 1777478554028891593 + "duration": 57792, + "start": 1777573365119806013 }], [ { @@ -39,20 +39,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9a00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yw8aq5b,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpzpjit_gv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "c0baf902c92542b4809d7ff3d3973259", + "runtime-id": "84f4a3399231454d86cacd32a38e73ac", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 729.0 + "process_id": 62485.0 }, - "duration": 25667, - "start": 1777478554029262218 + "duration": 17875, + "start": 1777573365120154388 }], [ { @@ -66,20 +66,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9a00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yw8aq5b,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpzpjit_gv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "c0baf902c92542b4809d7ff3d3973259" + "runtime-id": "84f4a3399231454d86cacd32a38e73ac" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 729.0 + "process_id": 62485.0 }, - "duration": 11667, - "start": 1777478554029354593 + "duration": 8875, + "start": 1777573365120225722 }], [ { @@ -93,18 +93,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9a00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yw8aq5b,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpzpjit_gv,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "c0baf902c92542b4809d7ff3d3973259" + "runtime-id": "84f4a3399231454d86cacd32a38e73ac" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 729.0 + "process_id": 62485.0 }, - "duration": 6417, - "start": 1777478554029397968 + "duration": 6291, + "start": 1777573365120265972 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json index 0ff7ffa6300..e3d2cc5e128 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource.json @@ -11,10 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9600000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuva8_0fx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfd00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuamy94j8,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "d9508362013e4e1d9cebad5093e58e93", + "runtime-id": "07c6d89a9c1d4acd8f347494823e1fd6", "tag1": "mycooltag" }, "metrics": { @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 649.0 + "process_id": 62663.0 }, - "duration": 45833, - "start": 1777478550942694425 + "duration": 49541, + "start": 1777573373122055295 }], [ { @@ -39,20 +39,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuva8_0fx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfd00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuamy94j8,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "d9508362013e4e1d9cebad5093e58e93", + "runtime-id": "07c6d89a9c1d4acd8f347494823e1fd6", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 649.0 + "process_id": 62663.0 }, - "duration": 16667, - "start": 1777478550943016425 + "duration": 26208, + "start": 1777573373122498128 }], [ { @@ -66,20 +66,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuva8_0fx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfd00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuamy94j8,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "d9508362013e4e1d9cebad5093e58e93" + "runtime-id": "07c6d89a9c1d4acd8f347494823e1fd6" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 649.0 + "process_id": 62663.0 }, - "duration": 8666, - "start": 1777478550943083717 + "duration": 8958, + "start": 1777573373122593920 }], [ { @@ -93,18 +93,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuva8_0fx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfd00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpuamy94j8,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "d9508362013e4e1d9cebad5093e58e93" + "runtime-id": "07c6d89a9c1d4acd8f347494823e1fd6" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 649.0 + "process_id": 62663.0 }, - "duration": 6458, - "start": 1777478550943124092 + "duration": 6625, + "start": 1777573373122635086 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json index b3ce6bc4a9e..deb6714740c 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_resource_glob.json @@ -11,10 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9b00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmppwwptlac,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfc00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpjoqsoq2p,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "0437ebe2c442407e909762c6308974aa", + "runtime-id": "b9868696b2dd4d3f8fc5d5921eccf8b2", "tag1": "mycooltag" }, "metrics": { @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 761.0 + "process_id": 62639.0 }, - "duration": 40667, - "start": 1777478555837357469 + "duration": 50167, + "start": 1777573372424132711 }], [ { @@ -39,20 +39,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9b00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmppwwptlac,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfc00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpjoqsoq2p,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "0437ebe2c442407e909762c6308974aa", + "runtime-id": "b9868696b2dd4d3f8fc5d5921eccf8b2", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 761.0 + "process_id": 62639.0 }, "duration": 17833, - "start": 1777478555837696261 + "start": 1777573372424486128 }], [ { @@ -66,20 +66,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9b00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmppwwptlac,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfc00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpjoqsoq2p,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "0437ebe2c442407e909762c6308974aa" + "runtime-id": "b9868696b2dd4d3f8fc5d5921eccf8b2" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 761.0 + "process_id": 62639.0 }, - "duration": 8833, - "start": 1777478555837769719 + "duration": 9083, + "start": 1777573372424558378 }], [ { @@ -93,18 +93,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9b00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmppwwptlac,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfc00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpjoqsoq2p,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "0437ebe2c442407e909762c6308974aa" + "runtime-id": "b9868696b2dd4d3f8fc5d5921eccf8b2" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 761.0 + "process_id": 62639.0 }, - "duration": 6583, - "start": 1777478555837813261 + "duration": 6625, + "start": 1777573372424600044 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json index 23aa66633c6..4fd18cf1517 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_and_service_glob.json @@ -12,10 +12,11 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9700000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4jkz8r5f,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfa00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpy2_auq9j,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "a213117350bd481fba14a5eee6fd057e", + "runtime-id": "0577e411bfa74cd79a9abd8817ee551f", "tag1": "mycooltag" }, "metrics": { @@ -23,10 +24,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 673.0 + "process_id": 62607.0 }, - "duration": 48708, - "start": 1777478551619383467 + "duration": 52208, + "start": 1777573370550771752 }], [ { @@ -40,20 +41,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9700000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4jkz8r5f,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfa00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpy2_auq9j,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "a213117350bd481fba14a5eee6fd057e", + "runtime-id": "0577e411bfa74cd79a9abd8817ee551f", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 673.0 + "process_id": 62607.0 }, - "duration": 20250, - "start": 1777478551619727009 + "duration": 29583, + "start": 1777573370551197710 }], [ { @@ -67,20 +68,20 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9700000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4jkz8r5f,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfa00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpy2_auq9j,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "a213117350bd481fba14a5eee6fd057e" + "runtime-id": "0577e411bfa74cd79a9abd8817ee551f" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 673.0 + "process_id": 62607.0 }, - "duration": 9000, - "start": 1777478551619802925 + "duration": 8875, + "start": 1777573370551301293 }], [ { @@ -95,18 +96,19 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9700000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp4jkz8r5f,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfa00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpy2_auq9j,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "banana": "True", "language": "python", - "runtime-id": "a213117350bd481fba14a5eee6fd057e" + "runtime-id": "0577e411bfa74cd79a9abd8817ee551f" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 673.0 + "process_id": 62607.0 }, - "duration": 6667, - "start": 1777478551619843925 + "duration": 6916, + "start": 1777573370551342877 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json index 26f54e8acd6..6b3a55cab1e 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob.json @@ -11,10 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2y9l685y,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df800000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpnwp8i5ny,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "58070943b1334901a973a1d4b35ff377", + "runtime-id": "6625190dbeee44dc92e07cb7c3690016", "tag1": "mycooltag" }, "metrics": { @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 795.0 + "process_id": 62559.0 }, - "duration": 40292, - "start": 1777478556769769886 + "duration": 47292, + "start": 1777573368241539709 }], [ { @@ -39,18 +39,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2y9l685y,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df800000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpnwp8i5ny,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "58070943b1334901a973a1d4b35ff377", + "runtime-id": "6625190dbeee44dc92e07cb7c3690016", "tag1": "mcooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 795.0 + "process_id": 62559.0 }, - "duration": 17458, - "start": 1777478556770088136 + "duration": 16041, + "start": 1777573368241881376 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json index 1cd05df411b..0cb8a6fdfb5 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_glob_insensitive_case_match.json @@ -11,10 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9600000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpu3056ihi,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmph_6vmvm,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "e652fe9beaa34313bb013708fb4be2ed", + "runtime-id": "62b0036bf3914eb5a7fd4a3606865727", "tag1": "mycooltag" }, "metrics": { @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 641.0 + "process_id": 62501.0 }, - "duration": 44250, - "start": 1777478550691283342 + "duration": 47625, + "start": 1777573365634692222 }], [ { @@ -39,18 +39,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpu3056ihi,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmph_6vmvm,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "e652fe9beaa34313bb013708fb4be2ed", + "runtime-id": "62b0036bf3914eb5a7fd4a3606865727", "tag1": "mycooltag" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 641.0 + "process_id": 62501.0 }, - "duration": 17333, - "start": 1777478550691616717 + "duration": 18208, + "start": 1777573365635026847 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json index f180922cdfa..16bfbe6dc79 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_tags_partial_match.json @@ -11,20 +11,21 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9700000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphlvfwcjn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptmudu0av,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "fec0036f38d04fc88c8e08bc5d390050", + "runtime-id": "1c256ca2f08b4767933a60903ff20633", "tag1": "monkey" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 657.0 + "process_id": 62631.0 }, - "duration": 45458, - "start": 1777478551129618092 + "duration": 49584, + "start": 1777573372143873127 }], [ { @@ -40,10 +41,11 @@ "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9700000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphlvfwcjn,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39dfc00000000", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptmudu0av,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "fec0036f38d04fc88c8e08bc5d390050", + "runtime-id": "1c256ca2f08b4767933a60903ff20633", "tag1": "monkey", "tag2": "banana" }, @@ -52,8 +54,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 657.0 + "process_id": 62631.0 }, - "duration": 23292, - "start": 1777478551129937383 + "duration": 21083, + "start": 1777573372144211836 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None.json deleted file mode 100644 index 2062bbb385b..00000000000 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None.json +++ /dev/null @@ -1,82 +0,0 @@ -[[ - { - "name": "should_send1", - "service": "ddtrace_subprocess_dir", - "resource": "banana", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "65cce0ee00000000", - "language": "python", - "runtime-id": "07be192aacd94df1a67482ebde627263", - "test": "None" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 26424 - }, - "duration": 306277000, - "start": 1707925742969927000 - }], -[ - { - "name": "should_not_send2", - "service": "ddtrace_subprocess_dir", - "resource": "mycoolre$ource", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "0", - "_dd.p.tid": "65cce0ee00000000", - "language": "python", - "runtime-id": "07be192aacd94df1a67482ebde627263", - "test": "None" - }, - "metrics": { - "_dd.rule_psr": 0.0, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 26424 - }, - "duration": 347624000, - "start": 1707925742611318000 - }], -[ - { - "name": "should_not_send", - "service": "ddtrace_subprocess_dir", - "resource": "mycoolre$ource", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "0", - "_dd.p.tid": "65cce0ee00000000", - "language": "python", - "runtime-id": "07be192aacd94df1a67482ebde627263", - "test": "None" - }, - "metrics": { - "_dd.rule_psr": 0.0, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 26424 - }, - "duration": 339420000, - "start": 1707925742260452000 - }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json index 9fbcc835bba..586f42d2992 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_None_meta.json @@ -11,10 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9700000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpwwrqvary,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9g4y5zk0,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1aa74bb0f28a4a13991b3c1dcb9cf3f5", + "runtime-id": "078c07325fba417997a5f3fb38aa84ff", "test": "None" }, "metrics": { @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 665.0 + "process_id": 62543.0 }, - "duration": 44458, - "start": 1777478551370455634 + "duration": 44333, + "start": 1777573367790481834 }], [ { @@ -40,10 +40,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9700000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpwwrqvary,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9g4y5zk0,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1aa74bb0f28a4a13991b3c1dcb9cf3f5", + "runtime-id": "078c07325fba417997a5f3fb38aa84ff", "test": "None" }, "metrics": { @@ -51,10 +51,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 665.0 + "process_id": 62543.0 }, - "duration": 15708, - "start": 1777478551370787592 + "duration": 28583, + "start": 1777573367790919334 }], [ { @@ -68,18 +68,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9700000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpwwrqvary,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9g4y5zk0,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "1aa74bb0f28a4a13991b3c1dcb9cf3f5", + "runtime-id": "078c07325fba417997a5f3fb38aa84ff", "test": "None" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 665.0 + "process_id": 62543.0 }, - "duration": 8375, - "start": 1777478551370856759 + "duration": 9958, + "start": 1777573367791029792 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json index 4fb6f088277..6fa78b6ecf2 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json +++ b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_metrics.json @@ -11,21 +11,21 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3zu9dqbx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcg90lnau,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "7280dfde8a714108916745364fd48805" + "runtime-id": "711dc83469a44ecda93b1ed61a9acb99" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 786.0, + "process_id": 62510.0, "test": 123.0 }, - "duration": 44084, - "start": 1777478556518685219 + "duration": 44833, + "start": 1777573365892300847 }], [ { @@ -40,10 +40,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3zu9dqbx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcg90lnau,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "7280dfde8a714108916745364fd48805", + "runtime-id": "711dc83469a44ecda93b1ed61a9acb99", "test": "123" }, "metrics": { @@ -51,10 +51,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 786.0 + "process_id": 62510.0 }, - "duration": 27084, - "start": 1777478556519067094 + "duration": 18167, + "start": 1777573365892654305 }], [ { @@ -68,18 +68,18 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9c00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp3zu9dqbx,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df500000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpcg90lnau,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "7280dfde8a714108916745364fd48805", + "runtime-id": "711dc83469a44ecda93b1ed61a9acb99", "test": "1234" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 786.0 + "process_id": 62510.0 }, - "duration": 9584, - "start": 1777478556519164844 + "duration": 9542, + "start": 1777573365892728055 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_tags_none.json b/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_tags_none.json deleted file mode 100644 index 7269d81678f..00000000000 --- a/tests/snapshots/tests.integration.test_sampling.test_extended_sampling_w_tags_none.json +++ /dev/null @@ -1,82 +0,0 @@ -[[ - { - "name": "should_send1", - "service": "ddtrace_subprocess_dir", - "resource": "banana", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-0", - "_dd.p.tid": "65cd193b00000000", - "language": "python", - "runtime-id": "1627de339aa344188313503df35b1373", - "test": "send" - }, - "metrics": { - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1, - "process_id": 35899 - }, - "duration": 63000, - "start": 1707940155180702000 - }], -[ - { - "name": "should_not_send2", - "service": "ddtrace_subprocess_dir", - "resource": "mycoolre$ource", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "0", - "_dd.p.tid": "65cd193b00000000", - "language": "python", - "runtime-id": "1627de339aa344188313503df35b1373", - "test": "None" - }, - "metrics": { - "_dd.rule_psr": 0.0, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 35899 - }, - "duration": 56000, - "start": 1707940155179153000 - }], -[ - { - "name": "should_not_send", - "service": "ddtrace_subprocess_dir", - "resource": "mycoolre$ource", - "trace_id": 2, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.p.dm": "-3", - "_dd.p.ksr": "0", - "_dd.p.tid": "65cd193b00000000", - "language": "python", - "runtime-id": "1627de339aa344188313503df35b1373", - "test": "None" - }, - "metrics": { - "_dd.rule_psr": 0.0, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1, - "process_id": 35899 - }, - "duration": 89000, - "start": 1707940155177435000 - }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json index 80aa04bba00..6506d4d021b 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json +++ b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_defaults.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9900000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpf_2jrp74,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp00l4_1to,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "b61238c12d4e4bc6a7edb1054be69311" + "runtime-id": "47896cb04f2c4d1b8eb5469ae16be8ae" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 713.0 + "process_id": 62535.0 }, - "duration": 66208, - "start": 1777478553590509760 + "duration": 96250, + "start": 1777573367533113209 }, { "name": "child", @@ -33,6 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 14625, - "start": 1777478553590551593 + "duration": 17041, + "start": 1777573367533164459 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json index 145c34ea7ff..02442359363 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json +++ b/tests/snapshots/tests.integration.test_sampling.test_sampling_with_rate_limit_3.json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9900000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmphnr46133,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39df800000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9c2gagcl,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "language": "python", - "runtime-id": "4c43f7f072e448ac874e071987041885" + "runtime-id": "2e9aa4d2f9e64470a4dfcf64fb2d91d9" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 705.0 + "process_id": 62583.0 }, - "duration": 66083, - "start": 1777478553414321176 + "duration": 80917, + "start": 1777573368916141626 }, { "name": "child", @@ -33,6 +33,6 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 14792, - "start": 1777478553414361884 + "duration": 19917, + "start": 1777573368916191959 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json index 6de0d286d1a..b5602e2644f 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[false].json @@ -11,20 +11,20 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9800000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp0aqh8_uh,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f39df900000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpxvuj8i8c,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python", - "runtime-id": "2384e9ab855b4df98cb01baaf8bb8997" + "runtime-id": "a4b049e74a4e45189fd855f5e7f7081f" }, "metrics": { "_dd.rule_psr": 0.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 689.0 + "process_id": 62591.0 }, - "duration": 98750, - "start": 1777478552990224051 + "duration": 111417, + "start": 1777573369106392876 }, { "name": "monkey", @@ -39,8 +39,8 @@ "_dd.span_sampling.mechanism": 8.0, "_dd.span_sampling.rule_rate": 1.0 }, - "duration": 38667, - "start": 1777478552990266426 + "duration": 41459, + "start": 1777573369106445834 }, { "name": "human_monkey", @@ -51,8 +51,8 @@ "parent_id": 2, "type": "", "error": 0, - "duration": 10167, - "start": 1777478552990284551 + "duration": 9875, + "start": 1777573369106467168 }, { "name": "donkey_monkey", @@ -63,6 +63,6 @@ "parent_id": 1, "type": "", "error": 0, - "duration": 5917, - "start": 1777478552990313009 + "duration": 5500, + "start": 1777573369106495084 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json index 880bb8f1584..217103c9a3a 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true].json @@ -5,13 +5,13 @@ "resource": "non_root_span", "trace_id": 0, "span_id": 1, - "parent_id": 17739503696764146217, + "parent_id": 13788320320102458254, "type": "", "error": 0, "meta": { "_dd.p.dm": "-3", - "_dd.p.tid": "69f22b9b00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptyyesi0o,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f39dfa00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmptduy7ww3,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python" }, "metrics": { @@ -19,6 +19,6 @@ "_dd.span_sampling.rule_rate": 1.0, "_sampling_priority_v1": -1.0 }, - "duration": 42458, - "start": 1777478555592402886 + "duration": 46792, + "start": 1777573370294390585 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json index 9f9d76caa23..90a54506667 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_non_root_span[true]_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 154209, + "Duration": 189625, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json index 6abd2946d48..7a84c613972 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[false].json @@ -11,10 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9e00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmldhd27g,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f39df700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmimwt3u,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python", - "runtime-id": "c1df6cf7d7fc4fed9c0ee6f06d261fc0" + "runtime-id": "a66fe945e97f4aa08b3c2efa595e9507" }, "metrics": { "_dd.rule_psr": 0.0, @@ -23,10 +23,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 811.0 + "process_id": 62519.0 }, - "duration": 1270500, - "start": 1777478558135543553 + "duration": 544417, + "start": 1777573367101802875 }, { "name": "non_monkey", @@ -39,8 +39,8 @@ "error": 0, "meta": { "_dd.p.dm": "-3", - "_dd.p.tid": "69f22b9e00000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmldhd27g,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f39df700000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpmimwt3u,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python" }, "metrics": { @@ -48,6 +48,6 @@ "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0 }, - "duration": 37750, - "start": 1777478558135801012 + "duration": 20792, + "start": 1777573367101899750 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json index f85dfbb0726..941a10213fa 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true].json @@ -11,10 +11,10 @@ "meta": { "_dd.p.dm": "-3", "_dd.p.ksr": "0", - "_dd.p.tid": "69f22b9800000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp2yvg6r09,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", + "_dd.p.tid": "69f39dfb00000000", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmp9c0gf_w4,entrypoint.type:script,entrypoint.workdir:project,svc.user:true", "language": "python", - "runtime-id": "9f823cfddd73492eb7f6c31143a1be39" + "runtime-id": "c4ee31137f5a4e288af55eab2b018f5c" }, "metrics": { "_dd.rule_psr": 0.0, @@ -23,8 +23,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": -1.0, - "process_id": 681.0 + "process_id": 62623.0 }, - "duration": 972292, - "start": 1777478552810308384 + "duration": 472792, + "start": 1777573371936325127 }]] diff --git a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json index a70e4e441ef..e71cfaa710a 100644 --- a/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json +++ b/tests/snapshots/tests.integration.test_sampling.test_single_span_and_trace_sampling_match_root_span_partial_flushing[true]_tracestats.json @@ -12,7 +12,7 @@ "Synthetics": false, "Hits": 1, "TopLevelHits": 1, - "Duration": 972292, + "Duration": 472792, "Errors": 0, "OkSummary": 37, "ErrorSummary": 24 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json b/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json index 76ead7a5c30..e074d4cdbf1 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_measured_span.json @@ -10,16 +10,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -48,16 +48,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -86,16 +86,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -124,16 +124,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -162,16 +162,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -200,16 +200,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -238,16 +238,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -276,16 +276,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -314,16 +314,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -352,16 +352,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -390,16 +390,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -431,16 +431,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -472,16 +472,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -513,16 +513,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -554,16 +554,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -595,16 +595,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -636,16 +636,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -677,16 +677,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -718,16 +718,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -759,16 +759,16 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json index 9f7bf673205..4ad3793c8b4 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0].json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 26333, - "start": 1777478550200414300 + "duration": 25542, + "start": 1777573445349551342 }], [ { @@ -36,19 +36,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 13459, - "start": 1777478550200649716 + "duration": 13042, + "start": 1777573445349811467 }], [ { @@ -62,19 +62,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 7625, - "start": 1777478550200723091 + "duration": 7084, + "start": 1777573445349883925 }], [ { @@ -88,19 +88,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 6250, - "start": 1777478550200772258 + "duration": 5625, + "start": 1777573445349930009 }], [ { @@ -114,19 +114,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 5458, - "start": 1777478550200813883 + "duration": 5166, + "start": 1777573445349968259 }], [ { @@ -140,19 +140,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 5250, - "start": 1777478550200850800 + "duration": 4875, + "start": 1777573445350003550 }], [ { @@ -166,19 +166,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 4875, - "start": 1777478550200886508 + "duration": 5208, + "start": 1777573445350037384 }], [ { @@ -192,19 +192,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 5125, - "start": 1777478550200921008 + "duration": 5250, + "start": 1777573445350071592 }], [ { @@ -218,19 +218,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 4500, - "start": 1777478550200954508 + "duration": 4792, + "start": 1777573445350107592 }], [ { @@ -244,17 +244,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 4750, - "start": 1777478550200987425 + "duration": 4916, + "start": 1777573445350143259 }]] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json index c342e541e27..b17656fc7d0 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[0.0]_tracestats.json @@ -12,9 +12,9 @@ "Synthetics": false, "Hits": 10, "TopLevelHits": 10, - "Duration": 83625, + "Duration": 81500, "Errors": 0, - "OkSummary": 951, + "OkSummary": 903, "ErrorSummary": 24 } ] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json index 6db313cf624..845ce375957 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0].json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 19250, - "start": 1777478550237867091 + "duration": 28792, + "start": 1777573445077647467 }], [ { @@ -36,19 +36,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 12334, - "start": 1777478550238072341 + "duration": 9292, + "start": 1777573445077850050 }], [ { @@ -62,19 +62,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 6875, - "start": 1777478550238140633 + "duration": 6416, + "start": 1777573445077904134 }], [ { @@ -88,19 +88,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 5375, - "start": 1777478550238186300 + "duration": 5542, + "start": 1777573445077946300 }], [ { @@ -114,19 +114,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 5167, - "start": 1777478550238236966 + "duration": 5375, + "start": 1777573445077985342 }], [ { @@ -140,19 +140,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 4958, - "start": 1777478550238274800 + "duration": 5375, + "start": 1777573445078023217 }], [ { @@ -166,19 +166,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 4792, - "start": 1777478550238310383 + "duration": 4916, + "start": 1777573445078063509 }], [ { @@ -192,19 +192,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 5333, - "start": 1777478550238344675 + "duration": 8000, + "start": 1777573445078097925 }], [ { @@ -218,19 +218,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 4750, - "start": 1777478550238379591 + "duration": 4958, + "start": 1777573445078134967 }], [ { @@ -244,17 +244,17 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, - "duration": 4667, - "start": 1777478550238412758 + "duration": 5208, + "start": 1777573445078169717 }]] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json index 676fbd6ccfa..70266e5e3cb 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_sampling_rate[1.0]_tracestats.json @@ -12,9 +12,9 @@ "Synthetics": false, "Hits": 10, "TopLevelHits": 10, - "Duration": 73501, + "Duration": 83874, "Errors": 0, - "OkSummary": 767, + "OkSummary": 951, "ErrorSummary": 24 } ] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule0].json b/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule0].json deleted file mode 100644 index b9c35e6d695..00000000000 --- a/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule0].json +++ /dev/null @@ -1,24 +0,0 @@ -[[ - { - "name": "child", - "service": "test", - "resource": "child", - "trace_id": 0, - "span_id": 1, - "parent_id": 12295295364514308371, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration", - "_dd.p.dm": "-3", - "_dd.p.tid": "6670641f00000000", - "language": "python" - }, - "metrics": { - "_dd.span_sampling.mechanism": 8, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": -1 - }, - "duration": 10709, - "start": 1718641695790583210 - }]] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule0]_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule0]_tracestats.json deleted file mode 100644 index 4be35065349..00000000000 --- a/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule0]_tracestats.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "Start": 0, - "Duration": 10000000000, - "Stats": [ - { - "Name": "parent", - "Resource": "parent", - "Service": "test", - "Type": "", - "HTTPStatusCode": 0, - "Synthetics": false, - "Hits": 1, - "TopLevelHits": 1, - "Duration": 44916, - "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 - } - ] - } -] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule1].json b/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule1].json deleted file mode 100644 index 259efd0a5c9..00000000000 --- a/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule1].json +++ /dev/null @@ -1,47 +0,0 @@ -[[ - { - "name": "parent", - "service": "test", - "resource": "parent", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration", - "_dd.p.dm": "-3", - "_dd.p.ksr": "1", - "_dd.p.tid": "6670641f00000000", - "language": "python", - "runtime-id": "423178dbb29d4ca784743ac73e5678c8" - }, - "metrics": { - "_dd.limit_psr": 1.0, - "_dd.rule_psr": 1.0, - "_dd.top_level": 1, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 2, - "process_id": 4319 - }, - "duration": 58542, - "start": 1718641695203823168 - }, - { - "name": "child", - "service": "test", - "resource": "child", - "trace_id": 0, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "_dd.base_service": "tests.integration" - }, - "metrics": { - "_dd.span_sampling.mechanism": 8 - }, - "duration": 11833, - "start": 1718641695203859627 - }]] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule1]_tracestats.json b/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule1]_tracestats.json deleted file mode 100644 index 0ad9a7a77d4..00000000000 --- a/tests/snapshots/tests.integration.test_trace_stats.test_single_span_sampling[sampling_rule1]_tracestats.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "Start": 0, - "Duration": 10000000000, - "Stats": [ - { - "Name": "parent", - "Resource": "parent", - "Service": "test", - "Type": "", - "HTTPStatusCode": 0, - "Synthetics": false, - "Hits": 1, - "TopLevelHits": 1, - "Duration": 58542, - "Errors": 0, - "OkSummary": 1046, - "ErrorSummary": 15 - } - ] - } -] diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json index cc03bba6bd5..107d56e5a0c 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_30.json @@ -11,16 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -38,16 +39,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -65,16 +67,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -92,16 +95,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -119,16 +123,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -146,16 +151,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -173,16 +179,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -200,16 +207,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -227,16 +235,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -254,16 +263,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -281,16 +291,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -308,16 +319,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -335,16 +347,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -362,16 +375,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -389,16 +403,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -416,16 +431,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -443,16 +459,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -470,16 +487,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -497,16 +515,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -524,16 +543,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -551,16 +571,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -578,16 +599,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -605,16 +627,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -632,16 +655,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -659,16 +683,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -686,16 +711,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -713,16 +739,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -740,16 +767,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -767,16 +795,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -794,16 +823,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json index 2a8b2e575b1..2c8c1a3dda2 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_aggrs.json @@ -11,16 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -39,16 +40,17 @@ "_dd.base_service": "tests.integration", "_dd.origin": "synthetics", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -66,17 +68,18 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "http.status_code": "200", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -94,16 +97,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -121,16 +125,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -148,16 +153,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -175,16 +181,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9500000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json b/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json index 75cdf437865..ec9b9480742 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_stats_errors.json @@ -11,16 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -38,16 +39,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -65,16 +67,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -92,16 +95,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -119,16 +123,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -146,16 +151,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -173,16 +179,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -200,16 +207,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -227,16 +235,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -254,16 +263,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -281,16 +291,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -308,16 +319,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -335,16 +347,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -362,16 +375,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -389,16 +403,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -416,16 +431,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -443,16 +459,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -470,16 +487,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -497,16 +515,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -524,16 +543,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -551,16 +571,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -578,16 +599,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -605,16 +627,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -632,16 +655,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -659,16 +683,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -686,16 +711,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -713,16 +739,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -740,16 +767,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -767,16 +795,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -794,16 +823,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 diff --git a/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json b/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json index b00a6f4af17..cf9991ca8b8 100644 --- a/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json +++ b/tests/snapshots/tests.integration.test_trace_stats.test_top_level.json @@ -11,16 +11,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -35,7 +36,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -56,16 +58,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -80,7 +83,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -101,16 +105,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -125,7 +130,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -146,16 +152,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -170,7 +177,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -191,16 +199,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -215,7 +224,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -236,16 +246,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -260,7 +271,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -281,16 +293,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -305,7 +318,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -326,16 +340,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -350,7 +365,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -371,16 +387,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -395,7 +412,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -416,16 +434,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -440,7 +459,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -461,16 +481,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -485,7 +506,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -506,16 +528,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -530,7 +553,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -551,16 +575,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -575,7 +600,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -596,16 +622,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -620,7 +647,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -641,16 +669,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -665,7 +694,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -686,16 +716,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -710,7 +741,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -731,16 +763,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -755,7 +788,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -776,16 +810,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -800,7 +835,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -821,16 +857,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -845,7 +882,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -866,16 +904,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -890,7 +929,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -911,16 +951,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -935,7 +976,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -956,16 +998,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -980,7 +1023,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -1001,16 +1045,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -1025,7 +1070,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -1046,16 +1092,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -1070,7 +1117,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -1091,16 +1139,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -1115,7 +1164,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -1136,16 +1186,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -1160,7 +1211,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -1181,16 +1233,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -1205,7 +1258,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -1226,16 +1280,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -1250,7 +1305,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -1271,16 +1327,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -1295,7 +1352,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 @@ -1316,16 +1374,17 @@ "meta": { "_dd.base_service": "tests.integration", "_dd.p.dm": "-0", - "_dd.p.tid": "69f22b9600000000", + "_dd.p.tid": "69f39e4500000000", + "_dd.svc_src": "m", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.integration", "language": "python", - "runtime-id": "012a4626ce814cab9756191803c4ca2e" + "runtime-id": "bc05b544ef2242f28add8cf932f2953e" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 63682.0 }, "duration": 999999999, "start": 1 @@ -1340,7 +1399,8 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "tests.integration" + "_dd.base_service": "tests.integration", + "_dd.svc_src": "m" }, "metrics": { "_dd.top_level": 1.0 diff --git a/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json b/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json index c81f032c1f0..8c89cf25775 100644 --- a/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json +++ b/tests/snapshots/tests.opentelemetry.test_logs.test_otel_logs_does_not_generate_client_grpc_spans.json @@ -11,8 +11,9 @@ "meta": { "_dd.base_service": "ddtrace_subprocess_dir", "_dd.p.dm": "-0", - "_dd.p.tid": "69ebb6d400000000", - "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpp6968b9e,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", + "_dd.p.tid": "69f39d6500000000", + "_dd.svc_src": "grpc_server", + "_dd.tags.process": "entrypoint.basedir:ddtrace_subprocess_dir,entrypoint.name:tmpbie0i_uo,entrypoint.type:script,entrypoint.workdir:project,svc.auto:ddtrace_subprocess_dir", "component": "grpc_server", "grpc.method.kind": "unary", "grpc.method.name": "Export", @@ -21,7 +22,7 @@ "grpc.method.service": "LogsService", "language": "python", "rpc.service": "opentelemetry.proto.collector.logs.v1.LogsService", - "runtime-id": "f663890b07f5442a93dbf05bbe38c269", + "runtime-id": "365ee0ef1260468f881674ad7bbc49eb", "span.kind": "server" }, "metrics": { @@ -29,8 +30,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 63736.0 + "process_id": 60674.0 }, - "duration": 94291, - "start": 1777055444133299588 + "duration": 98375, + "start": 1777573221412419960 }]] diff --git a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json index ea1a4512efd..26c8fcadbc8 100644 --- a/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json +++ b/tests/snapshots/tests.opentelemetry.test_trace.test_distributed_trace_with_flask_app[with_ddtrace_run].json @@ -10,19 +10,19 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69eb932a00000000", + "_dd.p.tid": "69f39d6700000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.opentelemetry", "language": "python", - "runtime-id": "ee6949b03b33475481d3858e92bfdb34" + "runtime-id": "5193a1ed25054640b3b3ad0477ef0dcf" }, "metrics": { "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 20204.0 + "process_id": 60668.0 }, - "duration": 12044000, - "start": 1777046314534425879 + "duration": 4398709, + "start": 1777573223195160836 }, { "name": "flask.request", @@ -36,33 +36,34 @@ "meta": { "_dd.base_service": "", "_dd.p.dm": "-0", - "_dd.p.tid": "69eb932a00000000", - "_dd.parent_id": "cdb28320852ec4a6", + "_dd.p.tid": "69f39d6700000000", + "_dd.parent_id": "a57d38c7e023bc77", + "_dd.svc_src": "flask", "_dd.tags.process": "entrypoint.name:flask,entrypoint.type:script,entrypoint.workdir:project,svc.auto:flask", "component": "flask", "flask.endpoint": "otel", "flask.url_rule": "/otel", - "flask.version": "1.1.4", + "flask.version": "2.1.3", "http.method": "GET", "http.route": "/otel", "http.status_code": "200", "http.url": "http://0.0.0.0:8010/otel", "http.useragent": "python-requests/2.28.1", "language": "python", - "runtime-id": "4508e6cbbee54b63a33cecb36825595d", + "runtime-id": "363c98488b4c46f9aa76c4e306ddc24f", "span.kind": "server", - "traceparent": "00-69eb932a0000000065812037b8bf397a-cdb28320852ec4a6-01", - "tracestate": "dd=p:cdb28320852ec4a6;s:1;t.dm:-0" + "traceparent": "00-69f39d6700000000d6f53d0ca06d8198-a57d38c7e023bc77-01", + "tracestate": "dd=p:a57d38c7e023bc77;s:1;t.dm:-0" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 20320.0 + "process_id": 60728.0 }, - "duration": 9322208, - "start": 1777046314536643629 + "duration": 2531500, + "start": 1777573223196641045 }, { "name": "flask.application", @@ -75,12 +76,13 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask", "flask.endpoint": "otel", "flask.url_rule": "/otel" }, - "duration": 8743792, - "start": 1777046314536865795 + "duration": 2174125, + "start": 1777573223196812545 }, { "name": "flask.try_trigger_before_first_request_functions", @@ -93,10 +95,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 18333, - "start": 1777046314537028212 + "duration": 13375, + "start": 1777573223196901628 }, { "name": "flask.preprocess_request", @@ -109,10 +112,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 15583, - "start": 1777046314537094462 + "duration": 12666, + "start": 1777573223196952670 }, { "name": "flask.dispatch_request", @@ -125,10 +129,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 8150958, - "start": 1777046314537136754 + "duration": 1815958, + "start": 1777573223196984545 }, { "name": "tests.opentelemetry.flask_app.otel", @@ -141,10 +146,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 8102000, - "start": 1777046314537174295 + "duration": 1776958, + "start": 1777573223197017378 }, { "name": "internal", @@ -156,10 +162,11 @@ "type": "", "error": 0, "meta": { - "_dd.base_service": "" + "_dd.base_service": "", + "_dd.svc_src": "flask" }, - "duration": 81417, - "start": 1777046314545167212 + "duration": 40459, + "start": 1777573223198736836 }, { "name": "flask.process_response", @@ -172,10 +179,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 33167, - "start": 1777046314545384462 + "duration": 19334, + "start": 1777573223198850586 }, { "name": "flask.do_teardown_request", @@ -188,10 +196,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 19958, - "start": 1777046314545527462 + "duration": 13834, + "start": 1777573223198932711 }, { "name": "flask.do_teardown_appcontext", @@ -204,10 +213,11 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 15250, - "start": 1777046314545578504 + "duration": 9292, + "start": 1777573223198967753 }, { "name": "flask.response", @@ -220,8 +230,9 @@ "error": 0, "meta": { "_dd.base_service": "", + "_dd.svc_src": "flask", "component": "flask" }, - "duration": 336875, - "start": 1777046314545619795 + "duration": 174250, + "start": 1777573223198992503 }]] From 2b51f892b60f3ec7a77eca3c4ea6ad410c32c0a8 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 30 Apr 2026 13:26:23 -0700 Subject: [PATCH 106/114] update a bunch of snapshots affected by the fix --- ...st_claude_agent_sdk.test_client_query.json | 21 +++---- ...ude_agent_sdk.test_client_query_error.json | 12 ++-- ..._sdk.test_claude_agent_sdk.test_query.json | 21 +++---- ...est_claude_agent_sdk.test_query_error.json | 25 ++++---- ...ent_sdk.test_query_with_bash_tool_use.json | 59 ++++++++++++------- ...ent_sdk.test_query_with_grep_tool_use.json | 59 ++++++++++++------- ...ent_sdk.test_query_with_read_tool_use.json | 59 ++++++++++++------- ...itellm.test_litellm_router_completion.json | 17 +++--- 8 files changed, 157 insertions(+), 116 deletions(-) diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json index 9559e1e5b28..115a7718f14 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query.json @@ -10,21 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e6993800000000", + "_dd.p.tid": "69f3b95a00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "ee93196fd08745c8b6c4d78d839fa8b9" + "runtime-id": "338234aed70f4c61aa90502751c41230" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 36593.0 + "process_id": 69053.0 }, - "duration": 1050000, - "start": 1776718040206823000 + "duration": 934250, + "start": 1777580378739546000 }, { "name": "claude_agent_sdk.step", @@ -38,8 +38,8 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 152000, - "start": 1776718040207608000 + "duration": 180917, + "start": 1777580378740162625 }, { "name": "claude_agent_sdk.llm", @@ -50,12 +50,9 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, - "duration": 76000, - "start": 1776718040207658000 + "duration": 108041, + "start": 1777580378740208334 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json index 9c5fd6b812f..01cd047706d 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_client_query_error.json @@ -10,21 +10,21 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e6993800000000", + "_dd.p.tid": "69f3b95a00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "error.message": "Mocked transport error for testing", - "error.stack": "Traceback (most recent call last):\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 84, in traced_client_query\n return await func(*wrapped_args, **wrapped_kwargs)\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31015_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.10/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/Users/nicole.cybul/.pyenv/versions/3.10.15/lib/python3.10/unittest/mock.py\", line 2234, in _execute_mock_call\n raise effect\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/claude_agent_sdk/utils.py\", line 16, in _retrieve_context\n await instance.query(\"/context\")\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 58, in traced_client_query\n return await func(*args, **kwargs)\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31015_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.10/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/Users/nicole.cybul/.pyenv/versions/3.10.15/lib/python3.10/unittest/mock.py\", line 2234, in _execute_mock_call\n raise effect\nValueError: Mocked transport error for testing\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 84, in traced_client_query\n return await func(*wrapped_args, **wrapped_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/utils.py\", line 16, in _retrieve_context\n await instance.query(\"/context\")\n File \"/home/bits/project/ddtrace/contrib/internal/claude_agent_sdk/patch.py\", line 58, in traced_client_query\n return await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/client.py\", line 181, in query\n await self._transport.write(json.dumps(message) + \"\\n\")\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 2291, in _execute_mock_call\n raise effect\nValueError: Mocked transport error for testing\n", "error.type": "builtins.ValueError", "language": "python", - "runtime-id": "ee93196fd08745c8b6c4d78d839fa8b9" + "runtime-id": "338234aed70f4c61aa90502751c41230" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 36593.0 + "process_id": 69053.0 }, - "duration": 2910000, - "start": 1776718040231932000 + "duration": 2229458, + "start": 1777580378751827584 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json index 5bd59b48bdc..13106798797 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query.json @@ -10,21 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e6993800000000", + "_dd.p.tid": "69f3b95a00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "ee93196fd08745c8b6c4d78d839fa8b9" + "runtime-id": "338234aed70f4c61aa90502751c41230" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 36593.0 + "process_id": 69053.0 }, - "duration": 1318000, - "start": 1776718040162987000 + "duration": 939667, + "start": 1777580378714011000 }, { "name": "claude_agent_sdk.step", @@ -38,8 +38,8 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 397000, - "start": 1776718040163872000 + "duration": 373208, + "start": 1777580378714526459 }, { "name": "claude_agent_sdk.llm", @@ -50,12 +50,9 @@ "parent_id": 2, "type": "", "error": 0, - "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk" - }, "metrics": { "_dd.measured": 1.0 }, - "duration": 183000, - "start": 1776718040164054000 + "duration": 177375, + "start": 1777580378714652667 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json index faca0b17b74..89d28a298ee 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_error.json @@ -10,23 +10,23 @@ "error": 1, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e6993800000000", + "_dd.p.tid": "69f3b95a00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "error.message": "Connection failed", - "error.stack": "Traceback (most recent call last):\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31015_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.10/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/tests/contrib/claude_agent_sdk/conftest.py\", line 136, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/home/bits/project/tests/contrib/claude_agent_sdk/conftest.py\", line 143, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", "error.type": "builtins.ValueError", "language": "python", - "runtime-id": "ee93196fd08745c8b6c4d78d839fa8b9" + "runtime-id": "338234aed70f4c61aa90502751c41230" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 36593.0 + "process_id": 69053.0 }, - "duration": 1199000, - "start": 1776718040190247000 + "duration": 1311541, + "start": 1777580378727059459 }, { "name": "claude_agent_sdk.step", @@ -39,14 +39,14 @@ "error": 1, "meta": { "error.message": "Connection failed", - "error.stack": "Traceback (most recent call last):\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31015_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.10/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/tests/contrib/claude_agent_sdk/conftest.py\", line 136, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/home/bits/project/tests/contrib/claude_agent_sdk/conftest.py\", line 143, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", "error.type": "builtins.ValueError" }, "metrics": { "_dd.measured": 1.0 }, - "duration": 1099000, - "start": 1776718040190328000 + "duration": 1221750, + "start": 1777580378727129292 }, { "name": "claude_agent_sdk.llm", @@ -58,14 +58,13 @@ "type": "", "error": 1, "meta": { - "_dd.svc_src": "tests.contrib.claude_agent_sdk", "error.message": "Connection failed", - "error.stack": "Traceback (most recent call last):\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31015_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.10/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/tests/contrib/claude_agent_sdk/conftest.py\", line 136, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 216, in __aiter__\n async for chunk in self._self_async_stream_iter:\n File \"/home/bits/project/.riot/venv_py31212_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_claude-agent-sdk0023_pytest-asyncio/lib/python3.12/site-packages/claude_agent_sdk/query.py\", line 123, in query\n async for message in client.process_query(\n File \"/home/bits/project/tests/contrib/claude_agent_sdk/conftest.py\", line 143, in mock_process_query_error\n raise ValueError(\"Connection failed\")\nValueError: Connection failed\n", "error.type": "builtins.ValueError" }, "metrics": { "_dd.measured": 1.0 }, - "duration": 956000, - "start": 1776718040190376000 + "duration": 1066708, + "start": 1777580378727168709 }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json index e4fdf3c9a9e..199c0f47905 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_bash_tool_use.json @@ -10,21 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e6993800000000", + "_dd.p.tid": "69f3b95a00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "ee93196fd08745c8b6c4d78d839fa8b9" + "runtime-id": "338234aed70f4c61aa90502751c41230" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 36593.0 + "process_id": 69053.0 }, - "duration": 326000, - "start": 1776718040276775000 + "duration": 298750, + "start": 1777580378774308042 }, { "name": "claude_agent_sdk.step", @@ -38,21 +38,36 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 201000, - "start": 1776718040276859000 + "duration": 191833, + "start": 1777580378774375292 }, - { - "name": "claude_agent_sdk.tool.Bash", - "service": "tests.contrib.claude_agent_sdk", - "resource": "claude_agent_sdk.tool", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "metrics": { - "_dd.measured": 1.0 - }, - "duration": 41250, - "start": 1776720184913454928 - }]] + { + "name": "claude_agent_sdk.llm", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.llm", + "trace_id": 0, + "span_id": 3, + "parent_id": 2, + "type": "", + "error": 0, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 70292, + "start": 1777580378774420500 + }, + { + "name": "claude_agent_sdk.tool.Bash", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.tool", + "trace_id": 0, + "span_id": 4, + "parent_id": 2, + "type": "", + "error": 0, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 70000, + "start": 1777580378774522125 + }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json index 4e601f6d2bb..bc23fa4a2ab 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_grep_tool_use.json @@ -10,21 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e6993800000000", + "_dd.p.tid": "69f3b95a00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "ee93196fd08745c8b6c4d78d839fa8b9" + "runtime-id": "338234aed70f4c61aa90502751c41230" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 36593.0 + "process_id": 69053.0 }, - "duration": 311000, - "start": 1776718040291568000 + "duration": 319125, + "start": 1777580378783916834 }, { "name": "claude_agent_sdk.step", @@ -38,21 +38,36 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 192000, - "start": 1776718040291649000 + "duration": 183708, + "start": 1777580378784004709 }, - { - "name": "claude_agent_sdk.tool.Grep", - "service": "tests.contrib.claude_agent_sdk", - "resource": "claude_agent_sdk.tool", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "metrics": { - "_dd.measured": 1.0 - }, - "duration": 41167, - "start": 1776720184919800345 - }]] + { + "name": "claude_agent_sdk.llm", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.llm", + "trace_id": 0, + "span_id": 3, + "parent_id": 2, + "type": "", + "error": 0, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 69250, + "start": 1777580378784046709 + }, + { + "name": "claude_agent_sdk.tool.Grep", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.tool", + "trace_id": 0, + "span_id": 4, + "parent_id": 2, + "type": "", + "error": 0, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 65250, + "start": 1777580378784146875 + }]] diff --git a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json index 6da180b3c6a..436b2e9228a 100644 --- a/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json +++ b/tests/snapshots/tests.contrib.claude_agent_sdk.test_claude_agent_sdk.test_query_with_read_tool_use.json @@ -10,21 +10,21 @@ "error": 0, "meta": { "_dd.p.dm": "-0", - "_dd.p.tid": "69e6993800000000", + "_dd.p.tid": "69f3b95a00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.claude_agent_sdk", "claude_agent_sdk.request.model": "claude-sonnet-4-5-20250929", "language": "python", - "runtime-id": "ee93196fd08745c8b6c4d78d839fa8b9" + "runtime-id": "338234aed70f4c61aa90502751c41230" }, "metrics": { "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 36593.0 + "process_id": 69053.0 }, - "duration": 319000, - "start": 1776718040255620000 + "duration": 343500, + "start": 1777580378764457042 }, { "name": "claude_agent_sdk.step", @@ -38,21 +38,36 @@ "metrics": { "_dd.measured": 1.0 }, - "duration": 191000, - "start": 1776718040255703000 + "duration": 205250, + "start": 1777580378764546334 }, - { - "name": "claude_agent_sdk.tool.Read", - "service": "tests.contrib.claude_agent_sdk", - "resource": "claude_agent_sdk.tool", - "trace_id": 0, - "span_id": 3, - "parent_id": 1, - "type": "", - "error": 0, - "metrics": { - "_dd.measured": 1.0 - }, - "duration": 51250, - "start": 1776720184906254887 - }]] + { + "name": "claude_agent_sdk.llm", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.llm", + "trace_id": 0, + "span_id": 3, + "parent_id": 2, + "type": "", + "error": 0, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 77250, + "start": 1777580378764590125 + }, + { + "name": "claude_agent_sdk.tool.Read", + "service": "tests.contrib.claude_agent_sdk", + "resource": "claude_agent_sdk.tool", + "trace_id": 0, + "span_id": 4, + "parent_id": 2, + "type": "", + "error": 0, + "metrics": { + "_dd.measured": 1.0 + }, + "duration": 80417, + "start": 1777580378764705625 + }]] diff --git a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json index 1bcbb306397..b639b897d9e 100644 --- a/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json +++ b/tests/snapshots/tests.contrib.litellm.test_litellm.test_litellm_router_completion.json @@ -13,11 +13,11 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69e6434a00000000", + "_dd.p.tid": "69f3baaf00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.litellm", "language": "python", "litellm.request.model": "gpt-3.5-turbo", - "runtime-id": "7024d668ba8e4d1c81c4b099ef79ab71" + "runtime-id": "1d7bdbdbfdf248d8bd6766b2078c60ce" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -25,10 +25,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 605.0 + "process_id": 73001.0 }, - "duration": 26994291, - "start": 1776885882124297177 + "duration": 80933959, + "start": 1777580719264793130 }, { "name": "litellm.request", @@ -40,6 +40,9 @@ "type": "", "error": 0, "meta": { + "_dd.llmobs.model_name": "gpt-3.5-turbo", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "llm", "litellm.request.model": "gpt-3.5-turbo" }, "metrics": { @@ -49,6 +52,6 @@ "_dd.llmobs.total_tokens": 33.0, "_dd.measured": 1.0 }, - "duration": 25915042, - "start": 1776885882125332093 + "duration": 79067917, + "start": 1777580719266569505 }]] From b0eed2765bb211b061fa720a9ffca83afc9a311c Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Thu, 30 Apr 2026 14:23:08 -0700 Subject: [PATCH 107/114] update a bunch of snapshots affected by the fix --- tests/tracer/test_trace_utils.py | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/tests/tracer/test_trace_utils.py b/tests/tracer/test_trace_utils.py index dfe604b2374..1d9ec426b46 100644 --- a/tests/tracer/test_trace_utils.py +++ b/tests/tracer/test_trace_utils.py @@ -19,7 +19,6 @@ from ddtrace.contrib.internal.trace_utils import _get_request_header_client_ip from ddtrace.ext import http from ddtrace.internal.compat import ensure_text -from ddtrace.internal.constants import _SERVICE_SOURCE from ddtrace.internal.settings._config import Config from ddtrace.internal.settings.integration import IntegrationConfig from ddtrace.propagation.http import HTTP_HEADER_PARENT_ID @@ -444,7 +443,7 @@ def test_set_http_meta_no_headers(mock_store_headers, span, int_config): ) result_keys = list(span.get_tags().keys()) result_keys.sort(reverse=True) - assert result_keys == ["runtime-id", http.USER_AGENT, _SERVICE_SOURCE] + assert result_keys == ["runtime-id", http.USER_AGENT] mock_store_headers.assert_not_called() @@ -452,12 +451,12 @@ def test_set_http_meta_no_headers(mock_store_headers, span, int_config): @pytest.mark.parametrize( "user_agent_key,user_agent_value,expected_keys,expected", [ - ("http-user-agent", "dd-agent/1.0.0", ["runtime-id", http.USER_AGENT, _SERVICE_SOURCE], "dd-agent/1.0.0"), - ("http-user-agent", None, ["runtime-id", _SERVICE_SOURCE], None), - ("useragent", True, ["runtime-id", _SERVICE_SOURCE], None), - ("http-user-agent", False, ["runtime-id", _SERVICE_SOURCE], None), - ("http-user-agent", [], ["runtime-id", _SERVICE_SOURCE], None), - ("http-user-agent", {}, ["runtime-id", _SERVICE_SOURCE], None), + ("http-user-agent", "dd-agent/1.0.0", ["runtime-id", http.USER_AGENT], "dd-agent/1.0.0"), + ("http-user-agent", None, ["runtime-id"], None), + ("useragent", True, ["runtime-id"], None), + ("http-user-agent", False, ["runtime-id"], None), + ("http-user-agent", [], ["runtime-id"], None), + ("http-user-agent", {}, ["runtime-id"], None), ], ) def test_set_http_meta_headers_useragent( @@ -485,7 +484,7 @@ def test_set_http_meta_case_sensitive_headers(mock_store_headers, span, int_conf ) result_keys = list(span.get_tags().keys()) result_keys.sort(reverse=True) - assert result_keys == ["runtime-id", http.USER_AGENT, _SERVICE_SOURCE] + assert result_keys == ["runtime-id", http.USER_AGENT] assert span.get_tag(http.USER_AGENT) == "dd-agent/1.0.0" mock_store_headers.assert_called() @@ -498,7 +497,7 @@ def test_set_http_meta_case_sensitive_headers_notfound(mock_store_headers, span, ) result_keys = list(span.get_tags().keys()) result_keys.sort(reverse=True) - assert result_keys == ["runtime-id", _SERVICE_SOURCE] + assert result_keys == ["runtime-id"] assert not span.get_tag(http.USER_AGENT) mock_store_headers.assert_called() @@ -717,7 +716,7 @@ def test_set_http_meta_headers_ip_asm_disabled_env_default_false(span, int_confi ) result_keys = list(span.get_tags().keys()) result_keys.sort(reverse=True) - assert result_keys == ["runtime-id", _SERVICE_SOURCE] + assert result_keys == ["runtime-id"] def test_set_http_meta_headers_ip_asm_disabled_env_false(span, int_config): @@ -731,7 +730,7 @@ def test_set_http_meta_headers_ip_asm_disabled_env_false(span, int_config): ) result_keys = list(span.get_tags().keys()) result_keys.sort(reverse=True) - assert result_keys == ["runtime-id", _SERVICE_SOURCE] + assert result_keys == ["runtime-id"] def test_set_http_meta_headers_ip_asm_disabled_env_true(span, int_config): @@ -745,7 +744,7 @@ def test_set_http_meta_headers_ip_asm_disabled_env_true(span, int_config): ) result_keys = list(span.get_tags().keys()) result_keys.sort(reverse=True) - assert result_keys == ["runtime-id", "network.client.ip", http.CLIENT_IP, _SERVICE_SOURCE] + assert result_keys == ["runtime-id", "network.client.ip", http.CLIENT_IP] assert span.get_tag(http.CLIENT_IP) == "8.8.8.8" @@ -763,8 +762,8 @@ def test_ip_subnet_regression(): @pytest.mark.parametrize( "user_agent_value, expected_keys ,expected", [ - ("ㄲㄴㄷㄸ", ["runtime-id", http.USER_AGENT, _SERVICE_SOURCE], "ㄲㄴㄷㄸ"), - (b"", ["runtime-id", _SERVICE_SOURCE], None), + ("ㄲㄴㄷㄸ", ["runtime-id", http.USER_AGENT], "ㄲㄴㄷㄸ"), + (b"", ["runtime-id"], None), ], ) def test_set_http_meta_headers_useragent( # noqa:F811 From 98071942276be629157e3ac359ac8cf766df4b86 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 1 May 2026 07:15:56 -0700 Subject: [PATCH 108/114] update tracer test that still cared about svc_src --- tests/tracer/test_tracer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/tracer/test_tracer.py b/tests/tracer/test_tracer.py index 7108e6c9ff7..79c7370ccc5 100644 --- a/tests/tracer/test_tracer.py +++ b/tests/tracer/test_tracer.py @@ -29,7 +29,6 @@ from ddtrace.constants import VERSION_KEY from ddtrace.contrib.internal.trace_utils import set_user from ddtrace.ext import user -from ddtrace.internal.constants import _SERVICE_SOURCE from ddtrace.internal.settings._config import Config from ddtrace.internal.writer import AgentWriterInterface from ddtrace.trace import Context @@ -649,7 +648,7 @@ def test_tracer_set_user_mandatory(self): ) span_keys = list(span.get_tags().keys()) span_keys.sort() - assert span_keys == [_SERVICE_SOURCE, "runtime-id", "usr.id"] + assert span_keys == ["runtime-id", "usr.id"] assert span.get_tag(user.ID) assert span.get_tag(user.EMAIL) is None assert span.get_tag(user.SESSION_ID) is None From 364768aa8a53cdbf5b59f0675c667cc42ffb57d7 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 1 May 2026 08:10:09 -0700 Subject: [PATCH 109/114] update langchain snapshots --- ....test_langchain.test_base_tool_invoke.json | 10 +-- ...l_invoke_non_json_serializable_config.json | 10 +-- ....test_langchain.test_lcel_chain_batch.json | 17 ++-- ...langchain.test_lcel_chain_batch_async.json | 17 ++-- ...langchain.test_lcel_chain_complicated.json | 17 ++-- ...gchain.test_lcel_chain_non_dict_input.json | 24 ++++-- ...test_langchain.test_lcel_chain_simple.json | 21 +++-- ...angchain.test_lcel_chain_simple_async.json | 21 +++-- ...gchain.test_lcel_with_tools_anthropic.json | 33 -------- ...langchain.test_lcel_with_tools_openai.json | 14 ++-- ...test_openai_chat_model_async_generate.json | 36 -------- ...chat_model_sync_call_langchain_openai.json | 14 ++-- ...odel_sync_call_langchain_openai_async.json | 14 ++-- ....test_openai_chat_model_sync_generate.json | 36 -------- ...gchain.test_openai_embedding_document.json | 10 +-- ...langchain.test_openai_embedding_query.json | 10 +-- ....test_langchain.test_openai_llm_async.json | 10 +-- ....test_langchain.test_openai_llm_error.json | 12 +-- ...n.test_langchain.test_openai_llm_sync.json | 14 ++-- ...test_openai_llm_sync_multiple_prompts.json | 14 ++-- ...langchain.test_runnable_lambda_abatch.json | 31 ++++--- ...angchain.test_runnable_lambda_ainvoke.json | 10 +-- ..._langchain.test_runnable_lambda_batch.json | 31 ++++--- ...langchain.test_runnable_lambda_invoke.json | 10 +-- ...in.test_langchain.test_streamed_chain.json | 17 ++-- ...ain.test_langchain.test_streamed_chat.json | 10 +-- ...st_streamed_chat_model_with_no_output.json | 12 +-- ...hain.test_streamed_json_output_parser.json | 17 ++-- ...hain.test_langchain.test_streamed_llm.json | 10 +-- ...in.test_vectorstore_similarity_search.json | 84 ------------------- 30 files changed, 221 insertions(+), 365 deletions(-) delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json delete mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json index c4cead4eedb..27e2198ae45 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "tool", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,8 +22,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 575000, - "start": 1776885309225391134 + "duration": 884334, + "start": 1777648190622230462 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json index 30912679cec..156276546de 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_base_tool_invoke_non_json_serializable_config.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "tool", "_dd.p.dm": "-0", - "_dd.p.tid": "69de495f00000000", + "_dd.p.tid": "69f4c23f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,8 +22,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 481625, - "start": 1776885311615755635 + "duration": 643375, + "start": 1777648191240479671 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json index 84142b4194d..c5ac531ee59 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 5914167, - "start": 1776885311407002176 + "duration": 13293167, + "start": 1777648190684078171 }, { "name": "langchain.request", @@ -37,6 +37,9 @@ "type": "", "error": 0, "meta": { + "_dd.llmobs.model_name": "gpt-3.5-turbo", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "llm", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai" }, @@ -47,6 +50,6 @@ "_dd.llmobs.total_tokens": 29.0, "_dd.measured": 1.0 }, - "duration": 3937167, - "start": 1776885311408709176 + "duration": 6230458, + "start": 1777648190690365921 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json index 33ea101549f..dd1ba62e10b 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_batch_async.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 1219830876, - "start": 1776885312155516885 + "duration": 14694042, + "start": 1777648190214431837 }, { "name": "langchain.request", @@ -37,6 +37,9 @@ "type": "", "error": 0, "meta": { + "_dd.llmobs.model_name": "gpt-3.5-turbo", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "llm", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai" }, @@ -47,6 +50,6 @@ "_dd.llmobs.total_tokens": 29.0, "_dd.measured": 1.0 }, - "duration": 1211422542, - "start": 1776885312163346427 + "duration": 8488750, + "start": 1777648190219522421 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json index 44bd7ad46d9..d17bf864a35 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_complicated.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de495f00000000", + "_dd.p.tid": "69f4c23f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 6903083, - "start": 1776885314296546803 + "duration": 13883167, + "start": 1777648191216573546 }, { "name": "langchain.request", @@ -37,6 +37,9 @@ "type": "", "error": 0, "meta": { + "_dd.llmobs.model_name": "gpt-3.5-turbo", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "llm", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai" }, @@ -47,6 +50,6 @@ "_dd.llmobs.total_tokens": 72.0, "_dd.measured": 1.0 }, - "duration": 4616625, - "start": 1776885314298560886 + "duration": 6127500, + "start": 1777648191223578129 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json index dbc0e42f267..f0a35c431ac 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_non_dict_input.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de495f00000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 1877625, - "start": 1776885311669577177 + "duration": 4967042, + "start": 1777648190818557796 }, { "name": "langchain.request", @@ -36,12 +36,15 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.llmobs.span_kind": "workflow" + }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 313458, - "start": 1776885311670808635 + "duration": 745500, + "start": 1777648190821909338 }, { "name": "langchain.request", @@ -52,10 +55,13 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.llmobs.span_kind": "workflow" + }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 245084, - "start": 1776885311671185218 + "duration": 779084, + "start": 1777648190822701879 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json index 83c690ce25d..d18ec73b6d5 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 6013750, - "start": 1776885311601605510 + "duration": 8816625, + "start": 1777648191263489713 }, { "name": "langchain.request", @@ -37,16 +37,19 @@ "type": "", "error": 0, "meta": { + "_dd.llmobs.model_name": "gpt-3.5-turbo-instruct", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "llm", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai" }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.llmobs.input_tokens": 20.0, - "_dd.llmobs.output_tokens": 102.0, - "_dd.llmobs.total_tokens": 122.0, + "_dd.llmobs.output_tokens": 79.0, + "_dd.llmobs.total_tokens": 99.0, "_dd.measured": 1.0 }, - "duration": 3938084, - "start": 1776885311603630843 + "duration": 5932041, + "start": 1777648191266321713 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json index f2128bbbfd9..2b76874a478 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_chain_simple_async.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 19088333, - "start": 1776885309284844467 + "duration": 16098500, + "start": 1777648190977158754 }, { "name": "langchain.request", @@ -37,16 +37,19 @@ "type": "", "error": 0, "meta": { + "_dd.llmobs.model_name": "gpt-3.5-turbo-instruct", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "llm", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai" }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.llmobs.input_tokens": 20.0, - "_dd.llmobs.output_tokens": 102.0, - "_dd.llmobs.total_tokens": 122.0, + "_dd.llmobs.output_tokens": 79.0, + "_dd.llmobs.total_tokens": 99.0, "_dd.measured": 1.0 }, - "duration": 17711208, - "start": 1776885309286117884 + "duration": 8439292, + "start": 1777648190984702879 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json deleted file mode 100644 index bc33abf9624..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json +++ /dev/null @@ -1,33 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_anthropic.chat_models.ChatAnthropic", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.llmobs.model_name": "claude-sonnet-4-5-20250929", - "_dd.llmobs.model_provider": "anthropic", - "_dd.llmobs.span_kind": "llm", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de49c500000000", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", - "langchain.request.model": "claude-sonnet-4-5-20250929", - "langchain.request.provider": "anthropic", - "language": "python", - "runtime-id": "476526c794934f3eb682e3e6b36806e3" - }, - "metrics": { - "_dd.llmobs.enabled": 0.0, - "_dd.measured": 1.0, - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 488.0 - }, - "duration": 42223208, - "start": 1776977625623872926 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json index 8d035f2c06f..5390f142883 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_openai.json @@ -13,24 +13,24 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-0125", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, - "_dd.llmobs.input_tokens": 73.0, + "_dd.llmobs.input_tokens": 85.0, "_dd.llmobs.output_tokens": 32.0, - "_dd.llmobs.total_tokens": 105.0, + "_dd.llmobs.total_tokens": 117.0, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 5782583, - "start": 1776885313837030178 + "duration": 8021166, + "start": 1777648190183371046 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json deleted file mode 100644 index b16c2e465f1..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json +++ /dev/null @@ -1,36 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.chat_models.base.ChatOpenAI", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.llmobs.model_name": "gpt-3.5-turbo", - "_dd.llmobs.model_provider": "openai", - "_dd.llmobs.span_kind": "llm", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de49c000000000", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", - "langchain.request.model": "gpt-3.5-turbo", - "langchain.request.provider": "openai", - "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" - }, - "metrics": { - "_dd.llmobs.enabled": 0.0, - "_dd.llmobs.input_tokens": 60.0, - "_dd.llmobs.output_tokens": 152.0, - "_dd.llmobs.total_tokens": 212.0, - "_dd.measured": 1.0, - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 488.0 - }, - "duration": 12600833, - "start": 1776885311677997510 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json index 963b17933fe..f83bbe83c76 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai.json @@ -13,24 +13,24 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de495e00000000", + "_dd.p.tid": "69f4c23f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.llmobs.input_tokens": 20.0, - "_dd.llmobs.output_tokens": 96.0, - "_dd.llmobs.total_tokens": 116.0, + "_dd.llmobs.output_tokens": 105.0, + "_dd.llmobs.total_tokens": 125.0, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 3718792, - "start": 1776885311577797468 + "duration": 6339583, + "start": 1777648191044566338 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json index 598672e82ce..55b93081e2f 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_call_langchain_openai_async.json @@ -13,24 +13,24 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.llmobs.input_tokens": 20.0, - "_dd.llmobs.output_tokens": 96.0, - "_dd.llmobs.total_tokens": 116.0, + "_dd.llmobs.output_tokens": 105.0, + "_dd.llmobs.total_tokens": 125.0, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 418872625, - "start": 1776885315522420762 + "duration": 8969958, + "start": 1777648190652714421 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json deleted file mode 100644 index e95ff3039a1..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json +++ /dev/null @@ -1,36 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.chat_models.base.ChatOpenAI", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.llmobs.model_name": "gpt-3.5-turbo", - "_dd.llmobs.model_provider": "openai", - "_dd.llmobs.span_kind": "llm", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de49c000000000", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", - "langchain.request.model": "gpt-3.5-turbo", - "langchain.request.provider": "openai", - "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" - }, - "metrics": { - "_dd.llmobs.enabled": 0.0, - "_dd.llmobs.input_tokens": 60.0, - "_dd.llmobs.output_tokens": 152.0, - "_dd.llmobs.total_tokens": 212.0, - "_dd.measured": 1.0, - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 488.0 - }, - "duration": 7542917, - "start": 1776885313849300386 - }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json index 20f0c7608c1..bd9b09514cd 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_document.json @@ -13,12 +13,12 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "embedding", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -26,8 +26,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 3452209, - "start": 1776885311450303801 + "duration": 8107000, + "start": 1777648191164942046 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json index 32690b1e752..1ce90f7fadc 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_embedding_query.json @@ -13,12 +13,12 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "embedding", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "text-embedding-ada-002", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -26,8 +26,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 3727416, - "start": 1776885311426547760 + "duration": 7122750, + "start": 1777648190603789212 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json index deac9f5551f..2fee248da51 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_async.json @@ -13,12 +13,12 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -29,8 +29,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 6369667, - "start": 1776885311564477718 + "duration": 9691001, + "start": 1777648191347038129 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json index 0e5f3081ec7..88772101359 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_error.json @@ -13,15 +13,15 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "error.message": "Error code: 400 - {'error': {'message': 'Invalid token in prompt: 123456. Minimum value is 0, maximum value is 100257 (inclusive).', 'type': 'invalid_request_error', 'param': None, 'code': None}}", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/langchain/patch.py\", line 72, in traced_llm_generate\n completions = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/langchain_core/language_models/llms.py\", line 1000, in generate\n return self._generate_helper(\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/langchain_core/language_models/llms.py\", line 815, in _generate_helper\n self._generate(\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/langchain_openai/llms/base.py\", line 446, in _generate\n response = self.client.create(prompt=_prompts, **params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/resources/completions.py\", line 541, in create\n return self._post(\n ^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/_base_client.py\", line 1047, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': {'message': 'Invalid token in prompt: 123456. Minimum value is 0, maximum value is 100257 (inclusive).', 'type': 'invalid_request_error', 'param': None, 'code': None}}\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/ddtrace/contrib/internal/langchain/patch.py\", line 95, in traced_llm_generate\n completions = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/langchain_core/language_models/llms.py\", line 803, in generate\n output = self._generate_helper(\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/langchain_core/language_models/llms.py\", line 670, in _generate_helper\n raise e\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/langchain_core/language_models/llms.py\", line 657, in _generate_helper\n self._generate(\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/langchain_openai/llms/base.py\", line 350, in _generate\n response = self.client.create(prompt=_prompts, **params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/resources/completions.py\", line 541, in create\n return self._post(\n ^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/_base_client.py\", line 1047, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': {'message': 'Invalid token in prompt: 123456. Minimum value is 0, maximum value is 100257 (inclusive).', 'type': 'invalid_request_error', 'param': None, 'code': None}}\n", "error.type": "openai.BadRequestError", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -29,8 +29,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 8036917, - "start": 1776885313390404302 + "duration": 10494917, + "start": 1777648190792992046 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json index 940ab461c20..4d5ef044fa7 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync.json @@ -13,24 +13,24 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.llmobs.input_tokens": 17.0, - "_dd.llmobs.output_tokens": 256.0, - "_dd.llmobs.total_tokens": 273.0, + "_dd.llmobs.output_tokens": 239.0, + "_dd.llmobs.total_tokens": 256.0, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 5541125, - "start": 1776885316512224262 + "duration": 6472583, + "start": 1777648190279800504 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json index d8670f8c74a..e25271178d3 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_llm_sync_multiple_prompts.json @@ -13,24 +13,24 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.llmobs.input_tokens": 23.0, - "_dd.llmobs.output_tokens": 280.0, - "_dd.llmobs.total_tokens": 303.0, + "_dd.llmobs.output_tokens": 273.0, + "_dd.llmobs.total_tokens": 296.0, "_dd.measured": 1.0, "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 5931958, - "start": 1776885316486453804 + "duration": 7565000, + "start": 1777648191015776671 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json index d91b28a4a31..35c87ca847f 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_abatch.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 1253875, - "start": 1776885316542577054 + "duration": 2933667, + "start": 1777648190767500629 }, { "name": "langchain.request", @@ -36,12 +36,15 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.llmobs.span_kind": "workflow" + }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 968125, - "start": 1776885316542771929 + "duration": 2647792, + "start": 1777648190767661421 }, { "name": "langchain.request", @@ -52,12 +55,15 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.llmobs.span_kind": "workflow" + }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 658292, - "start": 1776885316543116429 + "duration": 1746667, + "start": 1777648190768613046 }, { "name": "langchain.request", @@ -68,10 +74,13 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.llmobs.span_kind": "workflow" + }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 452041, - "start": 1776885316543345346 + "duration": 1057958, + "start": 1777648190769333421 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json index 3b4da535a81..1a84e59b152 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_ainvoke.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,8 +22,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 408958, - "start": 1776885311587458177 + "duration": 1096500, + "start": 1777648190251992254 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json index cdf33429166..ce0c8b55788 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_batch.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,10 +22,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 1561833, - "start": 1776885311662418302 + "duration": 5111042, + "start": 1777648190237726504 }, { "name": "langchain.request", @@ -36,12 +36,15 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.llmobs.span_kind": "workflow" + }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 369750, - "start": 1776885311662692718 + "duration": 3629125, + "start": 1777648190238030629 }, { "name": "langchain.request", @@ -52,12 +55,15 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.llmobs.span_kind": "workflow" + }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 300500, - "start": 1776885311663229427 + "duration": 3073583, + "start": 1777648190238956171 }, { "name": "langchain.request", @@ -68,10 +74,13 @@ "parent_id": 1, "type": "", "error": 0, + "meta": { + "_dd.llmobs.span_kind": "workflow" + }, "metrics": { "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 241750, - "start": 1776885311663563468 + "duration": 2357125, + "start": 1777648190240208671 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json index 05f844ac2c9..f60ea641a0c 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_runnable_lambda_invoke.json @@ -11,10 +11,10 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496100000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -22,8 +22,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 359834, - "start": 1776885311436156551 + "duration": 920041, + "start": 1777648190885583088 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json index fa6e384f556..3b8cb6a5405 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chain.json @@ -11,11 +11,11 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de495f00000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.stream": "True", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -23,10 +23,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 58925917, - "start": 1776885311460916885 + "duration": 114449708, + "start": 1777648190397646629 }, { "name": "langchain.request", @@ -38,6 +38,9 @@ "type": "", "error": 0, "meta": { + "_dd.llmobs.model_name": "gpt-3.5-turbo", + "_dd.llmobs.model_provider": "openai-chat", + "_dd.llmobs.span_kind": "llm", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True" @@ -46,6 +49,6 @@ "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 52726208, - "start": 1776885311463552010 + "duration": 105506958, + "start": 1777648190400983129 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json index 59d8577e923..9e8bd7df74b 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat.json @@ -13,13 +13,13 @@ "_dd.llmobs.model_provider": "openai-chat", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de495f00000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -27,8 +27,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 23034625, - "start": 1776885311526890427 + "duration": 50333500, + "start": 1777648190533252712 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json index 627107cddbe..52c5fd0c2d0 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_chat_model_with_no_output.json @@ -13,16 +13,16 @@ "_dd.llmobs.model_provider": "openai-chat", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de495e00000000", + "_dd.p.tid": "69f4c23f00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "error.message": "Request timed out.", - "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n ^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1139, in __call__\n return self._mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1143, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1198, in _execute_mock_call\n raise effect\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n ^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1139, in __call__\n return self._mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1143, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1198, in _execute_mock_call\n raise effect\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n ^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1139, in __call__\n return self._mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1143, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1198, in _execute_mock_call\n raise effect\nhttpx.ReadTimeout: Request timed out.\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 153, in __next__\n chunk = self._self_stream_iter.__next__()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/langchain_core/language_models/chat_models.py\", line 522, in stream\n for chunk in self._stream(input_messages, stop=stop, **kwargs):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/langchain_openai/chat_models/base.py\", line 1094, in _stream\n response = self.client.create(**payload)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 1147, in create\n return self._post(\n ^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_11b0e127c98a1692/lib/python3.12/site-packages/openai/_base_client.py\", line 1000, in request\n raise APITimeoutError(request=request) from err\nopenai.APITimeoutError: Request timed out.\n", + "error.stack": "Traceback (most recent call last):\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n ^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1139, in __call__\n return self._mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1143, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1198, in _execute_mock_call\n raise effect\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n ^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1139, in __call__\n return self._mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1143, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1198, in _execute_mock_call\n raise effect\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/_base_client.py\", line 982, in request\n response = self._client.send(\n ^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1139, in __call__\n return self._mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1143, in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py\", line 1198, in _execute_mock_call\n raise effect\nhttpx.ReadTimeout: Request timed out.\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/bits/project/ddtrace/llmobs/_integrations/base_stream_handler.py\", line 153, in __next__\n chunk = self._self_stream_iter.__next__()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/langchain_core/language_models/chat_models.py\", line 249, in stream\n raise e\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/langchain_core/language_models/chat_models.py\", line 229, in stream\n for chunk in self._stream(messages, stop=stop, **kwargs):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/langchain_openai/chat_models/base.py\", line 480, in _stream\n with self.client.create(messages=message_dicts, **params) as response:\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/_utils/_utils.py\", line 286, in wrapper\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 1147, in create\n return self._post(\n ^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/_base_client.py\", line 1259, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/bits/project/.riot/venv_py31212_166aa1b5504780a5/lib/python3.12/site-packages/openai/_base_client.py\", line 1000, in request\n raise APITimeoutError(request=request) from err\nopenai.APITimeoutError: Request timed out.\n", "error.type": "openai.APITimeoutError", "langchain.request.model": "gpt-3.5-turbo", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -30,8 +30,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 1203984626, - "start": 1776885314310080011 + "duration": 1383575459, + "start": 1777648191559574421 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json index 20a6ebaf64e..cd8befc04ac 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_json_output_parser.json @@ -11,11 +11,11 @@ "meta": { "_dd.llmobs.span_kind": "workflow", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.stream": "True", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -23,10 +23,10 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 52358834, - "start": 1776885316553245262 + "duration": 69627708, + "start": 1777648190306658296 }, { "name": "langchain.request", @@ -38,6 +38,9 @@ "type": "", "error": 0, "meta": { + "_dd.llmobs.model_name": "gpt-4o", + "_dd.llmobs.model_provider": "openai-chat", + "_dd.llmobs.span_kind": "llm", "langchain.request.model": "gpt-4o", "langchain.request.provider": "openai-chat", "langchain.request.stream": "True" @@ -46,6 +49,6 @@ "_dd.llmobs.enabled": 0.0, "_dd.measured": 1.0 }, - "duration": 51101458, - "start": 1776885316553693596 + "duration": 65772959, + "start": 1777648190309266587 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json index aca012b3a7f..961c3fbb231 100644 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_streamed_llm.json @@ -13,13 +13,13 @@ "_dd.llmobs.model_provider": "openai", "_dd.llmobs.span_kind": "llm", "_dd.p.dm": "-0", - "_dd.p.tid": "69de496000000000", + "_dd.p.tid": "69f4c23e00000000", "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", "langchain.request.model": "gpt-3.5-turbo-instruct", "langchain.request.provider": "openai", "langchain.request.stream": "True", "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" + "runtime-id": "3debb88a7ed046bdb1fc7200cd9b8f55" }, "metrics": { "_dd.llmobs.enabled": 0.0, @@ -27,8 +27,8 @@ "_dd.top_level": 1.0, "_dd.tracer_kr": 1.0, "_sampling_priority_v1": 1.0, - "process_id": 488.0 + "process_id": 41082.0 }, - "duration": 25323833, - "start": 1776885311630609052 + "duration": 38762833, + "start": 1777648190718888421 }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json deleted file mode 100644 index 85f628a95a4..00000000000 --- a/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json +++ /dev/null @@ -1,84 +0,0 @@ -[[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.embeddings.base.OpenAIEmbeddings", - "trace_id": 0, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.llmobs.model_name": "text-embedding-ada-002", - "_dd.llmobs.model_provider": "openai", - "_dd.llmobs.span_kind": "embedding", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de49c500000000", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", - "langchain.request.model": "text-embedding-ada-002", - "langchain.request.provider": "openai", - "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" - }, - "metrics": { - "_dd.llmobs.enabled": 0.0, - "_dd.measured": 1.0, - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 488.0 - }, - "duration": 2072513251, - "start": 1776885309322221050 - }], -[ - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_core.vectorstores.in_memory.InMemoryVectorStore", - "trace_id": 1, - "span_id": 1, - "parent_id": 0, - "type": "", - "error": 0, - "meta": { - "_dd.llmobs.model_provider": "inmemoryvectorstore", - "_dd.llmobs.span_kind": "retrieval", - "_dd.p.dm": "-0", - "_dd.p.tid": "69de49c500000000", - "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", - "langchain.request.provider": "inmemoryvectorstore", - "language": "python", - "runtime-id": "d7ad066befb447f5b032e61e42823050" - }, - "metrics": { - "_dd.llmobs.enabled": 0.0, - "_dd.measured": 1.0, - "_dd.top_level": 1.0, - "_dd.tracer_kr": 1.0, - "_sampling_priority_v1": 1.0, - "process_id": 488.0 - }, - "duration": 4265750, - "start": 1776885311395511301 - }, - { - "name": "langchain.request", - "service": "tests.contrib.langchain", - "resource": "langchain_openai.embeddings.base.OpenAIEmbeddings", - "trace_id": 1, - "span_id": 2, - "parent_id": 1, - "type": "", - "error": 0, - "meta": { - "langchain.request.model": "text-embedding-ada-002", - "langchain.request.provider": "openai" - }, - "metrics": { - "_dd.llmobs.enabled": 0.0, - "_dd.measured": 1.0 - }, - "duration": 2871208, - "start": 1776885311395609968 - }]] From 13011bd251bfc59705bf72102f9e6193219afa75 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 1 May 2026 09:42:16 -0700 Subject: [PATCH 110/114] missing snaps --- ....test_openai_chat_model_sync_generate.json | 36 ++++++++ ...in.test_vectorstore_similarity_search.json | 87 +++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json create mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json new file mode 100644 index 00000000000..6a7fa7a7ed9 --- /dev/null +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_sync_generate.json @@ -0,0 +1,36 @@ +[[ + { + "name": "langchain.request", + "service": "tests.contrib.langchain", + "resource": "langchain_openai.chat_models.base.ChatOpenAI", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.llmobs.model_name": "gpt-3.5-turbo", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "llm", + "_dd.p.dm": "-0", + "_dd.p.tid": "69f4d7de00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", + "langchain.request.model": "gpt-3.5-turbo", + "langchain.request.provider": "openai", + "language": "python", + "runtime-id": "19c98f1fc71d41fe9092c1298da274b7" + }, + "metrics": { + "_dd.llmobs.enabled": 0.0, + "_dd.llmobs.input_tokens": 60.0, + "_dd.llmobs.output_tokens": 152.0, + "_dd.llmobs.total_tokens": 212.0, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 46402.0 + }, + "duration": 33121542, + "start": 1777653726870596213 + }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json new file mode 100644 index 00000000000..218e9a4df4c --- /dev/null +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_vectorstore_similarity_search.json @@ -0,0 +1,87 @@ +[[ + { + "name": "langchain.request", + "service": "tests.contrib.langchain", + "resource": "langchain_openai.embeddings.base.OpenAIEmbeddings", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.llmobs.model_name": "text-embedding-ada-002", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "embedding", + "_dd.p.dm": "-0", + "_dd.p.tid": "69f4d7cd00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", + "langchain.request.model": "text-embedding-ada-002", + "langchain.request.provider": "openai", + "language": "python", + "runtime-id": "4299e3e8df5f4a5392e35ba70817f6eb" + }, + "metrics": { + "_dd.llmobs.enabled": 0.0, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 45362.0 + }, + "duration": 4831875, + "start": 1777653709489907594 + }], +[ + { + "name": "langchain.request", + "service": "tests.contrib.langchain", + "resource": "langchain_core.vectorstores.in_memory.InMemoryVectorStore", + "trace_id": 1, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.llmobs.model_provider": "inmemoryvectorstore", + "_dd.llmobs.span_kind": "retrieval", + "_dd.p.dm": "-0", + "_dd.p.tid": "69f4d7cd00000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", + "langchain.request.provider": "inmemoryvectorstore", + "language": "python", + "runtime-id": "4299e3e8df5f4a5392e35ba70817f6eb" + }, + "metrics": { + "_dd.llmobs.enabled": 0.0, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 45362.0 + }, + "duration": 4333750, + "start": 1777653709495597094 + }, + { + "name": "langchain.request", + "service": "tests.contrib.langchain", + "resource": "langchain_openai.embeddings.base.OpenAIEmbeddings", + "trace_id": 1, + "span_id": 2, + "parent_id": 1, + "type": "", + "error": 0, + "meta": { + "_dd.llmobs.model_name": "text-embedding-ada-002", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "embedding", + "langchain.request.model": "text-embedding-ada-002", + "langchain.request.provider": "openai" + }, + "metrics": { + "_dd.llmobs.enabled": 0.0, + "_dd.measured": 1.0 + }, + "duration": 3714917, + "start": 1777653709495709552 + }]] From e925f28ef18ea594b46e643ed4483d4855219220 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 1 May 2026 10:12:43 -0700 Subject: [PATCH 111/114] cache default services --- ddtrace/internal/settings/_config.py | 18 ++++++++++++++++++ tests/tracer/test_global_config.py | 20 ++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/ddtrace/internal/settings/_config.py b/ddtrace/internal/settings/_config.py index 6d50ce39161..e9f5b38d50a 100644 --- a/ddtrace/internal/settings/_config.py +++ b/ddtrace/internal/settings/_config.py @@ -208,6 +208,14 @@ } ) +def _integration_default_service_names_from_config(int_config: IntegrationConfig) -> set[str]: + """Collect non-empty ``str`` values for keys such as ``_default_service`` or ``_default_service_worker``.""" + names: set[str] = set() + for key, value in int_config.items(): + if isinstance(key, str) and key.startswith("_default_service") and isinstance(value, str) and value: + names.add(value) + return names + def _parse_propagation_styles(styles_str: str) -> Optional[list[str]]: """Helper to parse http propagation extract/inject styles via env variables. @@ -447,6 +455,8 @@ def __init__(self) -> None: # Use a dict as underlying storing mechanism for integration configs self._integration_configs: dict[str, IntegrationConfig] = {} + # Union of `_default_service*` string values from integrations registered via `_add`. + self._integration_default_services: frozenset[str] = frozenset() self._debug_mode = _get_config("DD_TRACE_DEBUG", False, asbool, "OTEL_LOG_LEVEL") self._startup_logs_enabled = _get_config("DD_TRACE_STARTUP_LOGS", False, asbool) @@ -772,6 +782,12 @@ def _get_extra_services(self) -> set[str]: self._extra_services.pop() return self._extra_services + def _recompute_integration_default_services(self) -> None: + names: set[str] = set() + for int_conf in self._integration_configs.values(): + names.update(_integration_default_service_names_from_config(int_conf)) + self._integration_default_services = frozenset(names) + def _add(self, integration, settings, merge=True): """Internal API that registers an integration with given default settings. @@ -809,6 +825,8 @@ def _add(self, integration, settings, merge=True): else: self._integration_configs[integration] = IntegrationConfig(self, integration, settings) + self._recompute_integration_default_services() + @cachedmethod() def _header_tag_name(self, header_name: str) -> Optional[str]: return self._http._header_tag_name(header_name) diff --git a/tests/tracer/test_global_config.py b/tests/tracer/test_global_config.py index 5e56dfc943f..817bddba73f 100644 --- a/tests/tracer/test_global_config.py +++ b/tests/tracer/test_global_config.py @@ -4,6 +4,7 @@ from ddtrace import config as global_config from ddtrace.internal.settings._config import Config +from ddtrace.internal.settings._config import _integration_default_service_names_from_config from ddtrace.internal.settings.integration import IntegrationConfig from ..utils import override_env @@ -16,6 +17,25 @@ def setUp(self): self.config = Config() self.config.web = IntegrationConfig(self.config, "web") + def test_integration_default_service_names_from_config(self): + ic = IntegrationConfig(self.config, "celery") + ic["_default_service_worker"] = "worker-svc" + ic["_default_service_producer"] = "producer-svc" + assert _integration_default_service_names_from_config(ic) == {"worker-svc", "producer-svc"} + + def test_integration_default_services_updates_on_singleton_add(self): + from ddtrace.internal.settings import _config as cfg_mod + + unique = "ddtrace-global-config-test-default-service-name" + cfg_mod.config._add("structlog", {"_default_service": unique}) + assert unique in cfg_mod.config._integration_default_services + + def test_integration_default_services_updates_on_instance_add(self): + unique = "ddtrace-isolated-config-test-default-service-name" + assert unique not in self.config._integration_default_services + self.config._add("structlog", {"_default_service": unique}) + assert unique in self.config._integration_default_services + def test_registration(self): # ensure an integration can register a new list of settings settings = { From 09a11dbc52e445ed2296404e2e9f5cceafcb9151 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 1 May 2026 10:19:26 -0700 Subject: [PATCH 112/114] lint --- ddtrace/internal/settings/_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ddtrace/internal/settings/_config.py b/ddtrace/internal/settings/_config.py index e9f5b38d50a..0b3cb043305 100644 --- a/ddtrace/internal/settings/_config.py +++ b/ddtrace/internal/settings/_config.py @@ -208,6 +208,7 @@ } ) + def _integration_default_service_names_from_config(int_config: IntegrationConfig) -> set[str]: """Collect non-empty ``str`` values for keys such as ``_default_service`` or ``_default_service_worker``.""" names: set[str] = set() From 34aa763ba0be2933cd88c20b5c570feb7b43f3d9 Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 1 May 2026 10:23:03 -0700 Subject: [PATCH 113/114] use cached list --- ddtrace/_trace/tracer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ddtrace/_trace/tracer.py b/ddtrace/_trace/tracer.py index 2e7a923c44b..ee962550eb7 100644 --- a/ddtrace/_trace/tracer.py +++ b/ddtrace/_trace/tracer.py @@ -512,9 +512,7 @@ def start_span( else: service = config.service else: - if service in [ - getattr(conf, "_default_service", None) for conf in config._integration_configs.values() if conf - ]: + if service in config._integration_default_services: service_source = service else: service_source = "m" From cb5956de2134992fd97dd118c5a8271f1c2707dc Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 1 May 2026 11:02:42 -0700 Subject: [PATCH 114/114] limit allowed default service keys --- ddtrace/internal/settings/_config.py | 6 ++-- ...gchain.test_lcel_with_tools_anthropic.json | 33 +++++++++++++++++ ...test_openai_chat_model_async_generate.json | 36 +++++++++++++++++++ 3 files changed, 72 insertions(+), 3 deletions(-) create mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json create mode 100644 tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json diff --git a/ddtrace/internal/settings/_config.py b/ddtrace/internal/settings/_config.py index 0b3cb043305..c67a75bd531 100644 --- a/ddtrace/internal/settings/_config.py +++ b/ddtrace/internal/settings/_config.py @@ -48,6 +48,7 @@ log = get_logger(__name__) ENDPOINT_FETCHED_CONFIG = fetch_config_from_endpoint() +DEFAULT_SERVICE_KEYS = frozenset(["_default_service", "_default_service_worker", "_default_service_producer"]) DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP_DEFAULT = ( r"(?ix)" @@ -210,10 +211,9 @@ def _integration_default_service_names_from_config(int_config: IntegrationConfig) -> set[str]: - """Collect non-empty ``str`` values for keys such as ``_default_service`` or ``_default_service_worker``.""" names: set[str] = set() - for key, value in int_config.items(): - if isinstance(key, str) and key.startswith("_default_service") and isinstance(value, str) and value: + for attribute in DEFAULT_SERVICE_KEYS: + if value := int_config.get(attribute): names.add(value) return names diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json new file mode 100644 index 00000000000..bc3d78d8e5a --- /dev/null +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_lcel_with_tools_anthropic.json @@ -0,0 +1,33 @@ +[[ + { + "name": "langchain.request", + "service": "tests.contrib.langchain", + "resource": "langchain_anthropic.chat_models.ChatAnthropic", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.llmobs.model_name": "claude-sonnet-4-5-20250929", + "_dd.llmobs.model_provider": "anthropic", + "_dd.llmobs.span_kind": "llm", + "_dd.p.dm": "-0", + "_dd.p.tid": "69f4e71000000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", + "langchain.request.model": "claude-sonnet-4-5-20250929", + "langchain.request.provider": "anthropic", + "language": "python", + "runtime-id": "4e25b464197040e8a04da8a4bd075a09" + }, + "metrics": { + "_dd.llmobs.enabled": 0.0, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 91674.0 + }, + "duration": 56911542, + "start": 1777657616538871875 + }]] diff --git a/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json new file mode 100644 index 00000000000..8bacf17db19 --- /dev/null +++ b/tests/snapshots/tests.contrib.langchain.test_langchain.test_openai_chat_model_async_generate.json @@ -0,0 +1,36 @@ +[[ + { + "name": "langchain.request", + "service": "tests.contrib.langchain", + "resource": "langchain_openai.chat_models.base.ChatOpenAI", + "trace_id": 0, + "span_id": 1, + "parent_id": 0, + "type": "", + "error": 0, + "meta": { + "_dd.llmobs.model_name": "gpt-3.5-turbo", + "_dd.llmobs.model_provider": "openai", + "_dd.llmobs.span_kind": "llm", + "_dd.p.dm": "-0", + "_dd.p.tid": "69f4e8a000000000", + "_dd.tags.process": "entrypoint.name:pytest,entrypoint.type:script,entrypoint.workdir:project,svc.auto:tests.contrib.langchain", + "langchain.request.model": "gpt-3.5-turbo", + "langchain.request.provider": "openai", + "language": "python", + "runtime-id": "3fddd6fe2f70487e89925a2b2119249b" + }, + "metrics": { + "_dd.llmobs.enabled": 0.0, + "_dd.llmobs.input_tokens": 60.0, + "_dd.llmobs.output_tokens": 152.0, + "_dd.llmobs.total_tokens": 212.0, + "_dd.measured": 1.0, + "_dd.top_level": 1.0, + "_dd.tracer_kr": 1.0, + "_sampling_priority_v1": 1.0, + "process_id": 25663.0 + }, + "duration": 35909750, + "start": 1777658016137161047 + }]]